Hacker News new | ask | show | jobs
by adancalderon 1138 days ago
We can do math integration and solve radiation transport problems with Monte Carlo.
4 comments

It was actually invented for this.

Open source radiation transport Monte Carlo code here if you'd like to play around:

https://github.com/openmc-dev/openmc

and ENIAC's first programs were Monte Carlo simulations.
yep its beautiful how this can be done, its basically just taking the mean of values of function derived from random values from a uniform distribution of points in a specific range. Once done many times, we can approximate the integration value. Because E[X] = integration (f(u)p(u)du), p(u) will be 1 as the number is derived from a uniform distribution in the range of u.
Any integral you can sample can be solved with monte carlo methods. This doesn't really have anything to do with the link.
Actually it does, because MC integration works due to the law of large numbers - exactly what is presented in the article.
Right, that's what is in the article, but just naming a random arbitrary use doesn't make any sense.
Some people actually find learning new things to be interesting and would therefore appreciate a comment giving them a new avenue of exploration to pursue.
Yep, several particle accelerator studies use it to model neutrino's.