Difference between revisions of "Continuous function II"

From JSXGraph Wiki
Jump to navigationJump to search
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, 15], {curveType:'graph',strokeColor:'#00ff00'});
+
  graph = board.createElement('functiongraph', [f,0.00001, 15], {strokeColor:'#00ff00'});
  
 
  s = board.createElement('slider', [[0,-1],[4,-1],[0,1,1]],{name:' '});
 
  s = board.createElement('slider', [[0,-1],[4,-1],[0,1,1]],{name:' '});

Revision as of 12:28, 10 March 2009

References