पायथन cmath.tan () विधि
उदाहरण
एक सम्मिश्र संख्या की स्पर्श रेखा ज्ञात कीजिए:
#Import cmath Library
import cmath
#Return the tangent of a
complex number
print (cmath.tan(2 + 3j))
परिभाषा और उपयोग
यह cmath.tan()
विधि किसी सम्मिश्र संख्या की स्पर्श रेखा लौटाती है।
वाक्य - विन्यास
cmath.tan(x)
पैरामीटर मान
Parameter | Description |
---|---|
x | Required. A number to find the tangent of. If the value is not a number, it returns a TypeError |
टेक्निकल डिटेल
प्रतिलाभ की मात्रा: | complex एक जटिल संख्या के स्पर्शरेखा का प्रतिनिधित्व करने वाला एक मान |
---|---|
पायथन संस्करण: | 1.5 |