atan

Overview :

The "atan" function is used for calcution of the arc tangent value of a given input.

Syntax :
double atan(double x);
Description :

The "atan" function accepts 1 parameters

  • x -> The x is the number whose arc tangent value is to be found

"atan" function return the arc tangent value of a number.

Example :
#include <stdio.h>
 #include <math.h>
 #include<conio.h>

 int main()
 {
    double x,atan_value;
	clrscr();
	printf("\nEnter the number : ");
	scanf("%lf",&x);

    atan_value = atan(x);
    printf("The arc tangent value is %lf\n", atan_value);
    getch();
    return 0;
}

Comments

comments powered by Disqus