Solve each equation on the interval 0≤θ<2π.
1) sec2θ+tanθ=0
2) secθ=tanθ+cotθ
1) theta = 0, pi/2, 3*pi/2, 2*pi
2) theta = pi/4, pi, 3*pi/4