# Difference between revisions of "Extended mean value theorem"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 10: | Line 10: | ||

// Curve | // Curve | ||

− | var fg = | + | var fg = JXG.Math.Numerics.Neville(p); |

− | var graph = board.create('curve', fg); | + | var graph = board.create('curve', fg, {strokeWidth:3, strokeOpacity:0.5}); |

+ | /* | ||

// Secant | // Secant | ||

line = board.create('line', [p[0], p[3]], {strokeColor:'#ff0000', dash:1}); | line = board.create('line', [p[0], p[3]], {strokeColor:'#ff0000', dash:1}); | ||

− | |||

var df = return JXG.Math.Numerics.D(fg[0]); | var df = return JXG.Math.Numerics.D(fg[0]); | ||

var dg = return JXG.Math.Numerics.D(fg[1]); | var dg = return JXG.Math.Numerics.D(fg[1]); |