Difference between revisions of "Extended mean value theorem"

From JSXGraph Wiki
Jump to: navigation, search
Line 10: Line 10:
  
 
// Curve
 
// Curve
var fg = board.create('curve', JXG.Math.Numerics.Neville(p),{strokeWidth:5,strokeOpacity:0.5});
+
var fg = JXG.Math.Numerics.Neville(p);
var graph = board.create('curve', fg);
+
var graph = board.create('curve', fg, {strokeWidth:3, strokeOpacity:0.5});
  
 +
/*
 
// 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]);

Revision as of 17:07, 29 January 2019

The underlying JavaScript code