Answer on Question #47694-Physics-Computational Physics
A ball is thrown upward with an initial speed of from the edge of a high cliff. At the instant the ball is thrown, a woman starts running away from the base of the cliff with a constant speed of . The woman runs in a straight line on level ground, and air resistance acting on the ball can be ignored. (a) At what angle above the horizontal should the ball be thrown so that the runner will catch it just before it hits the ground? (b) How far does the woman run before she catches the ball?
Solution
(a) The woman runs with constant speed of . If the ball is thrown at angle above the horizontal, its horizontal component of speed is . This is also constant, because gravity only acts vertically.
The woman and the ball start from the same coordinate at the same time, and each travels with constant horizontal speed. If one of them is faster than the other, it will always be ahead, and will only get further ahead as time goes on. So she can only catch the ball if its horizontal speed is the same as her speed.
So we must have
(b) We can use the formula for the range of projectile:
import math
v2 = 20.0 # initial speed of the ball in m/s
alpha = math.radians(72.5) # angle in radians
g = 9.8 # acceleration due to gravity in m/s^2
h = 45.0 # height of the cliff in meters
# Calculate the range
d = (v2 * math.cos(alpha) / g) * (v2 * math.sin(alpha) + math.sqrt((v2 * math.sin(alpha))**2 + 2 * g * h))
print(d) # Output: 33.4 metershttp://www.AssignmentExpert.com/