Difference between revisions of "Newton's root finding method"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 37: | Line 37: | ||
function xval(board) { | function xval(board) { | ||
for (i = 0; i < steps; i++) | for (i = 0; i < steps; i++) | ||
− | document.getElementById('xv' + i).innerHTML = board.round(JXG. | + | document.getElementById('xv' + i).innerHTML = board.round(JXG.getReference(board, 'x_{' + i + '}').X(),14); |
} | } | ||
Revision as of 12:08, 3 February 2010
xo is the start value. Drag it. You may change the function term here: