Solve for theta, giving a general formula for all of the solution:

tan(theta)=-1
sin(theta/2)=1/2

I figured out that tan(theta)=-1 is 3pi/4+n(pi)