the longest altitude BE is equal to the median CD in length

						var board = JXG.JSXGraph.initBoard('box1', {
boundingbox: [-10, 10, 10, -10],showNavigation:false, showcopyright: false, axis: false,
});

var p1 = board.create('point', [4.5, -6],{face:'',fixed:true,label:{offset:[10,-12]}});
var p2 = board.create('point', [-9, -6],{face:'',fixed:true,label:{offset:[-10,10]}});
var p3 = board.create('point',[3, 6.3],{face:'',fixed:true});
var l1 = board.create('segment', [p1, p2]);
var l2 = board.create('segment', [p2, p3]);
var l3 = board.create('segment', [p3, p1]);
var mp1 = board.create('midpoint', [p1, p2],{face:'',label:{offset:[-5,-12]}});
var l4 = board.create('segment', [p3, mp1],);
var pp1 = board.create('perpendicularpoint', [p2,l3],{face:''});
var l5 = board.create('segment', [p2, pp1]);
 
board.create('text',[-5,9, function(){ return "CD = "+ l4.L().toFixed(1);}]);

board.create('text',[-5,8, function(){ return "BE = "+ l5.L().toFixed(1);}]);


					

The image appears in the following posts

Triangle posted 1 year ago

Scroll to Top