Source: https://www.maths-inter.ma/wp-content/uploads/2017/09/1C_08_In%C3%A9g-Triangulaire-M%C3%A9d_Cr1AF_Ammari.pdf