Difference between revisions of "Least-squares circle fitting"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
  
 
for (i=0;i<50;i++) {
 
for (i=0;i<50;i++) {
   angle = Math.Random()*2*Math.PI;
+
   angle = Math.random()*2*Math.PI;
 
   co = 4*Math.cos(angle);
 
   co = 4*Math.cos(angle);
 
   si = 4*Math.sin(angle);
 
   si = 4*Math.sin(angle);

Revision as of 17:31, 5 November 2010

Catgegory:Statistics