Trekantens medianer skæres i et punkt. Medianen er den linje, der forbinder et hjørne med midtpunktet af den modstående side. Du kan flytte trekantens hjørner, A, B og C, med musen. Læg mærke til, at de tre medianer altid har et fælles punkt, P.
Figure figure = Position [0,0] Size[x,y] Origin[x/3,y/2] Unit x/12 Color "white";
//Axes axes = Color "black";
//Grid grid = Color "blue";
//Units units = Color "black";
Point A = [-2,-2] Free Size 2.5 Color "red";
Point B = [5,-2] Free Size 2.5 Color "red";
Point C = [0,2] Free Size 2.5 Color "red";
Label laba = "A" At A Offset [10,-5] Color "black";
Label labb = "B" At B Offset [10,-5] Color "black";
Label labc = "C" At C Offset [10,-5] Color "black";
Line ab = Start A Dir B-A Size 1 Color "black";
Line bc = Start B Dir C-B Size 1 Color "black";
Line ca = Start C Dir A-C Size 1 Color "black";
Line ma = Start A Dir (B+C)/2-A Size 1 Color "blue";
Line mb = Start B Dir (A+C)/2-B Size 1 Color "blue";
Line mc = Start C Dir (B+A)/2-C Size 1 Color "blue";
Point P = intersect(A,(B+C)/2,B,(A+C)/2) Size 2.5 Color "blue";
Label labp = "P" At P Offset [10,-5] Color "black";