solve the equation (cos theta +1)(tan theta minus 1)=0 for solution between 0 and 2pii.

cos Θ + 1 = 0 ... cos Θ = -1

... Θ = π

tan Θ - 1 = 0 ... tan Θ = 1
... Θ = π/4 , 5π/4