You throw a ball over a flat field as hard as you can. Easy: what upward angle maximizes the distance away that the ball lands? Harder: what upward angle maximizes the distance that the ball travels?
This is a basic dynamics problem where details like wind resistance and the curvature of the earth are meant to be ignored. Suppose you throw the ball with an initial speed at an initial angle above the horizontal. This gives it an initial upward component of velocity and an unchanging forward component of velocity of . The vertical velocity is reduced by the acceleration due to gravity; that is and therefore .
Due to conservation of energy, the ball reaches the ground at the same speed, but downward, that it had when you threw it. So if the final time is t=F, so .
Since it travels the same horizontal speed at all times, to compute the distance A away from you where the ball lands, you simply need to multiply the time it is in the air times the horizontal velocity. Thus maximize . which is zero when cos(2 theta) is zero at .
The distance traveled D is a bit harder to compute. This is the integral of the full speed S (considering both components of the velocity) from 0 to F. .
Since , this reduces to . Then the distance traveled is . How do you integrate this?
The Standard Math Tables provide a solution. Let , , , , and . Then , and , then .
The math tables also provide a solution for the new integral. Actually, it provides three of them, but the one that fits best here, for as it is in this case, is .
Substituting in the variables from the problem, . Then we need to evaluate this at and 0. Remember from above that .
The arrangement inside the logarithm suggests the application of trig identities. Multiply numerator and denominator by , leading to .
The angle at which the maximum in the distance occurs is then the solution of
This can be solved numerically, to find is about 0.985515 radians or 56.4658 degrees. And . Compare this with the distance at the 45 degree angle throw, where .