Newton's root finding method: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 31: | Line 31: | ||
<jsxgraph width="600" height="500"> | <jsxgraph width="600" height="500"> | ||
var i; | var i; | ||
var board = JXG.JSXGraph.initBoard('jxgbox', { | var board = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,8,5,-4], axis:true}); | ||
var ax = board.create('axis', [[0,0], [1,0]], {strokeColor: 'black'}); | var ax = board.create('axis', [[0,0], [1,0]], {strokeColor: 'black'}); | ||
var ay = board.create('axis', [[0,0], [0,1]], {strokeColor: 'black'}); | var ay = board.create('axis', [[0,0], [0,1]], {strokeColor: 'black'}); |
Revision as of 14:12, 3 February 2010
xo is the start value. Drag it. You may change the function term here: