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 .
Vectorize the digits of an Integer
Generate a NaN...on purpose
y equals x divided by 2
Test Problem; Create a 5x5 array containing all ones
Sum the rows
Jack's hand in "Titanic" ♤
short or buy ? take the opportunity
lb to kilogram
remove every row&col for every nan
basic finance application
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office