Extended mean value theorem: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 20: Line 20:


var quot = function(t) {
var quot = function(t) {
    //console.log("t=", t, df(t), dg(t), df(t)/dg(t));
    //var slope = (p[3].Y() - p[0].Y()) / (p[3].X() - p[0].X());
    return dg(t) / df(t) - (p[3].Y() - p[0].Y()) / (p[3].X() - p[0].X());
    return df(t) * (p[3].Y() - p[0].Y()) - dg(t) * (p[3].X() - p[0].X());
};
};



Revision as of 16:03, 29 January 2019

The underlying JavaScript code