The airplane show is flying at a constant speed of v 50m/a in a circular path of
ID: 2080852 • Letter: T
Question
The airplane show is flying at a constant speed of v 50m/a in a circular path of radius p 2000m and is being tracked by a radar station need a below the bottom of the plane path (point M), the airplane at 0, and the angle a function of time is given (in by t Write a MATLAB program that calculates 0 and r as functions of time. the program should first determine the time at which Then construct a vector t having 15 elements over the interval sots too. and calculate 0 and r at each the program should print the values h, and followed where time. 0 in degrees, and the third is the corresponding by a 15 table the is t, the second is the angle value of r.Explanation / Answer
MATLAB code:
v=50;
rho=2000;
h=500;
t_90=pi*rho/(2*v);
t=linspace(0,t_90,15);
alpha=v*t/rho;
r=sqrt(rho^2 + (h+rho)^2 - 2*rho*(rho+h)*cos(alpha));
theta=90-asind(rho*sin(alpha)./r);
tbl=[t;theta;r];
fprintf(' Time Tracking Distance ')
fprintf(' (s) Angle (deg) (m) ')
fprintf(' %4.1f %4.1f %6.1f ',tbl)
MATLAB output:
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.