Draggable exponential function: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
var graph = board.create('functiongraph', [ | var graph = board.create('functiongraph', [ | ||
function(x) { | function(x) { | ||
var a = | var a = Math.log(p.Y() - p.X()); | ||
return Math.exp(a * x); | return Math.exp(a * x); | ||
}]); | }]); |