Square root of decimal Places I'm searching to find how to get the sqaure root of a number having decimal places. How to find the Square root of say $0.4$?
 A: Wikipedia has an excellent page on the topic. 
One method is Newton's method, so for $x=0.4$, you would start with an initial guess, say $x_0=0.7$ and calculate:
$$x_{n+1}=\frac{1}{2}\left(x_n + \frac{0.4}{x_n}\right)$$
$$x_1 = 0.6357$$
$$x_2 = 0.6325$$
Which is pretty close already..
A: One way you could solve for it is by doing a binary search. You define an interval where you believe the answer is and then narrow it down until it is smaller and smaller.
For instance $\sqrt{.4}$ should be between $.4$ and $1$. We will pick our favorite number in that range as a guess and then based on  if it is high or low we will use it to narrow the search.
$$ \sqrt{.4} \text{ is in }[.4,1]$$
Guess that it is equal to $.6$. Squaring our guess give $.6^2=.36$ which is a bit too low. So we will look for an answer between $.6$ and $1$.
$$ \text{ Now } \sqrt{.4} \text{ is in } [.6,1] $$
Guess that it is $.7$. Checking shows that $.7^2=.49$ which is too high. So look between $.7$ and $.6$.
$$ \text{ Now } \sqrt{.4} \text{ is in } [.6,.7] $$
etc.
If you continue this indefinitely you will be able to get the answer to any number of desired decimal places. This method works for any kind of root not just square roots.
