Extended mean value theorem: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 5: Line 5:
board.suspendUpdate();
board.suspendUpdate();
p[0] = board.create('point', [-2,-2], {size:2});
p[0] = board.create('point', [-2,-2], {size:2});
p[1] = board.create('point', [-3, 5], {size:2});
p[1] = board.create('point', [-1.5, 5], {size:2});
p[2] = board.create('point', [1,4], {size:2});
p[2] = board.create('point', [1,4], {size:2});
p[3] = board.create('point', [3,-2], {size:2});
p[3] = board.create('point', [3,-2], {size:2});
var x = JXG.Math.Numerics.lagrangePolynomial(p);
 
/*
var f = JXG.Math.Numerics.lagrangePolynomial(p);
 
var graph = board.create('functiongraph', [f,-10, 10]);
var graph = board.create('functiongraph', [f,-10, 10]);


Line 22: Line 23:
board.create('tangent', [r], {strokeColor:'#ff0000'});
board.create('tangent', [r], {strokeColor:'#ff0000'});
line = board.create('line',[p[0],p[1]],{strokeColor:'#ff0000',dash:1});
line = board.create('line',[p[0],p[1]],{strokeColor:'#ff0000',dash:1});
*/
 
board.unsuspendUpdate();
board.unsuspendUpdate();
</jsxgraph>
</jsxgraph>

Revision as of 14:50, 29 January 2019

The underlying JavaScript code