Parabola II: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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> |