Difference between revisions of "Antiderivative"

From JSXGraph Wiki
Jump to navigationJump to search
(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]...)
 
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);

Revision as of 13:04, 14 May 2010

The underlying JavaScript code