The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Runge-Kutta Question
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Larry Smith

Posts: 5
Registered: 12/7/04
Runge-Kutta Question
Posted: Apr 8, 1997 2:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I would like to use Mma to solve the following DE

dy/dt=f(t,y)=y-t^2+1, 0 <= t <= 2, y(0)=0.5

How do I use Runge-Kutta order 4 with h=0.2 as t(sub k) runs from
0.0 to 2.0 in steps of 0.2, I would like the output table to show
t(k) y(k) using Runge-Kutta and t(t sub k) the actual solution. and
keep my error abs|y(sub k) - y(t sub k)| no larger than 0.00011.


601-939-8555 ext 255

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.