Compute \( \sin \theta, \cos \theta, \tan \theta, \cot \theta, \sec \theta, \csc \theta \) for any angle \( \theta \) in degrees or radians.
Understanding the Six Trigonometric Functions
For a given angle \( \theta \) (in degrees or radians), the six trigonometric functions are defined as:
\[
\sin \theta,\quad \cos \theta,\quad \tan \theta = \frac{\sin \theta}{\cos \theta},\quad \cot \theta = \frac{1}{\tan \theta},\quad \sec \theta = \frac{1}{\cos \theta},\quad \csc \theta = \frac{1}{\sin \theta}
\]
⚠️ Note: Functions are undefined when denominator is zero:
\(\tan \theta, \sec \theta\) undefined at \(\theta = \frac{\pi}{2} + k\pi\);
\(\cot \theta, \csc \theta\) undefined at \(\theta = k\pi\).