Difference between revisions of "Parabola II"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 18: | Line 18: | ||
var s2 = board.create('segment', [q, P]); | var s2 = board.create('segment', [q, P]); | ||
− | var txt = board.create('text', [0.2, 4, () => "|Pf| | + | var txt = board.create('text', [0.2, 4, () => "|Pf| - |Pq| = " + P.Dist(f).toFixed(2) + ' - ' + P.Dist(q).toFixed(2) + ' = ' + (P.Dist(f) - P.Dist(q)).toFixed(2)]); |
</jsxgraph> | </jsxgraph> |