is the forumula $\displaystyle x - \frac{f(x)}{f '(x)}$ function then derivative of function.

or

$\displaystyle x - \frac{f '(x)}{f ''(x)}$ first then 2nd derivation of function

ive come across some questions that are first one and also 2nd one?

thanks