Continuous function II: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (New page: <html> <link rel="stylesheet" type="text/css" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css" /> <script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/pro...) |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
var f = function(x) { return 1.0/x; }; | var f = function(x) { return 1.0/x; }; | ||
graph = board.createElement('curve', ['x',f, 'x', 0.00001, | graph = board.createElement('curve', ['x',f, 'x', 0.00001, 15], {curveType:'graph',strokeColor:'#00ff00'}); | ||
s = board.createElement('slider', [0,-2,4,0,1,1],{name:' '}); | s = board.createElement('slider', [0,-2,4,0,1,1],{name:' '}); |