Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.32 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.32 KB

Вычесление числа PI методом Монте-Карло

Это деплой данного сайта, где можно поиграть с результатами вычеслений числа PI при разных входных

200x200

1 2 3 4 5 6 7 8
N 1 10 100 1000 10000 100000 1000000 10000000
PI 4.00000 2.80000 3.08000 3.19200 3.15040 3.13820 3.14192 3.14182
Δ 0.85841 -0.34159 -0.06159 0.05040 0.00880 -0.00339 0.00032 0.00022
Δ% 27.32372% -10.87314% -1.96047% 1.60428% 0.28011% -0.10790% 0.01018% 0.00700%

10000000, 200x200

200x200

500x500

1 2 3 4 5 6 7 8
N 1 10 100 1000 10000 100000 1000000 10000000
PI 4.00000 2.80000 3.12000 3.12800 3.13160 3.14604 3.14006 3.14236
Δ 0.85841 -0.34159 -0.02159 -0.01359 -0.00999 0.00445 -0.00153 0.00077
Δ% 27.32395% -10.87323% -0.68732% -0.43267% -0.31808% 0.14156% -0.04879% 0.02443%

10000000, 500x500

500x500

1000x1000

1 2 3 4 5 6 7 8
N 1 10 100 1000 10000 100000 1000000 10000000
PI 4.00000 3.20000 3.04000 3.10000 3.11480 3.14120 3.14097 3.14157
Δ 0.85841 0.05841 -0.10159 -0.04159 -0.02679 -0.00039 -0.00062 -0.00002
Δ% 27.32395% 1.85916% -3.23379% -1.32394% -0.85284% -0.0125% -0.01982% -0.00072%

10000000, 1000x1000

1000x1000