Antiderivative: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (New page: <jsxgraph width="800" height="400" box="box"> var brd = JXG.JSXGraph.initBoard('box', {boundingbox:[-3,5,3,-3],axis:true}); var p = []; p.push(brd.create('point',[-2,(Math.random()-0.2)*5]...) |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
var brd = JXG.JSXGraph.initBoard('box', {boundingbox:[-3,5,3,-3],axis:true}); | var brd = JXG.JSXGraph.initBoard('box', {boundingbox:[-3,5,3,-3],axis:true}); | ||
var p = []; | var p = []; | ||
p.push(brd.create('point',[-2,(Math.random()-0.2)*5])); | p.push(brd.create('point',[-2,(Math.random()-0.2)*5],{name:''})); | ||
p.push(brd.create('point',[0,(Math.random()-0.2)*5])); | p.push(brd.create('point',[0,(Math.random()-0.2)*5],{name:''})); | ||
p.push(brd.create('point',[1,(Math.random()-0.2)*5])); | p.push(brd.create('point',[1,(Math.random()-0.2)*5],{name:''})); | ||
p.push(brd.create('point',[2.2,(Math.random()-0.2)*5])); | p.push(brd.create('point',[2.2,(Math.random()-0.2)*5],{name:''})); | ||
var f = brd.lagrangePolynomial(p); | var f = brd.lagrangePolynomial(p); |