tan_ - gehrigwilcox/C-Standard-Library GitHub Wiki

tan(θ)

Tangent is the ratio between the y and x position on the unit circle.

Since sine gives us the y position, and cosine gives us the x position, tangent is the relationship between sine and cosine. Mathematically,

In C:

return sin(x)/cos(x);
⚠️ **GitHub.com Fallback** ⚠️