Secant and tangent: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 36: Line 36:
         graph = board.createElement('curve', ['x', polynomial, 'x', -10, 10], {curveType:'graph'});
         graph = board.createElement('curve', ['x', polynomial, 'x', -10, 10], {curveType:'graph'});


q = board.createElement('glider', [3,3,graph], {style:6});
q = board.createElement('glider', [4.5,0,graph], {style:6});
s = board.createElement('slider', [0,-3,4,0.001,1,1],{name:' '});
s = board.createElement('slider', [0,-3,4,0.001,1,1],{name:' '});
q2 = board.createElement('point', [function(){ return q.X()+s.X();},
q2 = board.createElement('point', [function(){ return q.X()+s.X();},

Revision as of 17:35, 10 January 2009