You are on page 1of 4

4: Monde Carlo

:
:
: 7o
: ge13551

Monde Carlo
.
.
, x1,x2,x3
f(x) .
f(x)
. .

seed : 1789
1) seed
bins .

Example 1: bins

: 10.000
bins: 10
:

: 100.000
bins: 20
:

: 1.000.000
bins : 40
:

:
bins

Example 2: bins(~100)

: 1.000
bins:10
:
: 1.000.000
bins: 150
:

: 2.000.000
bins:100
:

: 5.000.000
bins:100
:

: 5.000.000
bins: 200
:

: (~1.000.000)
, bins .

2)
seed2: 327

Random Number Pi/4 Delta pi/4


10 0.50 0.122474
50 0.7600 0.056991
100 0.79 0.039484
500 0.808 0.017501
1000 0.783 0.012997
10000 0.7881 0.004085
100000 0.786840 0.001295

: R.N.(Random Number) pi/4


t Number of neutrons
0 10000
100 8917
200 7967
300 7126
400 6374
500 5702
600 5089
700 4538
800 4053
900 3628
1000 3241
1100 2908
1200 2592
1300 2308
1400 2062
1500 1843
1600 1645
1700 1469
1800 1309
1900 1170
2000 1040
2100 935
2200 834
2300 743
2400 667
2500 593
2600 529
2700 472

radiodec2.m
t.

4)
/4 f(x) = 1 / (1 + x2)
1

f dx = /4
0

<f(x)> = 1/ f(x) = count1/N


<f2(x)> = 1/N f2(x) = count2/N


f(x) f(x) = sqrt{(count2/N (count1/n)2)N}

You might also like