Difference between revisions of "Draggable exponential function"

From JSXGraph Wiki
Jump to: navigation, search
Line 5: Line 5:
 
var graph = board.create('functiongraph', [
 
var graph = board.create('functiongraph', [
 
         function(x) {
 
         function(x) {
             var a = JXG.Math.log(p.Y(), p.X());
+
             var a = Math.log(p.Y() - p.X());
 
             return Math.exp(a * x);
 
             return Math.exp(a * x);
 
         }]);
 
         }]);

Revision as of 11:25, 16 February 2016