Atan / Atanl :
- The atan() function returns the arc Tangent of an argument
- Atan return the arc tangent of the input value [ in the range -PI/2 to PI/2 ]
- Header File : Math.h
Live Example :double atan( double arg ); long double atanl(long double (x));
#include<stdio.h>
#include<math.h>
#define PI 3.14159265
int main ()
{
double para, result;
param = 1.0;
result = atan (para) * 180 / PI;
printf ("The arc tangent of %lf is %lf degrees\n", para,result );
return 0;
}
Output :The arc tangent of 1.000000 is 45.000000 degrees.

0 comments
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email