Question: C++ program needed ! Thanx 3. The Flight of a Ball: If we assume negligible air friction and the curvature of the Earth, a ball
C++ program needed ! Thanx

3. The Flight of a Ball: If we assume negligible air friction and the curvature of the Earth, a ball that is thrown into air from any point on the Earth's surface will follow a parabolic fight path. The height of the ball at any time t after it is thrown is given by: where 30 is the initial height of the ball, vv.-ao sin is the initial velocity of the ball along y or vertical direction, and g is the acceleration due to gravity. The horizontal tance (range) travelled by the obi x(t) = Zo + vrot where 20 is the initial horizontal position and ta,-vo cos is the initial velocity of the ball along x or horizontal direction. Assume, that the intial velocity to = 20 m/s at an initial angle . Calculate the values of range and height for angle between 0 and 90 in steps of 5. Determine the angle that will result in maximum range for the bal. Plot the trajectory of the path for different angles in different colors. 3. The Flight of a Ball: If we assume negligible air friction and the curvature of the Earth, a ball that is thrown into air from any point on the Earth's surface will follow a parabolic fight path. The height of the ball at any time t after it is thrown is given by: where 30 is the initial height of the ball, vv.-ao sin is the initial velocity of the ball along y or vertical direction, and g is the acceleration due to gravity. The horizontal tance (range) travelled by the obi x(t) = Zo + vrot where 20 is the initial horizontal position and ta,-vo cos is the initial velocity of the ball along x or horizontal direction. Assume, that the intial velocity to = 20 m/s at an initial angle . Calculate the values of range and height for angle between 0 and 90 in steps of 5. Determine the angle that will result in maximum range for the bal. Plot the trajectory of the path for different angles in different colors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
