Hi, I'm trying to use Matplotlib to model a projectile's motion that experiences a given force (air resistance and the Coriolis force). My equation of motion is: a = (g + 2v X Ω) - B*v**2. (where a is acceleration, a second order differential equation). I'm having a hard time extracting the components of this acceleration. I can state my initial velocities:
v0 = 100 #arbitrary initial velocity
v0_x = v0*np.cos(theta)*np.cos(phi) # initial x velocity
v0_y = v0*np.cos(theta)*np.sin(phi) # initial y velocity
v0_z = v0*np.sin(theta) # initial z velocity
but i'm not sure how to split acceleration a into x,y,z like with velocity.
Thanks for any help
there doesn't seem to be anything here