<BODY><HTML> <SCRIPT LANGUAGE="JavaScript"> with(Math) { s= 0; for (i=0; i<200; i++) { u = random(); if (u < 0.5) { s = s + sqrt(1-2*u); } else { s = s + sqrt(2*u-1); } document.write(s/(i+1),", "); } } </SCRIPT> </BODY></HTML>
Carlos C Rodriguez Last modified: Mon Jan 28 10:51:54 EST 2002