대부분의 내장 숫자 함수는 숫자의 제곱근을 구하는 등의 특정 산술 연산을 목적으로 사용됩니
다. 다음 [표
7
-
1
]은 단일 숫자 인수를 사용해서 계산한 숫자를 반환하는 몇 가지 일반적인 숫
자 함수입니다.
표
7-1
단일 인수를 사용하는 숫자 함수
함수명설명
acos
(
x
)
x
의 아크 코사인을 계산합니다.
asin
(
x
)
x
의 아크 사인을 계산합니다.
atan
(
x
)
x
의 아크 탄젠트를 계산합니다.
cos
(
x
)
x
의 코사인을 계산합니다.
cot
(
x
)
x
의 코탄젠트를 계산합니다.
exp
(
x
)
e
x
를 계산합니다.
ln
(
x
)
x
의 자연 로그를 계산합니다. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.