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