Cauchy's mean value theorem: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 10: Line 10:
p[4] = board.create('point', [-2,5], {style:4});
p[4] = board.create('point', [-2,5], {style:4});
var fArray = board.neville(p);
var fArray = board.neville(p);
var graph = board.create('curve', fArray,{strokeWidth:3,strokeOpacity:0.5});
var graph = board.create('curve', fArray, {strokeWidth:3,strokeOpacity:0.5});
var g = function(x) {
var g = function(x) {
     return board.D(fArray[0])(x)/board.D(fArray[1])(x)-(p[4].Y()-p[0].Y())/(p[4].X()-p[0].X());
     return board.D(fArray[0])(x)/board.D(fArray[1])(x)-(p[4].Y()-p[0].Y())/(p[4].X()-p[0].X());
Line 16: Line 16:


var r = board.create('glider', [
var r = board.create('glider', [
                     function() { return board.root(g,(p[0].X()+p[4].X())*0.5); },
                     function() { return fArray[0](board.root(g,(p[0].X()+p[4].X())*0.5)); },
                     function() { return f(board.root(g,(p[0].X()+p[4].X())*0.5)); },
                     function() { return fArray[1](board.root(g,(p[0].X()+p[4].X())*0.5)); },
                     graph], {name:' ',style:6,fixed:true});
                     graph], {name:' ',style:6,fixed:true});
board.create('tangent', [r], {strokeColor:'#ff0000'});
board.create('tangent', [r], {strokeColor:'#ff0000'});

Revision as of 10:38, 27 January 2010

Cauchy's mean value theorem is also known as extended mean value theorem. In Germany it is called Zweiter Mittelwertsatz.