What is the use of the tan() function?

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

Tìm kiếm

Back
Top