# Difference between revisions of "P-Norm"

From JSXGraph Wiki

A WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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