Difference between revisions of "Extended mean value theorem"

From JSXGraph Wiki
Jump to: navigation, search
Line 14: Line 14:
  
 
// 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]);
  
 +
/*
 
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());
 
};
 
};
/*
 
 
var r = board.create('glider', [
 
var r = board.create('glider', [
 
                     function() { return fg[0](JXG.Math.Numerics.root(quot, (p[3] - p[2]) * 0.5)); },
 
                     function() { return fg[0](JXG.Math.Numerics.root(quot, (p[3] - p[2]) * 0.5)); },

Revision as of 17:06, 29 January 2019

The underlying JavaScript code