Power series for the exponential function: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
<script language="JavaScript"> | <script language="JavaScript"> | ||
// Board | // Board | ||
board1 = JXG.JSXGraph.initBoard('jxgbox1', {originX: 300, originY: 250, unitX: 50, unitY: | board1 = JXG.JSXGraph.initBoard('jxgbox1', {originX: 300, originY: 250, unitX: 50, unitY: 10}); | ||
board1.suspendUpdate(); | board1.suspendUpdate(); | ||
// Axes and Properties | // Axes and Properties | ||
Line 14: | Line 14: | ||
board1.createElement('curve', [function(t){ return t; }, function(t){ return Math.exp(t); }, "t", -10, 10],{strokeColor: "#cccccc"}); | board1.createElement('curve', [function(t){ return t; }, function(t){ return Math.exp(t); }, "t", -10, 10],{strokeColor: "#cccccc"}); | ||
// | // | ||
var s = board1.createElement('slider', [0.75,-0 | var s = board1.createElement('slider', [0.75,-2.0,5,0,10,0], {name:'S'}); | ||
// | // | ||
board1.createElement('curve', [ | board1.createElement('curve', [ |
Revision as of 18:05, 10 December 2008