Question: Write a python function that computes the balance of a bank account with a given initial balance and interest rate, after a given number of

Write a python function that computes the balance of a bank account with a given initial balance and interest rate, after a given number of years. assume interest is compounded yearly. The function signature you will create will be:

futureValue(initialBalance, interestRate, years)

#return the calculated value

Ex. The answer for initial balance of 1000, interest rate of 6% and years of 10 is 1790.85. Future Value = Initial Balance (1+Interest Rate) years.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!