Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume you and your employer each contribute HD 5 0 0 to your Mandatory Provident Fund ( MPF ) at the end of every month

Assume you and your employer each contribute HD 500 to your Mandatory Provident Fund
(MPF) at the end of every month (HKD 1,000 in total). Suppose the beginning account balance is zero, and the return is compounded monthly. Write a Python program to calculate the future value of the MPF.
1) Let the user set a target monthly rate of return and the number of months.
2) Round the answer to the nearest dollar.
The output should resemble the following.
Enter a target MONTHLY rate of return (without the % sign): 0.05
Enter the number of months5
With a monthly contribution of $1000, your MPF will worth $5526 after 5 months.
Follow the same submission requirement (py file and screenshot) as before.
Hint: You may apply the formula below or use loops.
An ordinary annuity is a series of future cash flows paid out evenly at the end of every period (e.g., monthly, annually). Let the month-end contribution amount be c, the monthly rate be r.
Assume the return is compounded monthly. Using the summation of geometric progressions', the total value in n months is
FV=c+c(1+7)+041+4)24.+061+7)1-1=6.1-(1+7)9= c.(1+r)"-1

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_2

Step: 3

blur-text-image_3

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