Mathematics

Mathematics

Problem

A student seeks to approximate the derivative of the function gg at x=2x=2. Using several different values of the increment hh in a symmetric difference quotient, the student obtains the following calculator results.
hh0.10.050.010.001
g(2+h)−g(2−h)2h\frac{g(2+h)-g(2-h)}{2h}3.1843.1563.1433.157
Assume that gg is twice differentiable near x=2x=2. a. Part 1: (a) Using the data in the table, determine the best numerical estimate for g′(2)g'(2) and state its value to three decimal places. b. Part 2: (b) Provide a clear justification for your choice in part (a) by analyzing the competing effects of truncation error and round-off error as hh varies. Discuss why the remaining three values are less reliable estimates.

Browse the problem library