Question: please do it in matlab and please make it simple as it's a simple function i'm just confused on printing the output Problem 2: Projectiles
please do it in matlab and please make it simple as it's a simple function i'm just confused on printing the output
Problem 2: Projectiles A projectile is launched from point (x,y) = (0,100) - at a height of 100m from origin 0(0,0) at with velocity, v= 10 m/s at an angle 01 = 30 degrees. Calculate its x and y coordinate after ti = 1 and t2 = 3 seconds. Using the relations, convert them into function - [x y] = trajectory(x0, yo, v, t, theta) x = lo +v* cos(@) *t y = yo + v* sin(0) - 0.5*g*t; (1) Print output in a tabular form (field width = 8, precision = 1, left-aligned) t 1.0 3.0 X ... ... y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
