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