How can i solve this?

#cos (pi - theta) + sin (pi/2 + theta) = 0#