Newton Raphson Method In Rectangular And Polar Coordinates