Power functions: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
b.createElement('axis', [[0,0], [0,1]], {}); | b.createElement('axis', [[0,0], [0,1]], {}); | ||
// | // | ||
var n = b.createElement('slider',[0.0,-2,10, | var n = b.createElement('slider',[0.0,-2,10,0,10,0],{name:'n'}); | ||
var | var m = b.createElement('slider',[0.0,-4,10,0,10,1],{name:'m'}); | ||
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 11:48, 15 December 2008