I suck at stats but isn't the expected value of Math.random E=0.5? Which makes the result Ex11x2 = 11?
EDIT: I do suck. The expected value of Math.random*11 is 5.5, which floors to 5. Thus the total is 10.
EDIT: I do suck. The expected value of Math.random*11 is 5.5, which floors to 5. Thus the total is 10.
No comments yet.