0
0.1
f(x) = cos(x)
Using Forward Finite Difference
f'() = (f(+h) - f())/h =
True value:
Using Backward Finite Difference
f'() = (f(-h) - f())/(-h) =
True value:
Using Centered Finite Difference
f'() = (f(+h) - f(-h))/(2h) =
True value: