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

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter1: Fundamentals Of C++ Programming
Section: Chapter Questions
Problem 2PP: (Conversion) An object’s polar moment of inertia, J, represents its resistance to twisting. For a...
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr