Solving Projectile Motion Equation with Drag Previously, I was helped in solving a projectile motion equation to model the velocity of the projectile with respect to distance with drag taken into account by using differential equations (which I am pretty new to). This is the drag equation I used:
$F_d = \frac{1}{2} \rho v^2C_DA$
As a note, on the right side of the equation, all of the variables are constants except for v. After all my work (which I dont find relevant to the problem, but if needed I can include), I get this as a final answer:
$$v(x) = v(0)\exp{\left(-\frac{1}{2m} pC_DA x\right)}.$$
The equation here models the velocity with respect to distance (or x), but a genius kid at my school challenged me to instead solve the equation so it models velocity with respect to time instead of distance. I am not in AP physics to begin with and just solving for what I already have was challenging for me. I have no idea where to start on this problem and was wondering if anyone has a solution or guidance on how to do this. Let me know if any more information needs to be included.
 A: You haven't really tackled projectile motion with drag, because that is a 2D problem i.e. a projectile like a cannonball moves in a curve. In the absence of drag this curve is a parabola but when you include drag the equations of motion turn out to have no analytic solution (except for the special case of purely vertical motion).
What you've done is to consider the motion of a particle moving in a straight line and subject to no force except drag (so no gravity). In that case the equation of motion is:
$$ \frac{dv}{dt} = -k v^2 \tag{1} $$
This is just Newton's second law rewritten as $a = F/m$. The constant $k$ is in this case $k = \frac{1}{2} \rho C_DA/m$ but let's keep it as $k$ to avoid clutter.
To get the result you quote we use the chain rule:
$$ \frac{dv}{dt} = \frac{dv}{dx} \frac{dx}{dt} = v \frac{dv}{dx} $$
And equation (1) becomes:
$$ \frac{dv}{dx} = -kv $$
which is just the equation for exponential decay, hence your result. To solve equation (1) directly we rewrite it as:
$$ \frac{dv}{v^2} = -k dt $$
and then integrate both sides to get:
$$ \frac{-1}{v} = -kt + C $$
And you then just need to work out the constant of integration $C$ and rearrange as an equation for $v(t)$.
A: Well let us start with our four states of motion. Force,Acceleration,Velocity,Position
Since drag is measured by force, it would only make since to add drag to the force component of our four states.
Depending how you measure your Force or "thrust" is how we will measure our drag.
Since Drag is the opponent to force, we will write it like so...
(Thrust-Drag)
Time=Time+1

Mass=20
Thrust=30 'kg
Drag=*0.101*(0.5*Cd*Density*Velocity^2*Area) 'kg
Velocity=((Thrust-Drag)/Mass)Time
Position=Velocity*Time

Taking Drag from Velocity
Velocity-(*0.101*(0.5*Cd*Velocity^2*Area)/Mass*Time)

