Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Thanks for your help. I would like to know the Python program or the mathematical equation to calculate the present value of total bonus for

Thanks for your help. I would like to know the Python program or the mathematical equation to calculate the present value of total bonus for this question.

image text in transcribed
Homework 2. Present Value of Annuity Your employer gives you a loyalty bonus of $100,000 at the end of every five years. Suppose this is the beginning of your first year at the company and you plan to retire at the company in 38 years. At the end of year 38, although there is no regular loyalty bonus, you will receive a one-time payment of 1 million. Assume the return is compounded annually and there is no income tax. Write a Python program to calculate the present value of the total bonus. 1) Let the user enter the discount rate. 2) Round the answer to two decimal places. The output should resemble the following. LA Upload both the . py file and code output screenshot (.jpg/.png) to Canvas. Enter the discount rate (without the $ sign) : 0.03 The total future bonus of $1.7 million is worth $729947.77 today. Press ENTER to exit. Hint: Note that there is a cash flow every five years, but potential returns are compounded annually. Let r be the discount rate and q = (1 + r) 5, and apply the following equation. cq + cq + ...+ can =.9-qn+1 1 - q Alternatively, you may sum up every term one by one, or come up with a loop. Remember there is another payment at the end of year 38

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

Infinity Properads And Infinity Wheeled Properads

Authors: Philip Hackney, Marcy Robertson, Donald Yau

1st Edition

3319205471, 9783319205472

More Books

Students also viewed these Mathematics questions

Question

Relax your shoulders

Answered: 1 week ago

Question

Keep your head straight on your shoulders

Answered: 1 week ago

Question

Be straight in the back without blowing out the chest

Answered: 1 week ago