Cauchy's mean value theorem: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
p[3] = board.create('point', [3,3], {style:4}); | p[3] = board.create('point', [3,3], {style:4}); | ||
p[4] = board.create('point', [-2,5], {style:4}); | p[4] = board.create('point', [-2,5], {style:4}); | ||
var graph = board.create('curve', | var fArray = board.neville(p); | ||
var graph = board.create('curve', fArray,{strokeWidth:3,strokeOpacity:0.5}); | |||
var g = function(x) { | var g = function(x) { | ||
return board.D( | return board.D(fArray[0])(x)/board.D(fArray[1])(x)-(p[4].Y()-p[0].Y())/(p[4].X()-p[0].X()); | ||
}; | }; | ||
var r = board.create('glider', [ | var r = board.create('glider', [ | ||
function() { return board.root(g,(p[0].X()+p[ | function() { return board.root(g,(p[0].X()+p[4].X())*0.5); }, | ||
function() { return f(board.root(g,(p[0].X()+p[ | function() { return f(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'}); | ||
/* | |||
*/ | */ | ||
line = board.create('line',[p[0],p[4]],{strokeColor:'#ff0000',dash:1}); | line = board.create('line',[p[0],p[4]],{strokeColor:'#ff0000',dash:1}); |
Revision as of 10:37, 27 January 2010
Cauchy's mean value theorem is also known as extended mean value theorem. In Germany it is called Zweiter Mittelwertsatz.