Click & drag your mouse up and down to change the measurement, or enter a number in one of the fields and press Enter.

__Finding a square root using trigonometry__

The interactive example and equation shown above describe how we can find square roots using intersecting circles and trig functions. A key part of the equation is (n+1)/2 which is the intersecting circle radius.

__Below, some javascript code showing the equation:__

n = 5; //number to get square root of
icr = (n+1)/2; //intersecting circle radius
root = Math.cos(Math.asin((icr-1)/icr))*icr;
alert(root); //2.23606797749979