Aan de slagGa gratis aan de slag

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$$

Deze oefening maakt deel uit van de cursus

Introduction to Financial Concepts in Python

Cursus bekijken

Oefeninstructies

  • 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.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Calculate the future value of the investment and print it out
future_value = ____
print("Future Value of Investment: " + str(round(future_value, 2)))
Code bewerken en uitvoeren