This Live Script explores the probability distribution for the sum of top faces of dice when the dice have the same or different numbers of faces. In addition to direct calculation, analytic methods using probability and moment generating functions are used to characterise the distributions. The code explores up to three dice in each throw but is readily extended.
This script is motivated by a physics education game (Andrea Bussani, Duhdohnium: A Dice Game to Introduce Middle and High School Students to Non- elementary Systems Phys. Teach. 58, 167 (2020); https://doi.org/10.1119/1.5145406 ) in which students attempt to deduce the number of dice and the dice types from experiments with dice fabricated as various Platonic solids.
引用格式
Duncan Carlsmith (2024). Duhdohnium (https://www.mathworks.com/matlabcentral/fileexchange/97602-duhdohnium), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
致谢
启发作品: DiceSums
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!