Inequalities: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
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', [ | ineq1 = b.create('inequality', [line1], {inverse: true}), | ||
line2 = b.create('line', | line2 = b.create('line', [1, 2, -1]), | ||
ineq2 = b.create('inequality', [line2], {inverse: true}); | ineq2 = b.create('inequality', [line2], {inverse: true}); | ||