P-Norm: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
graph = brd.create('curve', [ | graph = brd.create('curve', [ | ||
function(t){ | function(t){ | ||
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)+ |