[Exercise 1] mean and variance computed