\(X\) and \(Y\) are two independent identically distributed normal \(N(0,\sigma ^2)\) random variables. Let \[ Z=X^2+Y^2 \] and \[ W=\frac {X}{(X^2+Y^2)^{1/2}}. \] (a) Show that \(Z\) and \(W\) are independent.
(b) Compute the marginal distributions of \(Z\) and \(W\).