5. Suppose $U1$ and $U2$ are iid Uniform(0,1). Let
$$X1 = \cos(2\pi U1)\sqrt{-2\log U2} \text{ and } X2 = \sin(2\pi U1)\sqrt{-2\log U2}.$$
Prove that $X1$ and $X2$ are independent N(0,1) random variables. (10%)
5. Suppose $U1$ and $U2$ are iid Uniform(0,1). Let
$$X1 = \cos(2\pi U1)\sqrt{-2\log U2} \text{ and } X2 = \sin(2\pi U1)\sqrt{-2\log U2}.$$
Prove that $X1$ and $X2$ are independent N(0,1) random variables. (10%)