Projectile with Drag

Classical Mechanics Level pending

A projectile of mass m m is launched with speed v 0 v_0 at angle θ 0 \theta_0 from the x x axis. Let the drag force acting on the particle be F = m α v \vec{F}=-m\alpha\vec{v} where α = g v 0 \alpha=\frac{g}{v_0} . Find θ 0 \theta_0 (in degrees) which maximises the value of x x when y y is maximum (peak of trajectory).


The answer is 38.173.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Krishna Karthik
May 11, 2020

Here is another cool solution, that simulates the trajectory numerically.

Firstly, the differential equations that describe the trajectory can be written in terms of Newton's laws:

F = F g + F d \displaystyle \bold{ \vec{F}} = \bold{\vec{F}}_g + \bold{\vec{F}}_d , where F g \bold{\vec{F}}_g and F d \bold{\vec{F}}_d are the forces of gravity and drag respectively.

The equation can be written as a second-order ODE in vector form:

m [ x ¨ y ¨ ] = m g v o [ x ˙ y ˙ ] m [ 0 g ] \displaystyle m \begin{bmatrix} \ddot{x} \\ \ddot{y} \end{bmatrix} = - \frac{mg}{v_o} \begin{bmatrix} \dot{x} \\ \dot{y} \end{bmatrix} - m \begin{bmatrix} 0 \\ g \end{bmatrix}

Solving through x and y with the forward Euler method, and trialing with different angles, I found that 38 degrees gave the greatest value of x x at peak height.

Here's the code:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import math

time = 0
deltaT = 10**-4 #timestep

x = 0
y = 0

#play around with the value of theta. You'll find that around 38 degrees will give maximum x value.

theta = 38

#initial value of velocity

xDot = 100*math.cos(theta*(math.pi/180))
yDot = 100*math.sin(theta*(math.pi/180))


while yDot >= 0: #when vertical velocity is zero the height is maximum


  #differential equations (values of acceleration in x and y)
  xDotDot = -(10/100)*xDot
  yDotDot = -(10/100)*yDot - 10


  #Euler method
  xDot += xDotDot*deltaT
  yDot += yDotDot*deltaT

  x += xDot*deltaT
  y += yDot*deltaT

  time += deltaT


print("x at maximum height for the value theta = " +str(theta) + " is: " + str(x))

We can write the equations of motion along the horizontal and the vertical directions as d v x d t = α v x , d v y d t = α ( v y + g α ) \dfrac{dv_x}{dt}=-αv_x, \dfrac{dv_y}{dt}=-α(v_y+\dfrac{g}{α}) . Solving these two we get x = v 0 cos θ 0 α ( 1 e α t ) , v y = g α + ( v 0 sin θ 0 + g α ) e α t x=\dfrac{v_0\cos \theta_0}{α}(1-e^{-αt}), v_y=-\dfrac{g}{α}+\left (v_0\sin \theta_0+\dfrac{g}{α}\right )e^{-αt} . At the highest point of the path, v y = 0 e α t = g g + α v 0 sin θ 0 v_y=0\implies e^{-αt}=\dfrac{g}{g+αv_0\sin \theta_0} . Hence, at this point, x = v 0 cos θ 0 α ( 1 g g + α v 0 sin θ 0 ) = v 0 2 g × sin θ 0 cos θ 0 1 + sin θ 0 x=\dfrac{v_0\cos \theta_0}{α}\left (1-\dfrac{g}{g+αv_0\sin \theta_0}\right )=\dfrac{v_0^2}{g}\times \dfrac{\sin \theta_0\cos \theta_0}{1+\sin \theta_0} (since it is given that α v 0 = g αv_0=g ). When x x is maximum, d x d θ 0 = 0 sin θ 0 0.61803 θ 0 38.1724 ° \dfrac{dx}{d\theta_0}=0\implies \sin \theta_0\approx 0.61803\implies \theta_0\approx \boxed {38.1724\degree} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...