Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Any help would be appreciated! Please use MATLAB :) The balance B of a savings account after t years when a principal P is invested

Any help would be appreciated! Please use MATLAB :)
image text in transcribed
The balance B of a savings account after t years when a principal P is invested at an annual interest rate r (in decimal) and the interest is compounded n times a year is given by: B=P(1+nr)nt If the interest is compounded yearly, the balance is given by: B=P(1+r)t Suppose $8,500 is invested for 12 years in one account for which the interest is compounded yearly. In addition, $6,000 is invested in a second account in which the interest is compounded quarterly. In both accounts the interest rate is 6.25%. Use MATLAB by writing a custom function, named getYeat, to determine how many years it would take for the balance in the second account to be the same as the balance of the first account after 12 years. Hint: Use frointf for your output. Your output should look like this (the obtained year should be display by two decimal places). It would take ??? years for 6000 dollars to reach 8500 dollars

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

3. Contrast relational contexts in organizations

Answered: 1 week ago

Question

2. Describe ways in which organizational culture is communicated

Answered: 1 week ago

Question

1. Describe and compare approaches to managing an organization

Answered: 1 week ago