Atan() – C library function Program

Declaration :

Explanation :

Purpose The C library function double atan(double x) returns the arc tangent of x in radians.
Parameters x ===> This is the floating point value.
Return Value This function returns the principal arc tangent of x in the interval [-pi/2+pi/2] radians.

C Program : Example

The following example shows the usage of atan() function.