mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Added math labels to posts that use mathjax
This commit is contained in:
parent
8d4b1536a0
commit
f78b4525ff
7 changed files with 9 additions and 2 deletions
|
@ -21,6 +21,7 @@ mf2_syndication:
|
|||
format: aside
|
||||
kind:
|
||||
- note
|
||||
math: true
|
||||
---
|
||||
Using Monte Carlo methods, we can create a simulation that approximates pi. In this post, we will go over the math behind the approximation and the code.
|
||||
|
||||
|
@ -126,4 +127,4 @@ We found an approximation of pi using the Monte Carlo methods! I find that reall
|
|||
|
||||
1) We don’t keep track of double counting. One possible solution for this is increasing the radius and bounding box appropriately so that the probability of double counting is low.
|
||||
|
||||
2) Speed. The more trials you ask it to run, the longer it takes to perform all of the simulations. One possible way around this is to write a parrallel version of this code. That’s possible because of the equal variance that we spoke of earlier. Pooling the successses and trials will still result in a good approximation.
|
||||
2) Speed. The more trials you ask it to run, the longer it takes to perform all of the simulations. One possible way around this is to write a parrallel version of this code. That’s possible because of the equal variance that we spoke of earlier. Pooling the successses and trials will still result in a good approximation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue