Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi I need help with part B and numpy must be used. Thanks in advance! You are required to work out the periodic investment amount
Hi I need help with part B and numpy must be used. Thanks in advance!
You are required to work out the periodic investment amount required given a target wealth to be achieved sometime in the future. For example, with an annual investment return of 2.5%, a monthly investment amount of $2,403 will yield a final wealth of $1,000,000 in 25 years' time. You are recommended to make use of existing python functions within your function to evaluate the required values. (a) Implementa function contribution calculator(target_wealth, rate, duration, periodicity) that will inform an investor the periodic contribution required in order to fulfill her financial goal. (10 marks) (b) Given the following 5 test cases, print the results from your function. Target Wealth Test Case Rate Duration (years) Periodicity (number of payments per year) 12 1 1,000,000 2.5% 25 2 1,000,000 2.5% 12 1 3 3,000,000 0.5% 25 12 4 3,000,000 12 4.0% 25 5 10 2. 2,000,000 3.0%
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