Static Model Simulation - Monte Carlo Simulation — Examples
Examples
1 Coin-tossing experiment. 1
Toss the coin for 1 million times and note down the outcomes.
2 Rolling-die experiment. 1
Roll the die for 1 million times and note down the outcomes.
3 Simulate π. 4 Evaluate the definite integral
b
a
g(x)dx.
5 Coin-tossing problem. 6 Birthday and nearly birthday problems. 7 Lottery problem. R.B. Lenin (rblenin@daiict.ac.in) () Introduction to Discrete SimulationIntroduction Autumn 2007 28 / 46