14.1: The Mathematics (Probability, Logarithm) - Hamilton Lottery Simulator with p5.js
In this video, I cover the mathematics behind the odds of winning the Hamilton lottery (https://hamiltonlottery.broadwaydirect.com/). How likely are you to win tickets? How many times do you have to play to have a 99% chance of winning at least once?
Source code: https://github.com/shiffman/hamilton-lottery-simulator
website: http://shiffman.github.io/hamilton-lottery-simulator/
Contact: https://twitter.com/shiffman
Next video: https://youtu.be/ZyiYux7Zqzc
Learn JavaScript basics:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Learn HTML / CSS basics:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bI1SlcCRfLH79HZrFAtBvX
Working with Data / APIs:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6a-SQiI4RtIwuOrLJGnel0r
Help us caption & translate this video!
http://amara.org/v/QbtD/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct