Secant and tangent: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 80: | Line 80: | ||
var g = function(x) { return (x<=0)?0:1; }; | var g = function(x) { return (x<=0)?0:1; }; | ||
graph = board.createElement('curve', ['x', | graph = board.createElement('curve', ['x', g, 'x', -10, 10], {curveType:'graph'}); | ||
qg = board.createElement('glider', [0,0,graph], {style:6}); | qg = board.createElement('glider', [0,0,graph], {style:6}); |
Revision as of 13:44, 16 January 2009