Difference between revisions of "Antiderivative"

From JSXGraph Wiki
Jump to navigationJump to search
Line 10: Line 10:
 
var plot = brd.create('functiongraph',[f,-3,3]);
 
var plot = brd.create('functiongraph',[f,-3,3]);
 
var s = brd.create('glider',[-2,0,plot],{name:'drag me'});
 
var s = brd.create('glider',[-2,0,plot],{name:'drag me'});
var int = brd.create('integral',[[p[0],s],plot],{});
+
var int = brd.create('integral',[[function(){return p[0].X();},function(){return s.X();}],plot],{});
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 13:09, 14 May 2010

The underlying JavaScript code