GitXplorerGitXplorer
Z

monte-carlo

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b233e06c3df43f312c1b038d52312d8b94c28c89

Commit

committed 6 years ago
Unverified
e75ce5ed786f303e9e5e698ad52edec3597f60db

First commit

committed 6 years ago

README

The README file for this repository.

Monte Carlo

Using Monte Carlo method to calculate the unit quarter circle area(Pi/4) in Matlab.

Getting started

Usage

  • Set the sample size in monteCarlo.m

    2 totalPointCounts = [100, 1000, 1000]
  • Run monteCarlo.m

Testing

Sample size:

totalPointCounts = [100, 1000, 1000]

100 points:

100 points

1000 points:

1000 points

10000 points:

10000 points

Result:

result