Using SymPy to calculate Future Value and Present Value
Published in
3 min readOct 1, 2022
We use the following famous formula to calculate the future value of amounts that compound annually.
mathematically it is easy to calculate this using normal python functions. We are going to use the SymPy package to evaluate it as an expression. In the following example, we will calculate the compound interest of principal amount 100 after 3 years, compounded yearly…