mdiff3 - % fp = 1/(2*h)*(func(x+h)-func(x-h));

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function fp = mdiff3(func,x,h) % % three point midpoint formula
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % fp = 1/(2*h)*(func(x+h)-func(x-h));...
View Full Document

This note was uploaded on 09/19/2009 for the course MATH numerical taught by Professor Ford during the Spring '09 term at FAU.

Ask a homework question - tutors are online