Probability and expected value
- Stage
- 7
- Module
- M7.5
- Lessons
- 1
In this module
- Apply linearity of expectation to compute expected values in dynamic scenarios.
- Compute probabilities of events using conditional reasoning.
- Implement expected value calculations with floating-point arithmetic in Python.
- Process scenarios backwards to simplify probability computations.
Before this module
Lessons
Practice
Try this on the judge. The link opens the problem on DMOJ.
- 2020 S5Josh's Double Bacon Deluxe (opens on DMOJ in a new tab) DMOJ
Compute expected cost of a dish as customers make random choices.