Runge-kutta method for a force acting upon a charged particle


by superstrings
Tags: acting, charged, force, method, particle, rungekutta
superstrings
superstrings is offline
#1
Nov14-12, 11:21 PM
P: 2
I have this project that involves the runge-kutta method, and I honestly have no clue what I am doing.

I never learned about this before, and I don't know much about ordinary differential equations. I am learning all of this next semester but it is required information for this project.

In my project, I have to model the movement of a test charge through an electric field and program it onto fortran 90.

I know that the Lorentz equation is F=q(E+vxB), and also F=ma (as a special case), and I can equate the two to find acceleration.

I have no idea how I would set this up as an ODE and then use the runge-kutta method. I need to do this so that I can plot a position vs. time graph of the test charge.

Can someone please help me out?
Phys.Org News Partner Science news on Phys.org
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior
HallsofIvy
HallsofIvy is offline
#2
Nov15-12, 07:53 AM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 38,879
You have to use "Runge-Kutta" and you have no idea what that means? You need a lot more help than we can give in a few sentences!

Try these:
http://www.myphysicslab.com/runge_kutta.html
http://mathworld.wolfram.com/Runge-KuttaMethod.html
pasmith
pasmith is offline
#3
Nov30-12, 08:59 AM
HW Helper
P: 772
Acceleration is the second derivative of position (x) with respect to time.
The first derivative is velocity (v). It follows that acceleration is the derivative of velocity.

Thus, as a first order ODE, F = ma becomes
[tex]
\frac {dv}{dt} = F(x,v)/m = (q/m)(E + v \times B) \\
\frac{dx}{dt} = v
[/tex]

At this point you can use Runge-Kutta.


Register to reply

Related Discussions
Runge-Kutta method Calculus & Beyond Homework 0
runge kutta method Calculus & Beyond Homework 8
Runge Kutta method help Advanced Physics Homework 4
runge kutta method Calculus & Beyond Homework 1
Runge Kutta Method Differential Equations 1