رد: الماتلاب: توفير مساعده قدر المستطاع مجاناً للطلاب MATLAB - Simulink
السؤال الثاني :
Q#2. The terminal velocity of skydiver depends on many factors, including their weight,
their body position as they fall, the density of air, the terminal velocity (Vt) is given by:
vt=2mg/raؤ
Where m is skydivers mass, g=9.8m/sec2 , A= 0.75 for a moderate person, r=1.2 the
atmospheric density, and Cd =1 is the Skydivers coefficient of drag.
(a) Write a MATLAB user defined function that accept m to compute Vt
(b) Write a MATLAB program that prompts the user to enter the values of m, by using the
function you defined in part (a). (ask the user to enter value > 40Kg)
(c) Plot Vt for the range of m=[40:0.1:the user prompt input], label the x-axis "Skydiver
Mass in Kg", and y- axis "Terminal Velocity Vt in m/s"
(d) Use the function you defined in part (a) in order to find minimum Vt in the range of m
between 50 to 500Kg.
|