We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In book3-6.1Returning to the Cornell Box: Remember Monte Carlo basics: ∫f(x)≈∑f(r)/p(r) ..., Shouldn't the correct formula be ∫f(x)≈(1/N)*∑f(r)/p(r)?
Remember Monte Carlo basics: ∫f(x)≈∑f(r)/p(r) ...
∫f(x)≈(1/N)*∑f(r)/p(r)
The text was updated successfully, but these errors were encountered:
Maybe the correct formula is ∫f(x)dx≈(1/N)*∑f(r)/p(r)?
∫f(x)dx≈(1/N)*∑f(r)/p(r)
Sorry, something went wrong.
This is definitely a typo. From the wikipedia artice on Monte Carlo integration the correct formula should be:
$$ \int f(x) dx \approx \frac 1 N \sum_{i=0}^{N-1} \frac {f(x_i)} {p(x_i)} $$
Related to #1534
trevordblack
No branches or pull requests
In book3-6.1Returning to the Cornell Box:
Remember Monte Carlo basics: ∫f(x)≈∑f(r)/p(r) ...
,Shouldn't the correct formula be
∫f(x)≈(1/N)*∑f(r)/p(r)
?The text was updated successfully, but these errors were encountered: