Tag: Newthon-Raphson

SAS Algorithmically(1): Newton-Raphson method

A good reference for the basic algorithms of Newton-Raphson method to calculate the square root of a number, see
http://mathforum.org/library/drmath/view/52644.html

And the SAS codes(self-explanatory):
data root;         /*question: find the square root of 4*/         x=4; 
        /*first choose a rough approximation of […]