1785

A tetrahedron die is a four-sided die with labels {1, 2, 3, 4}. Write a function that rolls 10 tetrahedron die and computes the average. Now use the replicate command to repeat this 1000 times. Take the grand average of your 1000 averages.