Monte Carlo Simulation

Monte Carlo Simulations are a way to obtain results or solve complex mathematical problems that do not have an analytical solution. An example would be trying to calculator the value of the function pi. There is no known formula for pi that we could use to calculate it directly.

However, using Monte Carlo Simulations, we able to approximate its value.

https://en.wikipedia.org/wiki/Monte_Carlo_method

Monte Carlo methods vary, but tend to follow a particular pattern:

  1. Define a domain of possible inputs
  2. Generate inputs randomly from a probability distribution over the domain
  3. Perform a deterministic computation on the inputs
  4. Aggregate the results


No comments:

Post a Comment

Github CoPilot Alternatives (VSCode extensions)

https://www.tabnine.com/blog/github-copilot-alternatives/