Extended mean value theorem: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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()); |