Question: Write a program that will calculate the trajectory of a golf ball thrown with a velocity of 25.6 m/s at an angle of 0
Write a program that will calculate the trajectory of a golf ball thrown with a velocity of 25.6 m/s at an angle of 0 = 35 relative to the horizontal, from a hill that is 2.1 meters above the ground level. The golf ball is thrown opposite to a tree located at the ground level 1.35 meters away from the golfer. Calculate the ball's x (x = xo+ vo*cos0*t) and y (y = yo+vo*sino*t- g*/2) positions at every 0.1 seconds after the throw until the ball reaches the ground (1-0). Use float variable type for floating-point numbers and print the output to a file. Plot the golf ball trajectory (using Excel). From the output data, estimate the approximate time when the golf ball hits the ground level and its distance from the tree.
Step by Step Solution
There are 3 Steps involved in it
Here is a Python program that calculates the trajectory of a golf ball based on the given context im... View full answer
Get step-by-step solutions from verified subject matter experts
