Question: 4. For a ball falling with an initial velocity v, from the height ho, the position and velocity as a function of time are given

4. For a ball falling with an initial velocity v, from the height ho, the position and velocity as a function of time are given by 1 h(t) = 2gt? + vot+ ho = v(t) = gt + vo Where g is the gravitational acceleration (-9.81 m/s), h is the height above surface, and v is the velocity. Write a Matlab program that prompts the user for the initial height and initial velocity of the ball, and plots the height and velocity as a function of time on a single graph. Include proper labels for the plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
