Algorithm for acceleration of projectile undergoing squared velocity drag?

AI Thread Summary
The discussion focuses on creating a Java program to simulate projectile motion with drag proportional to the square of velocity. The user is attempting to derive the acceleration equation, starting with a = g - kv^2, and is unsure about the correctness of their approach. They express their calculations involving changes in acceleration and velocity, but seek clarification on the accuracy of their method. Additionally, they reference a Wiki article that outlines a direct solution for free fall with air resistance but note that it lacks detailed mathematical derivation. The conversation highlights the complexities of modeling projectile motion under specific drag conditions.
Levis2
Messages
43
Reaction score
0
I am trying to write a java program to simulate the motion of a projectile undergoing a drag proportional to the velocity squared, but i am having some issues writing the acceleration part. This is my attempt, not sure if its right though;

a=g-kv^2
da/dt=-k dv^2/dt
since dv^2/dt=2vdv/dt;
da/dt=-2vkdv/dt
da=-2vkdv
and
a=dv/dt
dv=adt inserting;
da=-2vkadt
trying to incorporate some indexes; (bear with me, first prog. algorithm :)
a_(n+1)-a_n=-2vka_n Δt
a_(n+1)=a_n-2vka_n Δt

Is this all wrong ?
 
Physics news on Phys.org
wiki already worked out a direct solution for free fall with air resistance (for constant air density which matches your original equation):

wiki_falling_with_air_resistance.htm

Wiki doesn't show the math. To get there, you start with

a = dv/dt = g - k v2

dv / (g - k v2) = dt
 
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Thread 'Beam on an inclined plane'
Hello! I have a question regarding a beam on an inclined plane. I was considering a beam resting on two supports attached to an inclined plane. I was almost sure that the lower support must be more loaded. My imagination about this problem is shown in the picture below. Here is how I wrote the condition of equilibrium forces: $$ \begin{cases} F_{g\parallel}=F_{t1}+F_{t2}, \\ F_{g\perp}=F_{r1}+F_{r2} \end{cases}. $$ On the other hand...
Back
Top