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