New Microsoft PowerPoint Presentation
14
X Y 1 0 4 1.386294 5 1.609438 6 1.791759
-
Upload
ashwini-talele -
Category
Documents
-
view
215 -
download
0
description
algebra
Transcript of New Microsoft PowerPoint Presentation
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