Hello.
I'm trying to plot 5 trajectories corresponding to Theta = 0.4, 0.6, pi/4, 1.0, 1.2 Where the given functions areVx=V*Cos(theta)Vy=V*Sin(theta)-9.8
Here is my Mfile, don't think I'm right.
%Question 1 - plotting five trajectories corresponding to
% Theta = 0.4, 0.6, pi/4, 1.0, 1.2
clc;clear;x = 0.001:6*piV = 120theta = ([0.4 0.6 pi/4 1.0 1.2])steps=size(x,2);Vo = 0:0.01:6*pi;Vx = V*Cos(theta)Vy = V*Sin(theta) - 9.8% Graph of Vx*Cos(theta)
plot(Vo,Vx,'-b','Linewidth',2)grid onhold on% Graph of Vo*Sin(theta) - 9.8
plot(Vo,Vy,'-r','Linewidth',2)hold off
Thanks for the help
Best Answer