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) =
 
x0 =
x1 =
x2 =
x3 =
x4 =
x5 =
x6 =
x7 =
x8 =
x9 =
x10 =

246−2−4−624−2−4−6246−2−4−624−2−4−6
x0