Tag: numeric precision

Jedi SAS Tricks: Finding Tattoine with DS2

NASA’s Kepler mission has discovered a world where two suns set over the horizon instead of just one. The planet, called Kepler-16b, is the most “Tatooine-like” planet yet found in our galaxy.” While catching up on my reading, this article from NASA’s …

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 […]