1.

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 numberI have been asked this question during an online exam.I want to ask this question from Mathematical Functions in portion Arduino Programming of Arduino

Answer»

Right option is (c) To find the tan of a NUMBER

Best 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.



Discussion

No Comment Found

Related InterviewSolutions