# Difference between revisions of "Extended mean value theorem"

From JSXGraph Wiki

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

Line 16: | Line 16: | ||

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]); | ||

− | + | ||

var quot = function(t) { | var quot = function(t) { | ||

return df(t) / dg(t) - (p[3].Y() - p[0].Y()) / (p[3].X() - p[0].X()); | return df(t) / dg(t) - (p[3].Y() - p[0].Y()) / (p[3].X() - p[0].X()); |