Ellipsis: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
var s2 = board.create('segment', [f2,P]); | var s2 = board.create('segment', [f2,P]); | ||
var txt = board.create('text', [ | var txt = board.create('text', [1, 4, () => "|Pf| + |Pf'| = " + P.Dist(f1).toFixed(2) + ' + ' + P.Dist(f2).toFixed(2) + ' = ' + (P.Dist(f1) + P.Dist(f2)).toFixed(2)]); | ||
</jsxgraph> | </jsxgraph> |