Question: Do not ask for user input, we will do this again in Module 4. Use a initial height of 1.8 meters and an initial velocity
Do not ask for user input, we will do this again in Module 4. Use a initial height of 1.8 meters and an initial velocity of 20 m/s. It is up to you to determine sufficient range for time t, so that the plot looks nice and makes sense. For the plot use the following statements [t is time, h is seconds, v is velocity].
Use the following plot command: plot ( t, h, t, v) , grid
From the graph determine the approximate time at which the maximum height is reached. From the graph determine the approximate time when the ball hits the ground? What does it mean when the velocity goes from positive to negative? Put the answers to these questions in your comments. Do not suppress anything in this script file.
1 Do not ask for user input. Use the values given in the problem as input. Do not suppress anything in this script file.
2 Do not ask for user input. Use the value of 3 given in the program to compare the equation value with the Matlab cosh fn value. Then for the plot of cosh x, define x as x = -5 : 0.5 : 5, ie use an increment of 0.5 within the range -5 to 5 inclusive. Do not suppress anything in this script file.
Please use MATLAB R2019a to solve the problem!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
