Source: https://mathematiques.lmrl.lu/Cours/Cours_2e/2CD-trigonometrie.pdf