P-Norm: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 4: Line 4:
graph = brd.create('curve', [
graph = brd.create('curve', [
   function(t){
   function(t){
      return 2.0;
       var p = pNorm.Value();
       var p = pNorm.Value();
       return 2.0/Math.pow(Math.pow(Math.abs(Math.cos(t)),p)+
       return 2.0/Math.pow(Math.pow(Math.abs(Math.cos(t)),p)+

Revision as of 20:38, 1 July 2010

The underlying JavaScript code