# Difference between revisions of "Draggable exponential function"

From JSXGraph Wiki

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

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}); |