What is the use of the sin() 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: A
Explanation: The sin() function is used to find the sine of a number. It takes one argument; the number whose sine 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.