I have this problem that says show that $\displaystyle \left \{ \frac12, sin(x), cos(x) \right \}$ is an orthonormal set relative to the inner product defined by $\displaystyle \frac1\pi \int_{-\pi}^{\pi}f(x)g(x)dx$. When I take the norms of each item in the set I get 1/2, 1, 1 respectively. Could someone point out to what I am doing wrong?

Thanks