sin^2x-1+(1/2)cosx=0