The trajectory of an object can be modeled as where y = height (m), 0 =

Question:

The trajectory of an object can be modeled as

where y = height (m), θ0 = initial angle (radians), x = horizontal distance (m), g = gravitational acceleration (= 9.81 m/s2), v0 = initial velocity (m/s), and y0 = initial height. Use MATLAB to find the trajectories for y0 = 0 and ν0 = 28 m/s for initial angles ranging from 15 to 75° in increments of 15°. Employ a range of horizontal distances from x = 0 to 80 m in increments of 5m. The results should be assembled in an array where the first dimension (rows) corresponds to the distances, and the second dimension (columns) corresponds to the different initial angles. Use this matrix to generate a single plot of the heights versus horizontal distances for each of the initial angles. Employ a legend to distinguish among the different cases, and scale the plot so that the minimum height is zero using the axis command.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: