Source: http://quic.ulb.ac.be/_media/teaching/Mec_Quant_TP2_Corr_2014.pdf