Question: Please do work in Excel and show the code used Write a VBA script that randomly simulates the roll of a pair of six-sided dice

 Please do work in Excel and show the code used Write

Please do work in Excel and show the code used

Write a VBA script that randomly simulates the roll of a pair of six-sided dice and writes the sum of the roll to column A of the worksheet. The function should stop once the average of all rolls varies by less than 1% from the true expected value. Run the script three times and report how many rolls were needed for each attempt. Also, provide your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!