Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have moved to Melbourne to start your life and decide to get into the property market as soon as possible. The house price is

You have moved to Melbourne to start your life and decide to get into the property market as soon
as possible. The house price is high and you want to save the money for some years (months) before
you could afford the down-payment (initial payment) of the house. In this part, we will program to
calculate how long you need to save for make the payment of the house.
There are few rules (variables) you need to define to calculate:
Call the cost of your home total_cost.
Call the portion of the cost needed for a initial payment portion_down_payment. For simplicity,
assume that portion_down_payment =0.15(15%).
Call the amount that you have saved so far as current_savings. You start with a current
savings of 0.
Assume that you invest your current savings wisely, with an annual return of r (in other words,
at the end of each month, you receive an additional current_savings r/12 funds to put into
your savings the r is an annual rate). Assume that your investments earn a return of r =0.04.
Assume your annual salary is annual_salary.
Assume you are going to dedicate a certain amount of your salary each month to saving for the
down payment. Call that portion_saved. This variable should be in decimal form.
At the end of each month, your savings will be increased by the return on your investment,
plus a percentage of your monthly salary (annual_salary/12).

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

More Books

Students also viewed these Finance questions