Thales theorem: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 17: Line 17:
var t2 = board.create('intersection', [l4, l2], {name: 't_2'});
var t2 = board.create('intersection', [l4, l2], {name: 't_2'});


var txt1 = board.create('text', [-2, -2, function() { return 'TV(p,q_1,t_1) = ' + (t1.dist(p) / q1.dist(p)).toFixed(2); }]);
var txt1 = board.create('text', [-2, -2, function() { return 'TV(p,q_1,t_1) = ' + (t1.Dist(p) / q1.Dist(p)).toFixed(2); }]);
</jsxgraph>
</jsxgraph>



Revision as of 17:43, 2 May 2021


The underlying JavaScript code