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