https://www.cienciasinseso.com/en/calculating-expected-values/
The why and wherefores