4. If \(a=\frac{3+\sqrt{5}}{2}\), then find the value of \(a^2+\frac{1}{a^2}\).