Newton's root finding method: Difference between revisions

From JSXGraph Wiki
No edit summary
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.GetReference(board, 'x_{' + i + '}').X(),14);
         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:
f(x) =