Find all values of θ in the interval (−π/2,π/2) satisfying the equation (1−tanθ)(1+tanθ)sec2θ+2tan2θ=0
If θ=sin−1x+cos−1x−tan−1x, x≥0 then the smallest interval in which θ lies is