Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(c) Suppose you want to deposit a certain amount annually into an account that earns interest with a target amount in mind. Write a function

image text in transcribed

(c) Suppose you want to deposit a certain amount annually into an account that earns interest with a target amount in mind. Write a function target Balance.m that accepts the initial deposit, amount deposited annually, the interest rate, and the number of times interest is compounded annually, and the target amount the user is seeking. Return to the user the time in years) needed to reach the target amount, as well as, a table with all annual values. Provide the user with a graphical representation of the growth. Run your function with the following values: annual deposit $10,000 $10,000 $5,000 $10,000 rate 9% 9% 8% 5% frequency target value quarterly $1,000,000 annually $1,000,000 semi-annually $1,000,000 annually $1,000,000 (c) Suppose you want to deposit a certain amount annually into an account that earns interest with a target amount in mind. Write a function target Balance.m that accepts the initial deposit, amount deposited annually, the interest rate, and the number of times interest is compounded annually, and the target amount the user is seeking. Return to the user the time in years) needed to reach the target amount, as well as, a table with all annual values. Provide the user with a graphical representation of the growth. Run your function with the following values: annual deposit $10,000 $10,000 $5,000 $10,000 rate 9% 9% 8% 5% frequency target value quarterly $1,000,000 annually $1,000,000 semi-annually $1,000,000 annually $1,000,000

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions