1. The flight path of a projectile isdependent on the angle (q) that it is fired
ID: 3615683 • Letter: 1
Question
1. The flight path of a projectile isdependent on the angle (q) that it is fired. This path can beseparated into a horizontal and vertical distance as a function oftime.
horizontal distance(t) =t * Vo * cos(q)
vertical distance(t) = t * Vo * sin(q) – ½gt2
where Vo is the initial velocity, g is the acceleration due togravity (9.8 m/s2), and t is time in seconds.
Using the subplot command, plot the following 4 plots in onefigure:
Explanation / Answer
>> t = 0:0.001:30;>> V0 = 100;>> angle = 45;>> g = 9.8;>> theta = angle*(pi/180);>> plot1 = t * V0 * cos(theta);>> plot2 = t * V0 * sin(theta) - (g/2) * t.^2;>> subplot(4,1,1)>> plot(t, plot1);>> xlabel('Time (sec)')>> ylabel('Distance (m)')>> title('Horizontal Distance')>> subplot(4,1,2)>> plot(t, plot2);>> xlabel('Time (sec)')>> ylabel('Distance (m)')>> title('Vertical Distance')>> subplot(4,1,3)...
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.