"This code calculates the theoretical expectation value and uncertainty of dice rolls and simulates several sets of rolls and the experimental statistics." "$$ \\langle v \\rangle \\approx \\frac{1}{N ...