- #1

ryankunzzz

- 21

- 0

To do this we were told that the 2 forces acting on the ball would be the force of gravity, and the magnus force due to the rotation of the ball. the problem is, the ball is thrown at an upward angle with a forward spin, and because the magnus force always acts perpendicular to the velocity of the ball it will always have 2 components, also x and y.

So far I have gotten my equations for the acceleration in both directions, and I think the equations for velocity in both directions, but I am having trouble solving the differential equations themselves. He hinted that using Runge-Kutta4 would be our best bet, but the equations are confusing me.

These are the 2nd derivative of displacement in each direction:

If A

_{y}= -g - kV

_{x}ω Where kV

_{x}ω is the Y component of the magnus force.

Then A

_{x}= +KV

_{y}ω which is the X compenent of the magnus force,

Then our velocity equaions, which are the firs derivative of displacement, of should be:

V

_{y}=A

_{y}*t + V

_{y0}and

V

_{x}=A

_{x}*t + V

_{x0}

But I'm totally stuck on how to apply Runge-Kutta4 to this.