Difference between revisions of "Nowhere differentiable continuous function"

From JSXGraph Wiki
Jump to navigationJump to search
Line 9: Line 9:
 
                 s += Math.pow(a,i)*Math.cos(Math.pow(b,i)*Math.PI*x);
 
                 s += Math.pow(a,i)*Math.cos(Math.pow(b,i)*Math.PI*x);
 
             }
 
             }
console.log(Math.PI);
+
console.log(x,i,Math.pow(b,i)*Math.PI*x,Math.cos(Math.pow(b,i)*Math.PI*x));
 
             return s;
 
             return s;
 
         };
 
         };

Revision as of 19:13, 19 September 2011