# Difference between revisions of "P-Norm"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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)+ |