Difference between revisions of "Inequalities"

From JSXGraph Wiki
Jump to: navigation, search
Line 3: Line 3:
 
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,0,5]]),
 
var c = b.create('slider', [[-3,4], [2,4], [-5,0,5]]),
     line1 = b.create('line', [function() { return [c.Value(), 0, -1]; }]);
+
     line1 = b.create('line', [function() { return [c.Value(), 0, -1]; }]),
     ineq1 = b.create('inequality', [line2], {inverse: true});
+
     ineq1 = b.create('inequality', [line2], {inverse: true}),
  
     line2 = b.create('line', [function() { return [1, 2, -1]; }]);
+
     line2 = b.create('line', [function() { return [1, 2, -1]; }]),
 
     ineq2 = b.create('inequality', [line2], {inverse: true});
 
     ineq2 = b.create('inequality', [line2], {inverse: true});
  

Revision as of 14:52, 16 December 2014