Affine ratio: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
var q = board.create('point', [3,0], {name: 'q'}); | var q = board.create('point', [3,0], {name: 'q'}); | ||
var pq = board.create('segment', [p, q]); | var pq = board.create('segment', [p, q]); | ||
var t = board.create('glider', [-2, pq], {name: 't'}); | var t = board.create('glider', [-2, 0, pq], {name: 't'}); | ||
var txt = board.create(text, [1, 2, function() { return "λ =" + t.position.toFixed(2); }]); | var txt = board.create(text, [1, 2, function() { return "λ =" + t.position.toFixed(2); }]); | ||
</jsxgraph> | </jsxgraph> |