#Execute read(`euler.txt`) from Maple and then Help(); to view the #procedures. f is an expression in x and y, x0 and y0 specify the #initial condition, h is the step size, and xf is the final x-value. #For example, try Euler(y^2,x,y,0,1,.5,1); Help:=proc(): print(`Euler(f,x,y,x0,y0,h,xf),BackwardEuler(f,x,y,x0,y0,h,xf),RK4(f,x,y,x0,y0,h,xf) `): end: Euler:=proc(f,x,y,x0,y0,h,xf) local i,X,Y: X:=[x0]: Y:=[y0]: for i from 1 while X[-1]