Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please include screenshots of the code. 7. A ball is traveling upward with an initial velocity of 100 m/s. The velocity is reducing at a
Please include screenshots of the code.
7. A ball is traveling upward with an initial velocity of 100 m/s. The velocity is reducing at a rate of 9.8 m/s/s. So the velocity is given by v--g t+0 and the position is given by y-0.5 *gt 2+v 0"t+y 0. The initial altitude of the ball is 10 meters. a. Create a velocity vector, a that contains the velocity of the ball at times [0 246810] seconds b. Create a position vector, aX that contains the velocity of the ball at times [0 246810] seconds c. Plot velocity and postion as functions of time on the same plot. Include a legend, plot title, and axis labels (with units) 8. The follow command is entered in MATLAB >>M-[4:-2:-4;1,2,3,4,5r3]; a. Determine the resulting matrix M b. Give the matlab command to store the second row of M in the r2 c. Give the command that will compute the number of rows and columns in M. Store the results as nr and nc. d. Give the command that will compute the dot product of the first and third row of M 9. The motion of a projectile fired from a cannon at an angle with initial velocity Vo is given by xxo vo cos(6) t Given g-9.8 m/s/s, yo -1 m, vo 100 m/s, produce 5 plots for angles [15:15:85] degrees. The vertical access should indicate the y value, and the horizontal access should indicate the x value for each point. Each plot should stop once the y value is less than zero. Use different symbols for each plot. Include a legend and axis labelsStep 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