Evaluate (1+cos(theta))(tan(theta)-1)=0