Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Python. please show me the output and which python are you using. thank you. Cost of home: $620,000. You currently have zero ($0) savings,

image text in transcribed
Using Python. please show me the output and which python are you using. thank you. Cost of home: $620,000. You currently have zero ($0) savings, so you'll need to save for the 20% down payment, and finance the rest. Luckily, you have good credit. You have good credit, don't you? You will be smart with your savings and deposit them in a high interest bearing account. The current APY (annual percentage yield) of savings accounts is somewhere around 1.85%. That is, r=0.0185 per year. The savings account you've chosen accrues interest on a monthly basis (interest is compounded monthly). So, you will receive savings (C/12) of interest every month on your account balance. Your salary is $65,000 a year, before taxes. o DC income tax rates for a single person making $65,000 a year is 8.5%. The Federal income tax rate for a single person making $65,000 a year is 22%. And the FICA (Federal Insurance Contributions Act) tax, combined with the Medicare tax, rate is 7.65%. That is, your take home pay is $65,000(1-0.085-0.22-0.0765)=$40,202.50 You will be saving a portion of your monthly salary every month for the down-payment of your home, say fifteen percent (15%). After all, you still need to eat, pay rent, drink coffee, etc... At the end of every month, your savings will increase by the return on your investment plus the portion of your salary saved. Part A Take all of the above information and write a function that calculates how long it will take you to save up for the down payment, in months, of your new home. Your function should take as arguments the following variables: the cost of the home; annual, pre-tax, salary; the percentage of the salary saved each month; and, the annual savings rate paid by the savings account (apy). For example, a person with a salary of $80,000 a year, at an annual savings rate of 2% APY, saving 15% of their monthly salary, for a home valued at $500,000, will take 144 months (or 12 years) to save for the 20% down payment. months (500000, 80000, 0.15, 0.02) 144

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

3. Is IBMs program really a mentoring program? Why or why not?

Answered: 1 week ago