cmath.tan()
function is used to calculate the tangent of a complex angle given in radians. The angle should be in radians not in degrees.
cmath.tan(x)
copy
x |
The radian complex angle whose tangent we want. The value can be a real or a complex number. If it is a real number, it is first converted to a complex value before the operation. |
The function returns the tangent of the input argument, x
.