Skip to content

Chem281Materials/3-2_nr_sqrt

Repository files navigation

Recursive Square Root

Perform all calculations for this problem in single precision.

Suppose $x = 100.0$. Write C++ code that applies $\sqrt{x}$ recursively n times. Then, reconstruct the original value of x by multiplying $x * x$ a number of times equal to n. Perform this process for values of $n = 2$, $5$, $10$, $20$, $30$, $40$. Provide your results at the end of this README.md file. Also add a short explanation of your observations to the end of this README.md file.

Answer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors