In matlab code Find the velocity of mars, earth, venus. In the descent phase of an extraterrestrial space mission, a spacecraft free falls through the planet's atmosphere. As it falls, it will reach a constant or terminal velocity when the air resistance force balances the gravitational attraction force. The terminal velocity is given by V₁ = where m is the spacecraft's mass [m], g is the acceleration due to gravity on the planet, p is the atmosphere's density [kg/m³), Cp is the spacecraft's drag coefficient, and A is the spacecraft's cross-sectional area (m²). 2mg PCDA a) Write a function named terminalVelocity which calculates the terminal velocity of an object. The function should . input m, g, P. Cp. and A . output the terminal velocity b) Write a program named q03.m which calculates the terminal velocity of a spacecraft at 10 km above the surface of various planets. The spacecraft's properties are m= 240 [kg], A= 15 [m²], and Cp=0.5. The program should use the gravity and terminal Velocity functions. Complete the following table: Planet Venus Density [kg/m] Vr (m/s) 67 Earth 0.413 Marsi 0.020 approximate atmospheric density at the surface Vr/Vrearth

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
In matlab code
Find the velocity of mars, earth, venus.
In the descent phase of an extraterrestrial space mission, a spacecraft free falls through the
planet's atmosphere. As it falls, it will reach a constant or terminal velocity when the air
resistance force balances the gravitational attraction force. The terminal velocity is given by
V₁ =
where m is the spacecraft's mass [m], g is the acceleration due to gravity on the planet, p is the
atmosphere's density [kg/m³], Cp is the spacecraft's drag coefficient, and A is the spacecraft's
cross-sectional area [m²].
a) Write a function named terminalVelocity which calculates the terminal velocity
an object. The function should
.
2mg
pCDA
input m, g, p, CD, and A
output the terminal velocity
b) Write a program named q03.m which calculates the terminal velocity of a spacecraft at
10 km above the surface of various planets. The spacecraft's properties are m = 240
[kg], A= 15 [m²], and Cp = 0.5. The program should use the gravity and
terminal Velocity functions. Complete the following table:
.
Density [kg/m]
Planet
Venus
67"
Earth
0.413
Mars
0.020*
approximate atmospheric density at the surface i
Vr (m/s)
VT/VT.earth
Transcribed Image Text:In matlab code Find the velocity of mars, earth, venus. In the descent phase of an extraterrestrial space mission, a spacecraft free falls through the planet's atmosphere. As it falls, it will reach a constant or terminal velocity when the air resistance force balances the gravitational attraction force. The terminal velocity is given by V₁ = where m is the spacecraft's mass [m], g is the acceleration due to gravity on the planet, p is the atmosphere's density [kg/m³], Cp is the spacecraft's drag coefficient, and A is the spacecraft's cross-sectional area [m²]. a) Write a function named terminalVelocity which calculates the terminal velocity an object. The function should . 2mg pCDA input m, g, p, CD, and A output the terminal velocity b) Write a program named q03.m which calculates the terminal velocity of a spacecraft at 10 km above the surface of various planets. The spacecraft's properties are m = 240 [kg], A= 15 [m²], and Cp = 0.5. The program should use the gravity and terminal Velocity functions. Complete the following table: . Density [kg/m] Planet Venus 67" Earth 0.413 Mars 0.020* approximate atmospheric density at the surface i Vr (m/s) VT/VT.earth
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Concept of Parenthesis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education