# Range of a projectile

The path of this projectile launched from a height y0 has a range d.

In physics, assuming a flat Earth with a uniform gravity field, and no air resistance, a projectile launched with specific initial conditions will have a predictable range.

The following applies for ranges which are small compared to the size of the Earth. For longer ranges see sub-orbital spaceflight.

• g: the gravitational acceleration—usually taken to be 9.81 m/s2 (32 f/s2) near the Earth's surface
• θ: the angle at which the projectile is launched
• v: the velocity at which the projectile is launched
• y0: the initial height of the projectile
• d: the total horizontal distance travelled by the projectile

When neglecting air resistance, the range of a projectile will be

$d = \frac{v \cos \theta}{g} \left( v \sin \theta + \sqrt{v^2 \sin^2 \theta + 2gy_0} \right)$

If (y0) is taken to be zero, meaning the object is being launched on flat ground, the range of the projectile will then simplify to

$d = \frac{v^2 \sin 2 \theta}{g}$

## Ideal projectile motion

Ideal projectile motion states that there is no air resistance and no change in gravitational acceleration. This assumption simplifies the mathematics greatly, and is a close approximation of actual projectile motion in cases where the distances travelled are small. Ideal projectile motion is also a good introduction to the topic before adding the complications of air resistance.

### Derivations

45 degrees goes the farthest.

#### Flat ground

Range of a projectile (in vacuum).

First we examine the case where (y0) is zero. The horizontal position of the projectile is

$x(t) = v t \cos \theta$

In the vertical direction

$y(t) = v t \sin \theta - \frac{1} {2} g t^2$

We are interested in the time when the projectile returns to the same height it originated at, thus

$y = v t \sin \theta - \frac{1} {2} g t^2$

By factoring:

$t = 0$

or

$t = \frac{2 v \sin \theta} {g}$

The first solution corresponds to when the projectile is first launched. The second solution is the useful one for determining the range of the projectile. Plugging this value for (t) into the horizontal equation yields

$x = \frac {2 v^2 \cos \theta \, \sin \theta } {g}$

Applying the trigonometric identity

$\sin(x+y) = \sin x \, \cos y \ + \ \sin y \, \cos x$

If x and y are same,

$\sin 2x = 2 \sin x \, \cos x$

allows us to simplify the solution to

$d = \frac {v^2 \sin 2 \theta}{g}$

Note that when (θ) is 45°, the solution becomes

$d = \frac {v^2} {g}$

#### Uneven ground

Now we will allow (y0) to be nonzero. Our equations of motion are now

$x(t) = v t \cos \theta$

and

$y(t) = y_0 + v t \sin \theta - \frac{1}{2} g t^2$

Once again we solve for (t) in the case where the (y) position of the projectile is at zero (since this is how we defined our starting height to begin with)

$0 = y_0 + v t \sin \theta - \frac{1} {2} g t^2$

Again by applying the quadratic formula we find two solutions for the time. After several steps of algebraic manipulation

$t = \frac {v \sin \theta} {g} \pm \frac {\sqrt{v^2 \sin^2 \theta + 2 g y_0}} {g}$

The square root must be a positive number, and since the velocity and the cosine of the launch angle can also be assumed to be positive, the solution with the greater time will occur when the positive of the plus or minus sign is used. Thus, the solution is

$t = \frac {v \sin \theta} {g} + \frac {\sqrt{v^2 \sin^2 \theta + 2 g y_0}} {g}$

Solving for the range once again

$d = \frac {v \cos \theta} {g} \left [ v \sin \theta + \sqrt{v^2 \sin^2 \theta + 2 g y_0} \right]$

#### Angle of impact

The angle ψ at which the projectile lands is given by:

$\tan \psi = \frac {-v_y(t_d)} {v_x(t_d)} = \frac {\sqrt { v^2 \sin^2 \theta + 2 g y_0 }} { v \cos \theta}$

For maximum range, this results in the following equation:

$\tan^2 \psi = \frac { 2 g y_0 + v^2 } { v^2 } = C+1$

Rewriting the original solution for θ, we get:

$\tan^2 \theta = \frac { 1 - \cos^2 \theta } { \cos^2 \theta } = \frac { v^2 } { 2 g y_0 + v^2 } = \frac { 1 } { C + 1 }$

Multiplying with the equation for (tan ψ)^2 gives:

$\tan^2 \psi \, \tan^2 \theta = \frac { 2 g y_0 + v^2 } { v^2 } \frac { v^2 } { 2 g y_0 + v^2 } = 1$

Because of the trigonometric identity

$\tan (\theta + \psi) = \frac { \tan \theta + \tan \psi } { 1 - \tan \theta \tan \psi }$,

this means that θ + ψ must be 90 degrees.

## Actual projectile motion

In addition to air resistance, which slows a projectile and reduces its range, many other factors also have to be accounted for when actual projectile motion is considered.

### Projectile characteristics

Generally speaking, a projectile with greater volume faces greater air resistance, reducing the range of the projectile. This can be modified by the projectile shape: a tall and wide, but short projectile will face greater air resistance than a low and narrow, but long, projectile of the same volume. The surface of the projectile also must be considered: a smooth projectile will face less air resistance than a rough-surfaced one, and irregularities on the surface of a projectile may change its trajectory if they create more drag on one side of the projectile than on the other. Mass also becomes important, as a more massive projectile will have more kinetic energy, and will thus be less affected by air resistance. The distribution of mass within the projectile can also be important, as an unevenly weighted projectile may spin undesirably, causing irregularities in its trajectory due to the magnus effect.

If a projectile is given rotation along its axes of travel, irregularities in the projectile's shape and weight distribution tend to be canceled out. See rifling for a greater explanation.

### Firearm barrels

For projectiles that are launched by firearms and artillery, the nature of the gun's barrel is also important. Longer barrels allow more of the propellant's energy to be given to the projectile, yielding greater range. Rifling, while it may not increase the average (arithmetic mean) range of many shots from the same gun, will increase the accuracy and precision of the gun.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 23, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8943004608154297, "perplexity_flag": "middle"}