Source: https://mathadoc.sesamath.net/Documents/college/5eme/5triangl/d13triangle.PDF