Difference between revisions of "Power functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 11: Line 11:
 
b.createElement('axis', [[0,0], [0,1]], {});
 
b.createElement('axis', [[0,0], [0,1]], {});
 
//
 
//
var n = board1.createElement('slider', [0.75,-2.5,0,10,10,0], {name:'n'});
+
var n = b.createElement('slider', [0.75,-2.5,0,10,10,0], {name:'n'});
 
b.createElement('curve', [function(t){ return t; }, function(t){ return Math.sin(t); }, "t", -10, 10],{strokeColor: "#cccccc"});
 
b.createElement('curve', [function(t){ return t; }, function(t){ return Math.sin(t); }, "t", -10, 10],{strokeColor: "#cccccc"});
 
//
 
//

Revision as of 13:45, 15 December 2008