Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in Python. Solve b, c,d,e. 2. Jason got a job at age of 25 with a salary of 50k per year. He expects the

image text in transcribedimage text in transcribedWrite in Python.

Solve b, c,d,e.

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. (a) What will be Jason's salary in 40 years? (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: X'] = 50, Yi = 0, In+1 1.03.2n, Yn+1 = 1.07yn + 0.05xn. Here In 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 In 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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions