Projectile motion


Projectile motion is a form of motion experienced by an object or particle that is projected near the Earth's surface and moves along a curved path under the action of gravity only. This curved path was shown by Galileo to be a parabola, but may also be a line in the special case when it is thrown directly upwards. The study of such motions is called ballistics, and such a trajectory is a ballistic trajectory. The only force of significance that acts on the object is gravity, which acts downward, thus imparting to the object a downward acceleration. Because of the object's inertia, no external horizontal force is needed to maintain the horizontal velocity component of the object. Taking other forces into account, such as friction from aerodynamic drag or internal propulsion such as in a rocket, requires additional analysis. A ballistic missile is a missile only guided during the relatively brief initial powered phase of flight, and whose subsequent course is governed by the laws of classical mechanics.
Ballistics is the science of mechanics that deals with the flight, behavior, and effects of projectiles, especially bullets, unguided bombs, rockets, or the like; the science or art of designing and accelerating projectiles so as to achieve a desired performance.
The elementary equations of ballistics neglect nearly every factor except for initial velocity and an assumed constant gravitational acceleration. Practical solutions of a ballistics problem often require considerations of air resistance, cross winds, target motion, varying acceleration due to gravity, and in such problems as launching a rocket from one point on the Earth to another, the rotation of the Earth. Detailed mathematical solutions of practical problems typically do not have closed-form solutions, and therefore require numerical methods to address.

The initial velocity

Let the projectile be launched with an initial velocity, which can be expressed as the sum of horizontal and vertical components as follows:
The components and can be found if the initial launch angle,, is known:

Kinematic quantities of projectile motion

In projectile motion, the horizontal motion and the vertical motion are independent of each other; that is, neither motion affects the other. This is the principle of compound motion established by Galileo in 1638, and used by him to prove the parabolic form of projectile motion.
A ballistic trajectory is a parabola with homogeneous acceleration, such as in a space ship with constant acceleration in absence of other forces. On Earth the acceleration changes magnitude with altitude and direction with latitude/longitude. This causes an elliptic trajectory, which is very close to a parabola on a small scale. However, if an object was thrown and the Earth was suddenly replaced with a black hole of equal mass, it would become obvious that the ballistic trajectory is part of an elliptic orbit around that black hole, and not a parabola that extends to infinity. At higher speeds the trajectory can also be circular, parabolic or hyperbolic. In this article a homogeneous acceleration is assumed.

Acceleration

Since there is only acceleration in the vertical direction, the velocity in the horizontal direction is constant, being equal to. The vertical motion of the projectile is the motion of a particle during its free fall. Here the acceleration is constant, being equal to g. The components of the acceleration are:

Velocity

The horizontal component of the velocity of the object remains unchanged throughout the motion. The vertical component of the velocity changes linearly, because the acceleration due to gravity is constant. The accelerations in the x and y directions can be integrated to solve for the components of velocity at any time t, as follows:
The magnitude of the velocity :

Displacement

At any time, the projectile's horizontal and vertical displacement are:
The magnitude of the displacement is:
Consider the equations,
If t is eliminated between these two equations the following equation is obtained:
Since g, θ, and v0 are constants, the above equation is of the form
in which a and b are constants. This is the equation of a parabola, so the path is parabolic. The axis of the parabola is vertical.
If the projectile's position and launch angle are known, the initial velocity can be found solving for v0 in the aforementioned parabolic equation:

Time of flight or total time of the whole journey

The total time t for which the projectile remains in the air is called the time of flight.
After the flight, the projectile returns to the horizontal axis, so.
Note that we have neglected air resistance on the projectile.
If the starting point is at height y0 with respect to the point of impact, the time of flight is:
As above, this expression can be reduced to
if θ is 45° and y0 is 0.

Maximum height of projectile

The greatest height that the object will reach is known as the peak of the object's motion.
The increase in height will last until, that is,
Time to reach the maximum height:
For the vertical displacement of the maximum height of projectile:

Relation between horizontal range and maximum height

The relation between the range R on the horizontal plane and the maximum height h reached at is:

Proof

Maximum distance of projectile

The range and the maximum height of the projectile does not depend upon its mass. Hence range and maximum height are equal for all bodies that are thrown with the same velocity and direction.
The horizontal range d of the projectile is the horizontal distance it has traveled when it returns to its initial height.
Time to reach ground:
From the horizontal displacement the maximum distance of projectile:
so
Note that d has its maximum value when
which necessarily corresponds to
or
The total horizontal distance traveled.
When the surface is flat, the distance traveled:
Thus the maximum distance is obtained if θ is 45 degrees. This distance is:

Application of the work energy theorem

According to the work-energy theorem the vertical component of velocity is:
These formulae ignore aerodynamic drag and also assume that the landing area is at uniform height 0.

Angle of reach

The "angle of reach" is the angle at which a projectile must be launched in order to go a distance d, given the initial velocity v.
There are two solutions:
and

Angle \theta required to hit coordinate (x,y)

To hit a target at range x and altitude y when fired from and with initial speed v the required angle of launch θ are:
The two roots of the equation correspond to the two possible launch angles, so long as they aren't imaginary, in which case the initial speed is not great enough to reach the point selected. This formula allows one to find the angle of launch needed without the restriction of.
One can also ask what launch angle allows the lowest possible launch velocity. This occurs when the two solutions above are equal, implying that the quantity under the square root sign is zero. This requires solving a quadratic equation for, and we find
This gives
If we denote the angle whose tangent is by, then
This implies
In other words, the launch should be at the angle halfway between the target and Zenith

Total Path Length of the Trajectory

The length of the parabolic arc traced by a projectile, given that the height of launch and landing is the same and that there is no air resistance, is given by the formula:
where is the initial velocity, is the launch angle and is the acceleration due to gravity as a positive value. The expression can be obtained by evaluating the arc length integral for the height-distance parabola between the bounds initial and final displacements such that:

Trajectory of a projectile with air resistance

In this section we will take air resistance to be in direct proportion to the velocity of the particle. This is only valid at Reynolds number below about 1000. In air, which has a kinematic viscosity around 0.15 cm2/s this means that the product of speed and diameter must be less than about 150 cm2/s which is obviously not usually the case. We do this though so that the equations describing the particle's motion are easily solved. At higher values of speed times diameter the force of air resistance is proportional to the square of the particle's velocity. Here,, and will be used to denote the initial velocity, the velocity along the direction of x and the velocity along the direction of y, respectively. The mass of the projectile will be denoted by m. For the derivation only the case where is considered. Again, the projectile is fired from the origin.
The free body diagram on the right is for a projectile that experiences air resistance and the effects of gravity. Here, air resistance is assumed to be in the direction opposite of the projectile's velocity. is written due to the initial assumption of direct proportionality implies that the air resistance and the velocity differ only by a constant arbitrary factor with units of N*s/m.
The relationships that represent the motion of the particle are derived by Newton's Second Law, both in the x and y directions.
In the x direction and in the y direction.
This implies that:
,
and

Solving is an elementary differential equation, thus the steps leading to a unique solution for vx and, subsequently, x will not be enumerated. Given the initial conditions and for :


While is solved much in the same way, is of distinct interest because of its non-homogeneous nature. Hence, we will be extensively solving. Note that in this case the initial conditions are used and when.


This first order, linear, non-homogeneous differential equation may be solved a number of ways; however, in this instance, it will be quicker to approach the solution via an integrating factor.









And by integration we find:



Solving for our initial conditions:







With a bit of algebra to simplify :

An example is given using values for the mass and terminal velocity for a baseball taken from .
The more realistic trajectory can not be calculated analytically, but only by numerical simulations.
Similarly to above:
However, this takes advantage of the fact that horizontally, acceleration is always negative. As acceleration is negative while velocity is positive and positive while velocity is negative, a projectile fired upwards requires the absolute value to be taken of the vertical velocity, which makes an analytical solution for vertical position more complex.
Where is gravitational acceleration set to some constant, such as standard gravity:
for constant gravity
or, even more complex,
for gravity as a function of height above a planet's surface, where
The total time of the journey in the presence of air resistance can be calculated by the same strategy as above, namely, we solve the equation. While in the case of zero air resistance this equation can be solved elementarily, here we shall need the Lambert W function. The equation
is of the form, and such an equation can be transformed into an equation solvable by the function. Some algebra shows that the total time of flight, in closed form, is given as

Solution by numerical integration

A solution to the problem of motion of a projectile with air resistance modelled as follows.
The following assumptions are made:
The approach will be to formulate expressions that will later be used to demonstrate a numerical solution of the stated problem.

Derivation of integral expressions

A projectile of mass m is launched from a point, with an initial velocity in an initial direction that makes an angle with the horizontal. It experiences air resistance that is given by that acts tangentially to the path of travel at any point.
Newton's second law of motion is. Applying this in the x-direction yields;
Where,, and are the horizontal and vertical components of the velocity respectively.
Let,, and. Equation now becomes;
In the y-direction;
Again let,,, and. Equation is now;
Knowing that we may divide equation by equation to get;
Introduce a quantity such that, then;
From equations and, observe that;
Hence, which may be re-written as;
Separate variables and integrate as;
The left-hand side of equation is
For the right-hand side, let, such that and,
Thus. Also
Hence;
Equation is now;
From which;
Since
Denote, such that;
At the beginning of the motion, and
Hence;, such that;
As the motion proceeds, and, i.e.,, and
This means that, and
Hence;
In equations and, observe that;
As,
When a state of dynamic equilibrium is attained under vertical free fall, the opposing forces of gravity and drag are equalized, i.e.,
In equation, substitutions for and from equations and yields;
Also;
Knowing that;, we may write
Also;
And;

Time of flight

Determine the time of flight by setting to in equation above. Solve for the value of the variable.
Equation with substituted for gives;

Horizontal range

Equation gives the horizontal range R as;

Maximum height

At the highest point of the projectile path, and, giving the maximum height from equation as;

Numerical simulation

A numerical solution of a projectile modelled as a baseball, with the parameters listed below follows ;
A computer program in the form of a Python script is used for the numerical solution. The script uses the libraries numpy, scipy, and matplotlib.
Results of analysis:

  1. !/usr/bin/env python
from math import pi, radians, degrees, sin, cos, atan, sqrt, sinh, cosh, asinh
import numpy as np
from scipy.integrate import quadrature
from scipy.optimize import newton
import matplotlib.pyplot as plt
  1. Parameters of projectile
V_0 = 44.7 # Initial velocity
g = 9.81 # Acceleration due to gravity
psi = 75 # Launch angle
c = 0.5 # Drag coefficient
r = 0.0366 # Radius of projectile
m = 0.145 # Mass of projectile
rho_air = 1.29 # Air density
a = pi * r**2.0 # Cross-sectional area of projectile
psi = radians # Convert to radians
  1. Display of parameters
print
print
print : '.format)
print
print : '.format)
print : '.format)
print : '.format)
print
  1. Initial position and launch velocity
x_0 = 0.0
u_0 = V_0 * cos
y_0 = 0.0
v_0 = V_0 * sin
  1. Constants and function definitions for solution
mu = 0.5 * c * rho_air * a / m
Q_0 = asinh
A = g / +
def lam:
return A -
def u_s:
return sqrt / sqrt
def v_s:
return sqrt * sinh / sqrt
def f_t:
return cosh / sqrt
def f_x:
return cosh / lam
def f_y:
return sinh / lam
def t_s:
return - quadrature / sqrt
def x_s:
return x_0 - quadrature / mu
def y_s:
return y_0 - quadrature /
def y_s_p:
return - * sinh / lam
  1. Time of flight
Q_T_est = asinh # Initial estimate for Newton's method
Q_T = newton
T = t_s
print
print : '.format)
  1. Horizontal range
R = x_s
print : '.format)
  1. Maximum height
H = y_s
print : '.format)
  1. Vectorize scalar functions
t_vec = np.vectorize
x_vec = np.vectorize
y_vec = np.vectorize
u_vec = np.vectorize
v_vec = np.vectorize
  1. Array for variable 'Q'
N = 101
psi_T = degrees
Q = np.arcsinh))
  1. Arrays for projectile path variables
t = t_vec
x = x_vec
y = y_vec
u = u_vec
v = v_vec
  1. Plot of trajectory
fig, ax = plt.subplots
line, = ax.plot
ax.set_title
ax.set_aspect
ax.grid
ax.legend
ax.set_xlabel
ax.set_ylabel
plt.show
  1. Plot of velocity components
fig, ax = plt.subplots
line, = ax.plot
ax.set_title
ax.grid
ax.legend
ax.set_xlabel
ax.set_ylabel
plt.show
fig, ax = plt.subplots
line, = ax.plot
ax.set_title
ax.grid
ax.legend
ax.set_xlabel
ax.set_ylabel
plt.show

Lofted trajectory

A special case of a ballistic trajectory for a rocket is a lofted trajectory, a trajectory with an apogee greater than the minimum-energy trajectory to the same range. In other words, the rocket travels higher and by doing so it uses more energy to get to the same landing point. This may be done for various reasons such as increasing distance to the horizon to give greater viewing/communication range or for changing the angle with which a missile will impact on landing. Lofted trajectories are sometimes used in both missile rocketry and in spaceflight.