Answered step by step
Verified Expert Solution
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
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 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 50KStep 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