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