The tan(x) function returns the tangent of its argument. tan expects its argument to be in radians or degrees, as selected by set angles.