Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



RungeKutta Question
Posted:
Apr 8, 1997 2:37 AM


I would like to use Mma to solve the following DE dy/dt=f(t,y)=yt^2+1, 0 <= t <= 2, y(0)=0.5 How do I use RungeKutta 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 RungeKutta and t(t sub k) the actual solution. and keep my error absy(sub k)  y(t sub k) no larger than 0.00011. Larry larry.smith@clorox.com 6019398555 ext 255



