Well all you're doing is taking the derivative of the function of interest, then picking an arbitrary start point (should be close to the real answer, which isn't hard to figure out in these cases) and then following the projected line from that derivative to zero. You then find the x where the derivative line hits zero and repeat the method from there until you hit the real zero.
Beware that functions can hit zero more than once.