Write a script newquot.m that uses the Newton quotient, [f (x + h) − f (x)]/h, to estimate the first derivative of f (x) = x3 at x = 1, using successively smaller values of h: 1, 10−1, 10−2, and so forth. Use a function M-file for f (x).
Write a script newquot.m that uses the Newton quotient, [f (x + h) − f (x)]/h, to estimate the first derivative of f (x) = x3 at x = 1, using successively smaller values of h: 1, 10−1, 10−2, and so forth. Use a function M-file for f (x).
Hi there! Click one of our representatives below and we will get back to you as soon as possible.