palnm
- 1
- 0
For fun, I wanted to crate a program that dealt with 2d projectile motion w/ wind resistance. Specifically, where the object started from rest at a given height. I looked up several equations that dealt with wind resistance. Specifically, drag force. Drag force was defined as Fd = CdPAV^2/2. So, I thought acceleration would be a = CdPAV^2/2*m. Dealing with just vertical acceleration the equation would read a = g - Fd/m. I thought that I could double integrate both the vertical and horizontal accelerations and find, parametrically, a general position v. position equation, for that object. The problem that was immediately apparent was that Fd was dependent on velocity. Since this is acceleration equation, how do I integrate velocity FOR velocity. I figure I am doing something wrong. Could someone explain what?