X Y1 04 1.3862945 1.6094386 1.791759
General Form of Newton’s Interpolating Polynomials
Recursive nature of finite divided differences
Steps to solve ODE• Create a function which takes two argument t and y and gives f(t,y)For example
• Create another function which takes name of the M-file that evaluates the ODE[ti, tf] where ti and tf = initial and final values of
independent variableY0 initial value of dependent variableH step size
• No of steps required to solve ODE for given time span = tspan/stepsize
• Make column matrix t=0 : step size : end value • Make column matrix Y of same size
Classical Fourth-Order Runge-Kutta Method