Template:Sqrt/doc

Borrowed from KoL wiki, this template gives an approximation to the square root of a number. Created as a work-around to the current shortcomings of the wiki's parsers.

This uses the Babylonian algorithm for computing a square root. The result is the fifth iterate obtained by this method, using the value  as the seed value. This value is only an approximation, as the examples below should demonstrate, but the inaccuracies will not show up until after the 6th decimal digit for values likely to be passed to the template. Rounding the value, as indicated in the last example, is suggested.

Examples

 * √537.5818355
 * √537.5818355
 * √4
 * √4
 * √121
 * √121