Question: Redo the problem in Lab Assignment 3A #2 part c with the following modifications: This time create a matrix theta of the three angles. Use

Redo the problem in Lab Assignment 3A #2 part c with the following modifications: This time create a matrix theta of the three angles. Use the meshgrid function to create a mesh of theta and the time vector (t) then use the two new meshed variables you create to recalculate vertical distance (v) and horizontal distance (h) traveled. Each of your results should be a 21 x 3 matrix. Use the plot command to plot h on the x-axis and v on the y-axis.

Assignment 3A #2 part c:

2. The distance a projectile travels when fired at an angle ? is a function of time and can be divided into horizontal and vertical distances : Ht = t Redo the problem in Lab Assignment 3A #2 part c with the Vo following modifications: This time create a matrix theta of the three angles. cos(?) Vt = t Use the meshgrid function to create a mesh of theta and the Vo time vector (t) then use the two new meshed variables you create sin(?) gt^2 where: Ht is the distance traveled in the x direction Vt is the distance traveled in the y direction Vo is the initial velocity g is the acceleration due to gravity, 9.8m/s2 t is the time

c. Calculate new vectors for the vertical (v1, v2, v3 ) and horizontal (h1 ,h2, h3) distance traveled, assuming launch angles of ?/3, ?/5, ?/7. In a new figure window, graph horizontal distance on the x-axis and vertical distance on the y-axis, for all three cases.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!