Compute the tangent of an number
y = tan (x)
The tan function computes the tangent of a number and returns the result as an array. If its argument is an array, the tan function will be applied to each element and the result returned as an array.