Answered step by step
Verified Expert Solution
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
(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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started