0

Points given: $x = (\frac{1}{2}, 1, \frac{3}{2})^T, \ y = (-8, -5, 0)^T$

My calculation: $$f'(1) = \frac{f(x+h)-f(x-h)}{2h} = \frac{0 + 8}{1} = 8$$

Is this correct or should there be more steps to approximate $f'(x_i)$ with precision $O(h^2)$?

use1883
  • 91

1 Answers1

1

This is correct. The central difference formula yields $O(h^2)$ accuracy.

PierreCarre
  • 20,974
  • 1
  • 18
  • 34