Question: MEPV 1 0 2 Practical Example 3 . 7 - Ball Trajectory The height of a ball at any given time is given as: y

MEPV102 Practical Example 3.7- Ball Trajectory
The height of a ball at any given time is given as:
y(t)=y0+Vy0t+12gt2
where
y0= Initial height of the object from the ground,
Vy0= Initial vertical velocity of the object
g= gravitational acceleration
The horizontal distance travelled by the ball as a function of time after it has been thrown:
x(t)=x0+Vx0t
where
x0= Initial horizontal position of the ball on the ground,
Vx0= Initial horizontal velocity of the ball
If the ball is thrown with an initial velocity V0, and at angle , then the horizontal and vertical
components are:
Vx0=V0Cos
Vy0=V0Sin
Assume that the ball is initially thrown from a position (x0,y0)=(0,0) with an initial velocity V0 of 20
metres per second at an initial angle of degrees. Write a program that will plot the trajectory of
the ball and also determine the horizontal distance travelled before it touches the ground again. The
program should plot the trajectories of the ball for all angles from 5 to 85 in steps of 10, and it
should determine the horizontal distance travelled for all angles from 0 to 90 in steps of 1. Finally
it should determine the angle that maximizes the range of the ball and plot that particular
trajectory in a different colour with a thicker line.
MEPV 1 0 2 Practical Example 3 . 7 - Ball

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 Finance Questions!