Answered step by step
Verified Expert Solution
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 to your Mandatory Provident Fund
MPF at the end of every month HKD 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
Let the user set a target monthly rate of return and the number of months.
Round the answer to the nearest dollar.
The output should resemble the following.
Enter a target MONTHLY rate of return without the sign:
Enter the number of months
With a monthly contribution of $ your MPF will worth $ after 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 eg monthly, annually Let the monthend 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
FVcc cr
Step 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