Estimating mathematical constants with Monte Carlo simulations
Marton Trencseni - Sun 09 October 2022 • Tagged with monte-carlo, simulation, math
I use simple Monte Carlo simulations to estimate some mathematical constants: √2, ϕ, e and π.
Marton Trencseni - Sun 09 October 2022 • Tagged with monte-carlo, simulation, math
I use simple Monte Carlo simulations to estimate some mathematical constants: √2, ϕ, e and π.
Marton Trencseni - Sat 06 July 2019 • Tagged with python, math, pymc3
I use PyMC3 to solve the food delivery toy problem and explore some alternative priors.
Marton Trencseni - Sat 22 June 2019 • Tagged with python, math, fetchr
I was grabbing a burger at Shake Shack, Mall of the Emirates in Dubai, when I noticed this notebook on the counter. The staff is using it to track food deliveries and each service (Carriage, Talabat, UberEats, Deliveroo) has its own column with the order numbers. Let's assume this is the only page for the day, and ask ourselves: given this data, what is the probability that UberEats is the most popular food delivery service?.
Marton Trencseni - Sun 02 June 2019 • Tagged with python, math
The Collatz conjecture is a conjecture in mathematics that concerns a sequence defined as follows: start with any positive integer n. Then each term is obtained from the previous term as follows: if the previous term is even, the next term is one half the previous term. If the previous term is odd, the next term is 3 times the previous term plus 1. The conjecture is that no matter what value of n, the sequence will always reach 1.