Question: Please solve the problem with matlab and then either take a screenshot of the code or type the code. PROBLEM 3. USING GINPUT The distance
Please solve the problem with matlab and then either take a screenshot of the code or type the code.

PROBLEM 3. USING GINPUT The distance traveled by a projectile in the horizontal (H) and vertical (Y) directions are given as: H (V ) cos(theta) Yit ( V ) sin(theta)- ( g ) t2 v= 75m/s theta = 40 degree angle of launch g= 9.8 m/s2 t= 0t0 10 sec initial velocity Make a plot of H (x axis) vs Y (y axis). Label the plot (title and axes) and turn on the grid. Use the ginput function to determine the maximum height reached (click on the highest point of the curve) and the horizontal distance travelled by the projectile before it hits the ground (click on the point where the curve crosses y=0). Display the maximum height and maximum distance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
