Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in Python 2. Jason got a job at age of 25 with a salary of 50k per year. He expects the salary to go

image text in transcribedimage text in transcribedimage text in transcribedWrite in Python

2. Jason got a job at age of 25 with a salary of 50k per year. He expects the salary to go up at a rate of 3% per year, and he expects to retire in 40 years at the age of 65. . = (b) Jason wants to save for his retirment. He decides to invest 5% of his earnings at the end of each year into a pension fund. The pension fund is expected to grow at a rate of 7% a year. We can model this using the following dynamical system: x1=50, y1=0, xn+1 1.03xn, yn+1 = 1.07.yn + 0.05xn Here xn denotes the salary at the end of year n and yn is the amount in the pension fund ate the end of year n. Write a Python program to compute xn and yn, n = 1, 40. Print out the salary and pension plan amounts each year. . (C) Suppose Jason wants to retire with 1 millon dollars in his account. What percentage of his earnings should he invest each year? (d) The pension fund is designed pay out for 20 years, on average (as Jason is expected, on average, to live to 85 years old). Jason wants to be paid out a yearly pension equivalent to 60% of his salary at the end of his career. What percentage of his earnings should he invest each year? (e) Redo question (d), but with the starting salary of 100K instead of 50K

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

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

Question What are the requirements for a safe harbor 401(k) plan?30

Answered: 1 week ago