Source: http://fsjest.uae.ac.ma/fsjest/cours/bousalhami/TD%20MACRO%20S2%202020.pdf