Difference between revisions of "Slider"

From JSXGraph Wiki
Jump to navigationJump to search
Line 12: Line 12:
 
var s = b.createElement('slider',[[1,-3],[5,-3],[1,2,5]]);
 
var s = b.createElement('slider',[[1,-3],[5,-3],[1,2,5]]);
 
var a = b.createElement('point',[
 
var a = b.createElement('point',[
                       function(){return s.Value()-;},2
+
                       function(){return s.Value()-2;},2
 
                       function(){return 1/s.Value();}
 
                       function(){return 1/s.Value();}
 
                       ]);
 
                       ]);
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 15:31, 25 January 2009

Sliders enable a convenient way to experiment with mathematical constructions. Example: