Question: Continuously Compounded Interest The formula for continously compounded interest is modeled by A = PeRt, where A is the amount earned, P is the principal,

 Continuously Compounded Interest The formula for continously compounded interest is modeled

Continuously Compounded Interest The formula for continously compounded interest is modeled by A = PeRt, where A is the amount earned, P is the principal, which is our initial investment, e is the Euler's constant, R is the annual rate of interest, and t is time in years. def compound_interest (principal, interest rate, time): - Given an initial investment (principal), return the amount earned using the formula for continously compounded interest: A = P*e**(R*t), where A = the amount earned, P = the principal (initial investment), e = the Euler's constant, R = the annual rate of interest, and t = time in years return "stub" # TODO: replace return "stub" with a correct return statement Suppose we decide to invest 50,000 dollars at the bank of CS8. The bank offers an interest rate of 8.0%. Assuming that our investment continously compounds interest, compute the amount of money earned after 10 years (use import math to be able to use math.e). As always, write pytest functions to verify that your function produces correct values

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!