I don't understand how to use Newton's method for this question.
Consider the function $f(x) = 3 − x − e^x$
(i) Find the equations of the tangent and the normal to the curve $y = f(x)$ at the point $P(0, 2)$.
(ii) Use Newton’s method in 2 steps to solve the equation $ 3 − x − e^x = 0$ for an approximation of a root near $x = 0$. Give your approximation value in 4 decimal places.
My working out
i) $y'= -1-e^x$
Sub in x = 0, to find the gradient for the equation of the tangent.
$y'= -2$
The tangent equation of the line is
$ y=mx + c$
$2 = -2(0) + c$
$c = 2 $
Therefore the tangent equation is
$y = -2x + 2$
Finding the equation of the tangent.
Since $ y' = -2$ for the line the normal equation's gradient is therefore
$y'= 1/2$
The equation of the normal is
$ y = mx + c$
$ 2 = 0.5(0) + c$
$ c = 2$
Therefore $ y = 0.5x + 2$