Max horizontal distance wrt variable angle

AI Thread Summary
The discussion focuses on determining the optimal angle for maximizing the horizontal distance a ball travels when thrown from a height. The analysis begins by establishing the equations of motion for both horizontal and vertical components, considering the absence of air resistance. The time of flight is calculated in two parts: from launch to maximum height and from maximum height to landing. The total time of flight is then used to derive the horizontal distance formula, which becomes complex without simplification. The conversation emphasizes the need for careful differentiation to find the maximum distance, with participants suggesting methods to simplify the equations.
iamalexalright
Messages
157
Reaction score
0

Homework Statement


A ball is thrown with speed v from height h. What angle should it be thrown so it travels the maximum horizontal distance?

I'll assume the angle theta is the angle from the horizontal to the initial direction of the velocity.

Okay, since there is no air resistance we know:
x = x_{0} + v_{0x}t + \frac{1}{2}a_{x}t^{2}
since there is no acceleration in that direction, the distance the ball can reach would be:
x = v_{0}cos(\theta)t

Since, as it stands, x is a function of both t and theta I will use the vertical motion to find the time of flight as a function of theta and plug that into the above equation.

I think I have to do this in two parts (or maybe I've been working too hard and have confused myself).

Part1: from launch to maximum height (ie v_y = 0)
Part2: from maximum height to landing

Part1:
y = h + v_{0}sin(\theta)t - \frac{1}{2}gt^{2}
We don't know what the maximum height is but we can take the derivative to find at what time it occurs (and thus find it).
v_{y} = v_{0}sin(\theta) - gt
t_{1} = \frac{v_{0}sin(\theta)}{g}

Plugging this into the first equation of Part 1 yields:
y_{max} = h + \frac{1}{2g}v_{0}^{2}sin(\theta)^{2}

Part2:
y = y_{max} + v_{0}t - \frac{1}{2}gt^{2}
here v_0 is zero and y_final = 0
y_{max} = \frac{1}{2}gt^{2}
after some simplifying:
t_{2} = \frac{1}{g}\sqrt{2gh + v_{0}sin(\theta)^{2}}

So the total time of flight would be:
t = t_{1} + t_{2} = \frac{v_{0}sin(\theta) + \sqrt{2gh + v_{0}^{2}sin(\theta)^{2}}}{g}

plugging this into the equation for horizontal distance:
x = v_{0}cos(\theta)(\frac{v_{0}sin(\theta) + \sqrt{2gh + v_{0}^{2}sin(\theta)^{2}}}{g})

now, as a check, letting h = 0 we would get:
x = \frac{2v_{0}^{2}}{g}cos(\theta)sin(\theta)
which gives an angle of 45 degrees being optimal (as kinda expected).

Now, without that simplification that above expression is nasty and I can't find a way to simplify it or its derivative which leads me to believe I messed up earlier >.<
 
Physics news on Phys.org
hi alexa! :smile:

(have a theta: θ and a square-root: √ and try using the X2 and X2 icons just above the Reply box :wink:)
iamalexalright said:
I think I have to do this in two parts (or maybe I've been working too hard and have confused myself).

Part1: from launch to maximum height (ie v_y = 0)
Part2: from maximum height to landing

sorry, but yes you've been working too hard …

get some sleep! :zzz: …

then just go straight to solving the original equation to find t when y = 0 :wink:
 
Ha... maybe I could use a nap...

But I recover the same travel time (as I should) and I'm still left with something that I can't simplify.
 
show us your solution for y = 0, so that we can see what's going wrong :wink:
 
okay, I start here:
y = y_{0} + v_{0y}t - \frac{1}{2}gt^{2}
we know y = 0
y_0 = h
v_0y = v_0 sinθ
0 = h + v_{0}sin(\theta)t - \frac{1}{2}gt^{2}
I'll use the quadratic formula to find the roots:

t = \frac{1}{g}(v_{0}sin(\theta) + \sqrt(v_{0}^{2}sin{2}(\theta) + 2gh)
 
ok, now multiply by cosθ and find the maximum :wink:
 
well that's my issue! To find the maximum I'd have to take a derivative wrt theta, no?

x = \frac{1}{g}(v_{0}^{2}sin(\theta)cos(\theta) + v_{0}cos(\theta)\sqrt{2gh + v_{0}^{2}sin^{2}(\theta)}
 
yes! :rolleyes:

do it!
 
\frac{v_{0}^{2}}{g}cos(2x) + \frac{vsin(\theta)(v^{2}cos(2\theta) - 2gh)}{g\sqrt{2gh + v^{2}sin^{2}(\theta)}}

Setting it equal to zero and doing some simplifying:

cos(2\theta)\sqrt{2gh + v^{2}sin^{2}(\theta)} = 2ghsin(\theta) - v^{2}cos(2\theta)sin(\theta)

more simplifying doesn't seem to get me anywhere... although I just missed a sin in there, let me see what I can do now...
 
Back
Top