Source: https://www.fdc.ma/FDC/coursdistant/supportsprof/Hamliri/Chap 2 Mathématiques financières.pdf