Hi,
Does anyone know of a java(?) simulator available on the Web that will allow me to model throws of dice?
I'm looking for something a bit more than standard throwing of two 6-sided dice.
For example scenario might be: Throw two 4-sided dice: 10, 100, 106 etc. times and record the resultant sum. Then counting number occurrences of all sums (from 2 through 8 ), determining frequency of occurrence. Then plot bar chart of sum (will be 2 through 8 ) against frequency so can see how shape alters according to number of trials - then compare against "theoretical" outcome
Next scenario would be to simulate throwing three 4-sided dice: 10, 100, 106 etc. times and doing the same procedure of counting number occurrences of all sums (from 3 through 12), determining frequency of occurrence. Then plot bar chart of sum against frequency.
Then simulate throwing 106 4-sided dice: 10, 100, 106 etc. times and repeat recording , calculating and plotting procedure from above.
My idea is trying to model the outcome of a system where particles are identical but have 4 equi-probable energy states. Then this information / model might feed through to the behaviour of systems with large numbers of particles and hence give me something to feed into an explanation of entropy and Gibbs Free energy.
The next stage would be to look at particles with different probability of states e.g. a dice with 50% probability coming up 1, 20% coming up 2, 15% coming up 3, 15% coming up 4. This could be modeled by a 20-sided dice with 10 sides valued/marked 1, 4 sides valued/marked 2, 3 sides valued/marked 3 and 3 sides valued/marked 4 - so the same java program could be used, with modified input parameters.
It seems to me the PC would be ideal for this modelling and to tackle a topic that is shied away from at GCE A-Level because of the computational burden or mathematical complexity to handle the statistics.
Ta,
Clive