Source: http://users.polytech.unice.fr/~labonte/documents/Optique/TD.pdf