# Prove the double angle formula through the following method

## Homework Statement

I have to prove that sin^2(a/2) = (1-cosa)/(2)

cosa = cos(2*(a/2)) = 1 -2sin^2(a/2)

I dont understand this step that was given in the solutions how do I get it?