plz help me The position as a function of time xt yt y of a
plz help me......!
The position as a function of time (x(t), y(t)) y, of a projectile fired with a speed of v_0 at an angle alpha is given by x(t) - v_0 cos alpha t y(t) = v_0sin alpha. t-1/2gt^2 where g = 9.81 m/s^2. The polar coordinates of the projectile at time t are (r(t).Theta(t)), where r(t) = Squareroot x(t)^2 + y(t)^2 and tan theta (t) = y(t)/x(t).Consider the case wherev_0 = 162 m/s and alpha = 70degree Determine r(t) and Theta(t) for t = 1, 6, 11....., 31s.Solution
%start the script
G=9.81;
V0=162;
Alpha=70;
T=1:5:31
T= columns 1 through 6
1 6 11 16 21 26
Column 7
31
X _t=VO *cosd (alpha)*t;
Y_t= (VO*Sind (alpha)*t)-((1/2)*g*(t. ^2));
R_t=sqrt ((c_ t. ^2) + (y_ t. ^2))
R_t=
1.0e+03*
Columns 1 through 3
0.1574 0.8083 1.2410
Columns 4 through 6
1.4759 1.5564 1.5773
Column 7
1.7176
Thete_t=atand((y_t)./(x_t))
Theta_t=
Columns 1 through 3
69.3893 65.7152 60.5858
Colums 4 through 6
53.0831 41.6187 24.0270
Column 7
01812
Mat lab output:
R_t=1.0e+003*
0.1574 0.8083 1.2410 1.4759 1.5564 1.5773 1.7176
Theta_t=
69.3893 65.7152 60.5858 53.0831 41.6187 24.0270 0.1812

