square root √2
by webproger on 2022-05-15
<pre><script>
var x = □;
for(i=1; i<=100; i++) {
document.writeln(i+' : '+x);
var y = (x*x+2)/(2*x);
if(x==y) break;
else x = y;
}
</script></pre>