{"version":9,"randomSeed":"10700ddef4d72f0c6051a0097dacf6c7","graph":{"viewport":{"xmin":-11.338425526677089,"ymin":-34.4579453556363,"xmax":111.9431447050194,"ymax":67.64970424772545}},"expressions":{"list":[{"type":"text","id":"2","text":"inspired by \"The unexpected logic behind rolling multiple dice and picking the highest.\" by Stand-up Maths (2022) https://www.youtube.com/watch?v=X_DdGRjtwAo"},{"type":"text","id":"10","text":"sides on dice"},{"type":"expression","id":"5","color":"#6042a6","latex":"s=60","slider":{"hardMin":true,"min":"1","step":"1"}},{"type":"text","id":"12","text":"number of trials"},{"type":"expression","id":"8","color":"#2d70b3","latex":"n=100000","slider":{"hardMin":true,"min":"1","step":"1"}},{"type":"text","id":"15","text":"expected value from picking the max of two dice"},{"type":"expression","id":"3","color":"#2d70b3","latex":"\\frac{\\sum_{j=1}^{n}\\max\\left(1+\\operatorname{floor}\\left(s\\operatorname{random}\\left(\\right)\\right),1+\\operatorname{floor}\\left(s\\operatorname{random}\\left(\\right)\\right)\\right)}{n}"},{"type":"text","id":"16","text":"results"},{"id":"20","type":"table","columns":[{"values":["6","8","12","16","20","30","48","60"],"hidden":true,"id":"18","color":"#388c46","latex":"s_{1}"},{"values":["4.46","5.81","8.48","11.14","13.81","20.47","32.46","40.45"],"id":"19","color":"#6042a6","latex":"y_{1}"}]},{"type":"expression","id":"22","color":"#c74440","latex":"y_{1}\\sim as_{1}","residualVariable":"e_{1}","regressionParameters":{"a":0.28558333333333336}}]}}