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 with AI-Powered 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

Principles of Economics

Authors: Fred M. Gottheil

7th edition

978-1133962069, 9781285064444, 1133962068, 1285064445, 978-1285064437

Students also viewed these Mathematics questions