Difference between revisions of "Extended mean value theorem"

From JSXGraph Wiki
Jump to: navigation, search
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 18:03, 29 January 2019

The underlying JavaScript code