Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem #4: For the following problem, you are to create a Macro using the Record Macro functionality. Assuming that your computer allows Macros, you may
Problem #4: For the following problem, you are to create a Macro using the Record Macro functionality. Assuming that your computer allows Macros, you may have to turn this feature on by using Customize Ribbon to add the Developer tab. Customize Ribbon might be found under Options from a File or Home screen in Excel. NOTE FOR MAC USERS Create an Excel sheet with the following headings: A B D E F G H 1 2 dt Randomized Quarterly interest rate Total after 20 years $ 3 0.25 4 5 Time Total with interest Total =C6+D6 6 0 Random outcomes for total after 20 years for different random rates 7 0.25 =C7+D7 8 0.5 0.75 Deposit 9 10 1 11 1.25 12 You are to start with an initial deposit of $22,000. Your Total will earn interest each quarter at a rate that will appear in cell C3. At the end of each year, you will put in an additional deposit of: $1000 at the end of the first year - $2000 at the end of the second ... and so on until you deposit $20,000 at the end of year 20 The Total after 20 years in cell G3 will be set equal to the cell at the bottom of the table that contains the Total immediately after you deposited that last $20,000. The quarterly compounding interest rate that you will earn will be a random number chosen by Excel in cell C3. In C3 you are to enter: =3.28% + 3%*rand() The function rand() selects a random number from a uniform distribution between 0 and 1. If you press "recalculate a few times (F9 on PCs), you should see different possible outcomes appear in cell G3 depending on the quarterly interest rate that the investment realized over those 20 years. You are to create a macro to record 500 random outcomes from cell G3, and save them in a column of cells beginning at G8 and going down. Instructions for creating the Macro are here. When you have the 500 outcomes in column G, have excel compute the maximum of those 500 numbers, the minimum, and the median. (a) What is the maximum value that you achieved? (b) What is the minimum value that you achieved? (c) What is the median value that you achieved? Problem #4: For the following problem, you are to create a Macro using the Record Macro functionality. Assuming that your computer allows Macros, you may have to turn this feature on by using Customize Ribbon to add the Developer tab. Customize Ribbon might be found under Options from a File or Home screen in Excel. NOTE FOR MAC USERS Create an Excel sheet with the following headings: A B D E F G H 1 2 dt Randomized Quarterly interest rate Total after 20 years $ 3 0.25 4 5 Time Total with interest Total =C6+D6 6 0 Random outcomes for total after 20 years for different random rates 7 0.25 =C7+D7 8 0.5 0.75 Deposit 9 10 1 11 1.25 12 You are to start with an initial deposit of $22,000. Your Total will earn interest each quarter at a rate that will appear in cell C3. At the end of each year, you will put in an additional deposit of: $1000 at the end of the first year - $2000 at the end of the second ... and so on until you deposit $20,000 at the end of year 20 The Total after 20 years in cell G3 will be set equal to the cell at the bottom of the table that contains the Total immediately after you deposited that last $20,000. The quarterly compounding interest rate that you will earn will be a random number chosen by Excel in cell C3. In C3 you are to enter: =3.28% + 3%*rand() The function rand() selects a random number from a uniform distribution between 0 and 1. If you press "recalculate a few times (F9 on PCs), you should see different possible outcomes appear in cell G3 depending on the quarterly interest rate that the investment realized over those 20 years. You are to create a macro to record 500 random outcomes from cell G3, and save them in a column of cells beginning at G8 and going down. Instructions for creating the Macro are here. When you have the 500 outcomes in column G, have excel compute the maximum of those 500 numbers, the minimum, and the median. (a) What is the maximum value that you achieved? (b) What is the minimum value that you achieved? (c) What is the median value that you achieved
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