(a) Generate N = 1000 pairs of zero-mean Gaussian random variables using the Box-Muller algorithm. The desired variance is σ2 = 5. From the set of generated samples determine mX, mZ, σ2X, σ2Z, and ρXZ. Comment on the results.
(b) Repeat part (a) but generate approximately N = 1, 000 random variables using the polar method.