Main scripts

Example 1: mc_ex1.m

Estimating area under y=x^2 on the interval [1,2].

Example 2: mc_ex2.m

Simulating the CDF of the standard normal distribution using the built-in random number generator.

Example 3: mc_ex3.m

Estimating pi by estimating the area of a circle.

Example 4: mc_ex4.m

Simulation of an M/M/1 queue using random numbers from exponential distibutions.