What is the use of the cos() function?

Daniel William

New member
What is the use of the cos() function?
A. To find the cosine of a number
B. To find the sine of a number
C. To find the tan of a number
D. To find the inverse cosine of a number
 
Answer: A
Explanation: The cos() function is used to find the cosine of a number. It takes one argument; the number whose cosine is to be found out. This number is to be entered in the radian format and not the degree format. This function can accept any number-based datatypes and gives the output in the double datatype.
 

Tìm kiếm

Back
Top