Solving Coupled ODEs with 4th Order Runge-Kutta Method

  • Thread starter Thread starter Dr. G
  • Start date Start date
  • Tags Tags
    Coupled
Dr. G
Messages
2
Reaction score
0
Can a 4th order Runge-Kutta method be used to solve an equation of this form:

dVx/dt = ωVy , where ω = constant. and Vx and Vy are the x and y components of the velocity.
 
Physics news on Phys.org
That's not much of an equation to solve, as the right-hand-side is constant. You would need an equation for Vy also.
 
DrClaude said:
That's not much of an equation to solve, as the right-hand-side is constant. You would need an equation for Vy also.

The equation for Vy is
dVy/dt = - ω Vx. And I have the I.C's. So, I can uncouple them. But if the magnetic field is more complicated, hence making ω more complicated, then I would like to see if I could use an
RK4 method to solve them. (These equations arise from the Lorentz force equation.)
 
Yes, RK is then a good choice.
 

Similar threads

Back
Top