Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a MATLAB script that will calculate the amount of money that accumulates in a money market account in one year. The program must accept

Write a MATLAB script that will calculate the amount of money that accumulates in a money market account in one year. The program must accept the following input from the user:

  • The initial deposit
  • The frequency of interest compounding. The choice are:
    • Monthly
    • Quarterly
    • Semiannually
    • Annually
  • The interest rate

Use a switch command to choose between the frequency of compounding options. Let the user know if they have not correctly selected one of the four options. Run the script using the following inputs: initial deposit = $1000, the interest rate is 5%.

NOTE: You will need to research the appropriate equations on your own

Answers: For the above options the total deposit will have grown to:

  • Monthly = $1.0512e+03
  • Quarterly = $1.0509e+03
  • Semiannually = $1.0506e+03
  • Annually = $1050

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_2

Step: 3

blur-text-image_3

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Explain the causes of indiscipline.

Answered: 1 week ago