파이썬 math.atanh() 메서드
예시
다른 숫자의 쌍곡선 아크탄젠트 값을 찾습니다.
#Import math Library
import math
#print the hyperbolic
arctangent of different numbers
print(math.atanh(0.59))
print(math.atanh(-0.12))
정의 및 사용
이 math.atanh()
메서드는 숫자의 역 쌍곡선 탄젠트를 반환합니다.
참고: 전달된 매개변수는 math.atanh()
-0.99에서 0.99 사이여야 합니다.
통사론
math.atanh(x)
매개변수 값
Parameter | Description |
---|---|
x | Required. A positive or negative number between -0.99 and 0.99. If x is not a number, it returns a TypeError |
기술적 세부 사항
반환 값: | 숫자의 역 쌍곡선 탄젠트를 나타내는 float 값 |
---|---|
파이썬 버전: | 2.6 |