All Questions
Tagged with simulation haskell
3 questions
6
votes
1
answer
407
views
Approximating π via Monte Carlo simulation
Inspired by a tweet linked to me by a friend and a Haskell implementation by her for the same problem, I decided to try my hand at approximating the value of π using everything in the Haskell standard ...
4
votes
1
answer
409
views
Simulating the martingale betting system with roulette
I wrote a program that simulates many instances of trying the martingale betting system with roulette in Haskell.
At the answerer's suggestion I opted to leave the ...
13
votes
1
answer
1k
views
Haskell Particle Simulation
I recently started learning Haskell and as my first project I decided to port a particle simulation I had written in C.
The simulation is pretty simple. We have a cubic box with particles (spheres) ...