<p><span style=\"font-family: Cambria;\"> Write a matlab function [x y] = my_tra
ID: 3638363 • Letter: #
Question
<p><span> Write a matlab function [x y] = my_trajectory(t,v0,x0,thet0) whick plots the trajectory y vs x where x and y are parameterized by the time vector t.  v0 = 200m/s, x0 = 0, thet0 = 45deg and t = [0:.25;20].  mass = 50kg and drag coeff (c) = 6 kg/sec., g =9.8m/s^2.    x(t) and y(t) is given by the equations below</span></p><p><span>     </span></p>
<p><span><span>
<p>x = ((m/c)*v0*cos(thet))*(1-exp(-c*t/m)) + x0</p>
<br />
<p>y = (-m*g*t/c) + m/c*((m*g/c + v0*sin(thet)))*(1-exp(-c*t/m))</p>
</span></span></p>
<p><span>                                                                                                                                                                                                                                                                                                                                                                                                               </span></p>