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
Get step-by-step solutions from verified subject matter experts
