Difference between revisions of "Inequalities"

From JSXGraph Wiki
Jump to: navigation, search
Line 2: Line 2:
 
(function() {
 
(function() {
 
var b = JXG.JSXGraph.initBoard('box1', {boundingbox: [-5, 5, 5, -5], axis:true});
 
var b = JXG.JSXGraph.initBoard('box1', {boundingbox: [-5, 5, 5, -5], axis:true});
var c = b.create('slider', [[-3,4], [2,4], [-5,1,5]]),
+
var c = b.create('slider', [[-3,4], [2,4], [-5,0,5]]),
     line = b.create('line', [function() { return [c.Value(), 1, 2]; }]);
+
     line = b.create('line', [function() { return [c.Value(), 2, -1]; }]);
 
})();
 
})();
 
</jsxgraph>
 
</jsxgraph>

Revision as of 14:43, 16 December 2014