طريقة Python 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 |