Draggable exponential function: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
}]); | }]); | ||
var txt = board.create('text', [- | var txt = board.create('text', [-3, 10, function () { | ||
return "a = " + (Math.log(p.Y()) / p.X()).toFixed(2); | return "a = " + (Math.log(p.Y()) / p.X()).toFixed(2); | ||
}], {fontSize: 16}); | }], {fontSize: 16}); |