Assignment 2 Distributions of random variables Solution