Secant and tangent: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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', [ | q = board.createElement('glider', [0,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()+Math.max(s.X(),0.01);}, | q2 = board.createElement('point', [function(){ return q.X()+Math.max(s.X(),0.01);}, |
Revision as of 13:41, 16 January 2009