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 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 11:08, 3 February 2010
xo is the start value. Drag it. You may change the function term here: