In terms of angle of elevation θ and initial speed v:
giving the range as
This equation can be rearranged to find the angle for a required range
(Equation II: angle of projectile launch)
Note that the sine function is such that there are two solutions for θ for a given range dh. Physically, this corresponds to a direct shot versus a mortar shot up and over obstacles to the target. The angle θ giving the maximum range can be found by considering the derivative or R with respect to θ and setting it to zero.
which has a non trivial solutions at
. The maximum range is then
. At this angle sin(π / 2) = 1 so the maximum height obtained is
.
To find the angle giving the maximum height for a given speed calculate the derivative of the maximum height H = vsin(θ) / (2g) with respect to θ, that is
which is zero when
. So the maximum height 
is obtain when the projectile is fired straight up. The equation of the
trajectory of a projectile fired in uniform gravity in a vacuum on
Earth in Cartesian coordinates is
,
where v0 is the initial speed, h is the height the projectile is fired from, and g is the acceleration due to gravity).





