ok i have to do a bunch of problems on excel using Euler's method, modified Euler's and fourth order Runge kutta method? i was wondering if anyone knew of a good tutorial.
thanks
This hardly needs a tutorial does it? You need one row per epoc, the first row containing the initial conditions. The first column should contain the times corresponding to the epocs, there should be a named variable containing the nominal step size h.There should be columns for the derivatives and estimates at the computationall nodes to give in the last column the estimate of the solution at the time corresponding to the epoc.
CB
it probably doesnt, i was just having a hard time getting excel to back up what i was doing on paper. i solved the differential equation using bernouli, but as i went from euler's method to runge kutta my numbers were getting worse. ok so my equation was y'=2y-y^2.
using bernouli or even separation of variables, i found....
so Y(1) was approximately 1.29757....
euler method was ok, i found Y(1) was 1.27 something....
my problem came when i tried using improved euler and runge kutta
This is fairly simple to do, and to demonstrate face to face, but over a text interface almost impossible, have you tried searching on youTube for a demo/tutorial?
I have checked what you call improved Euler and with a time step of 0.1, and initial condition f(0)=2/5 get f(1)~=1.285 (see attachment).
CB