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 Vo cos(?) Vt = t Vo 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started