I am teaching a basic introduction to normal curves, and the textbook introduces the topic with the idea of rolling five dice and recording the sum. Do this many times and create a histogram of the results. (which looks more and more like the normal curve as the number of trials increases) My "code" to simulate this for 10000 rolls is below.
rolls = Table[Table[RandomChoice[Range[6]], {5}], {10000}];
sums = Total /@ rolls;
Histogram[sums, {0.5, 31.5, 1}]
I am way out of my depth here, but wondered if anyone could help with how to plot the "perfect" normal curve that would match the histogram?
I have the following to plot a normal curve, but for it to match the dice example, I need the mean and standard deviation, and how no idea what that would be.
Plot[PDF[NormalDistribution[0, 1], x], {x, -3, 3}, Ticks -> None,
Axes -> None]
Any help is appreciated.