Set $$W_n=\int_0^{\pi/2}\sin^n(x)\,dx.$$ Compute $W_0$ and $W_1$. Find a relation between $W_n$ and $W_{n+2}$ and deduce a formula for $W_n$.
What I have so far is: $$W_{2k}=\frac{1}{2^k}\left( \sum_{\substack{0\leq j \leq k \\ j \text{ even }}} \binom{k}{j} W_j \right)\\[30pt]W_{2k+1}= \sum_{j=1}^k \binom{k}{j}\frac{(-1)^j}{2j+1}.$$
How I got this is:
$$\int_0^{\pi/2}\sin^{2k}x\,dx=\int_0^{\pi/2}\frac{1}{2^k}\left(1-\cos2x\right)^k = \frac{1}{2^{k+1}}\int_0^{\pi}(1-\cos x)^k$$ the odd powers evaluate to zero, so $$=\frac{1}{2^{k+1}}\int_0^{\pi}\sum_{\substack{0\leq j \leq k \\ j \text{ even }}}\binom{k}{j}\cos^jx=\frac{1}{2^k}\int_0^{\pi/2}\sum_{\substack{0\leq j \leq k \\ j \text{ even }}}\binom{k}{j}\cos^j x = \frac{1}{2^k}\left( \sum_{\substack{0\leq j \leq k \\ j \text{ even }}} \binom{k}{j} W_j \right).\\[40pt]\int_0^{\pi/2}\sin^{2k+1} x\,dx=\int_0^1(1-u^2)^kdu = \sum_{j=1}^k \binom{k}{j}\frac{(-1)^j}{2j+1}.$$
But I haven't found a relation between $W_n$ and $W_{n+2}$ as such. Any ideas?
Note $W_{n+2}=\int_0^{\pi/2}\sin^n x\sin^2 x\,dx$. Use $\sin^2x=1-\cos^2x$ and integrate by parts appropriately on the integral that has a $\cos^2x$ term, namely, let $dv=\sin^n x\cos x$ and $u=\cos x$.