Chapter 10 Random Number
10.1 histogram of uniform random number
10.1 histogram of normal random number
10.1 simulating a dice
throw a dice 100 times
verifying dice simulation
10.2 calculating integral S
1
10.2 calculating multiple integral S
5
Problem 1 numerically calculate mean and variance of uniform random number
Problem 2 numerically calculate mean and variance of normal random number
Problem 3 calculate integral using Monte Carlo method
comparing numerical solution by Monte Carlo method and analytical solution