Question: 23. Use visual basic to perform the following tasks: a. Create a procedure which does the following i. Clears the content of the current worksheet.
23. Use visual basic to perform the following tasks: a. Create a procedure which does the following i. Clears the content of the current worksheet. i. Randomly generate 10 numbers between 1 and 10. Finds the mean and standard deviation of the numbers generated and stores them as variables. iii. b. Create a procedure which does the following i. Generates 10 random numbers from the Normal distribution using the mean and standard deviation found in part (a). Use the Application object and the RndO VBA function to generate the random numbers Graph the data generated in part (a) and the Normal random variables using a Line chart. ii. c. Create a procedure which does the following i. Generates 10 random numbers from the Exponential distribution using the mean found in part (a). Use the Application object and the Log0 and RndO functions to generate the random numbers. Graph the data generated in part (a) and the Exponential random variables using a Line chart
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
