2018 lecture notes on expectation and variance 1930583