Question: Numerical Method

Write a Maple procedure that solves for y(1) in the initial value problem

                     y= f(y),     y(0) = 1,

 

 

using a numerical stencil based on the nth order Taylor series expansion of y. The procedure’s arguments should include an arbitrary function f, an integer n representing the accuracy of the Taylor series expansion, another integer N representing the number of steps between x = 0 and x = 1. Pick a test problem and compare your results with the output of dsolve/numeric.

Please Wait...