Ethem S. answered 10/12/19
Learn the Basics of Math and MATLAB with Former MIT Research Engineer
f(x)=3-2x-x2 find and simplify (f(x+h)-f(x-h))/(2h)
f(x+h) = 3 - 2(x+h) - (x+h)^2
f(x-h) = 3 -2(x-h) - (x-h)^2
f(x+h) - f(x-h) = 3 - 2x - 2h - (x^2 + 2xh + h^2) - (3 -2x +2h - (x^2 - 2xh + h^2))
= 3 - 2x -2h -x^2 - 2xh - h^2 -3 +2x -2h + x^2 - 2xh + h^2
= -4h -4xh = -4h(1-x)
(f(x+h)-f(x-h))/(2h) = -4h (1-x) / (2h) = -2(1-x) = 2x - 2