Contribute in GitHub: Edit online tan() Returns the tangent function. Syntax tan(x) Arguments x: A real number. Returns The result of tan(x)