Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

W11B - SAVINGS ACCOUNT Start with Dr. Lyvers .m file answer to ICE11B-Savings Account. Modify the code to be your answer to include the following

W11B - SAVINGS ACCOUNT Start with Dr. Lyvers .m file answer to ICE11B-Savings Account. Modify the code to be your answer to include the following corrections: (The rest of the problem remains the same as ICE11B. Dr. Lyvers .m file answer can be found in the answers to ICE11B)

1. In even number years, you deposit $500 in the middle of the year.

2. In years 5 and 9 you withdraw $2000 in the middle of the year.

Note: This is a 3 part question. Part 1: m-file, Part 2: Screenshot, Part 3: output value of P(13.3); Part 5 plot of account worth

Here is the code to use with the problem. How do I make the modifications to it? for the question above?

clear; clc

format ____ % set format to desired type

P(1) = ____; % opening balance/population

BR = ___; % Birth/Interest/growth rate as a decimal

DR = ___; % Death/fees/deprecation rate as a decimal

Period = __; % number of periods to iterate over

for t = 1:Period P(t+1) = P(t) + P(t)* (BR-DR); % any corrections as: P(t+1) = P(t+1)*___

end

P(length(P)) % Last value calculated

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

Auditory Interfaces

Authors: Stefania Serafin, Bill Buxton, Bill Gaver, Sara Bly

1st Edition

1032196459, 978-1032196459

More Books

Students also viewed these Accounting questions

Question

1. What are the pros and cons of diversity for an organisation?

Answered: 1 week ago

Question

1. Explain the concept of diversity and equality in the workplace.

Answered: 1 week ago