what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals please. example
n=1; (1 year) i=5%; (rate) y_correct = 95.12 (present value of 100$)
Back to basics 8 - Matrix Diagonals
707 Solvers
Output any real number that is neither positive nor negative
250 Solvers
213 Solvers
Celsius to Fahrenheit converter
280 Solvers
194 Solvers
Solution 1378817
Please check this. Am I misreading your problem statement? AFAIK my code here implements the standard formula.
to clarify what you are doing is a yearly compounded interest, what is asked is continuously compounded interest rate!
Ah. Thank-you. That was the part I wasn't getting. For the benefit of others: . . . "Continuous compounding is the mathematical limit that compound interest can reach. It is an extreme case of compounding since most interest is compounded on a monthly, quarterly or semiannual basis. Hypothetically, with continuous compounding, interest is calculated and added to the account's balance every infinitesimally small instant. While this is not possible in practice, the concept of continuously compounded interest is important in finance." (investopedia.com) . . . Also there is a nice explanation at moneychimp.com .