Draggable exponential function: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 9: Line 9:
         }]);
         }]);
            
            
var txt = board.create('text', [-2, 5, function () {
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});

Revision as of 09:30, 16 February 2016