true airspeed of different level

6 views (last 30 days)
How can I plot a graph using the m-file function ?
The true airspeed of an aircraft in straight and level flight is given by ? = Sqrt(2?? /????) where ? – true airspeed ? – aircraft mass ? – acceleration due to gravity ? – air density ? – wing surface area ?? – coefficient of lift
Which the mass is 1204, the acceleration of gravity is 9.81, the air density is 1.0587 and 0.8198, the wing surface area is 12.203 adn the coefficient of lift is 0.6 ≤ ?? ≤ 1.4.
  1 Comment
Star Strider
Star Strider on 15 Feb 2020
Use the linspace function to create the ‘CL’ vector. The rest is straightforward.

Sign in to comment.

Accepted Answer

David Hill
David Hill on 15 Feb 2020
I am not sure if this is what you are looking for.
g=9.81;
d=[1.0587,.8198];
S=12.203;
m=1204;
cl=linspace(.6,1.4,20);
hold on
for p=d
V=sqrt(2*m*g/p/S./cl);
plot(cl,V)
end
  1 Comment
Star Strider
Star Strider on 15 Feb 2020
It is not appropriate to provide complete code for homework problems.

Sign in to comment.

More Answers (0)

Categories

Find more on Guidance, Navigation, and Control (GNC) in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!