CommencerCommencer gratuitement

Growth and rate of return

Growth and Rate of Return are two concepts that are ubiquitous throughout the financial world. Recall that the cumulative returns from investing $100 in an asset that grows at 5% per year, over a 2 year period can be calculated as:

$$100*(1 + 0.05)^2$$

Cet exercice fait partie du cours

Introduction to Financial Concepts in Python

Afficher le cours

Instructions

  • Calculate the future value (cumulative return) of a $100 investment which grows at a rate of 6% per year for 30 years in a row and assign it to future_value.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Calculate the future value of the investment and print it out
future_value = ____
print("Future Value of Investment: " + str(round(future_value, 2)))
Modifier et exécuter le code