Differentiability: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (Created page with "<jsxgraph box="box" width="600" height="400"> board = JXG.JSXGraph.initBoard('box', { boundingbox: [-5, 10, 7, -6], axis: true, showClearTrace: true, showFull...") |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
p[1] = board.create('point', [-0.5,1], {size:2, color:'blue'}); | p[1] = board.create('point', [-0.5,1], {size:2, color:'blue'}); | ||
p[2] = board.create('point', [2,0.5], {size:2, color:'blue'}); | p[2] = board.create('point', [2,0.5], {size:2, color:'blue'}); | ||
p[3] = board.create('point', [6,5], {size:2}); | p[3] = board.create('point', [6,5], {size:2, color:'blue'}); | ||
var pol = JXG.Math.Numerics.lagrangePolynomial(p); | var pol = JXG.Math.Numerics.lagrangePolynomial(p); | ||
graph = board.create('functiongraph', [pol, -10, 10]); | var graph = board.create('functiongraph', [pol, -10, 10]); | ||
var x_0 = board.create('glider', [4.5, 0, board.defaultAxes.x], {name: 'x_0', size:4}); | |||
/* | /* | ||
q2 = board.create('point', [function(){ return q.X()+Math.max(s.Value(),0.01);}, | q2 = board.create('point', [function(){ return q.X()+Math.max(s.Value(),0.01);}, | ||
function(){ return pol(q.X()+Math.max(s.Value(),0.01));}], {face:'[]',size:2}); | function(){ return pol(q.X()+Math.max(s.Value(),0.01));}], {face:'[]',size:2}); |