Tangent (trig function)
The ratio sin θ / cos θ — undefined when cos θ = 0.
The tangent of an angle in a right triangle equals the opposite side divided by the adjacent side. It blows up at angles where the cosine is zero (90°, 270°, …) and repeats every π radians, half the period of sine and cosine.
Formula
tan θ = sin θ / cos θ = opposite / adjacent