next up previous contents
Next: nsys.m Up: Required Files and Descriptions Previous: eulstdnt.m, rk4.m   Contents


This is the analog of initn.m for a 2 by 2 system. You enter two functions eulerfcn1 and eulerfcn2 for the right hand sides of the Euler iteration for your two equations. h is the step size, t0, tf, x0, and y0 are the starting time, final time and initial conditions.

Michael Renardy