If \tan \theta = \cot \theta , then the value of \sec \theta

Step 1: Find the \theta values by the trigonometric ratios of complementary angles
NOTE: \tan \theta = \cot \theta
We know that \cot \theta = \tan (90\degree - \theta) (Since trigonometric ratios of complementary angles)
So, I can write equation as
\tan \theta = \tan(90\degree - \theta)
Therefore \theta = 90\degree - \theta
2\theta = 90\degree
\theta = 45\degree
Step 2: Find the value of the unknown trigonometric ratio ( \sec \theta)
EXAMPLE: \theta = 45\degree in the \sec \theta
= \sec 45\degree
= \sqrt{2}