Source: https://mathematoques.weebly.com/uploads/1/2/0/3/12036729/2n5_second_degr_homographiques_trigo_cours_lhg_2ndes_2011-2012.pdf