Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore a lighthearted yet mathematically rigorous conference talk that delves into the intricacies of expressing probabilities as floating-point values in C++. Begin with a brief review of the birthday problem to illustrate potential numerical pitfalls in floating-point expressions. Then, tackle four humorous questions about the proportion of water on Earth that may have once been inside a dinosaur, using various scientific assumptions and mathematical approaches. Discover how to overcome representational barriers in floating-point calculations, especially when dealing with very low or high probabilities. Gain insights into the subtle differences between probability and expected value, and learn practical techniques for improving numerical precision in C++ programming.
Quantifying Dinosaur Pee - Expressing Probabilities as Floating-Point Values in C++ - Lecture