Draggable exponential function: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 8: | Line 8: | ||
             return Math.exp(a * x);  |              return Math.exp(a * x);  | ||
          }]);  |           }]);  | ||
var txt = board.create('text', [-2, 5, function () {  | |||
           return "a = " + (Math.log(p.Y() - p.X())).toFixed(2);  | |||
          ]);  | |||
</jsxgraph>  | </jsxgraph>  | ||
[[Category:Examples]]  | [[Category:Examples]]  | ||
[[Category:Calculus]]  | [[Category:Calculus]]  | ||