For homework from probability and stats