The tanh(x) function returns the hyperbolic tangent of its argument. tanh expects its argument to be in radians.