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