Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 Randomized Quarterly interest rate 2 dt 0.25 Total after 20 years $ 4 Time Total with interest Total =C6+D6 =C7+D7 Random outcomes for total after 20 years for different random rates m to 00 A o 0.25 0.5 0.75 Deposit 9 10 11 1 1.25 You are to start with an initial deposit of $21,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.65% + 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? 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 Randomized Quarterly interest rate 2 dt 0.25 Total after 20 years $ 4 Time Total with interest Total =C6+D6 =C7+D7 Random outcomes for total after 20 years for different random rates m to 00 A o 0.25 0.5 0.75 Deposit 9 10 11 1 1.25 You are to start with an initial deposit of $21,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.65% + 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