math.h

Share:
mathamatical function are in math.h header file

sin()
this function is used to find the sine value of the argument
Syntax:
double sin(double x);
cos()
this function is used to find the cosine value of the argument
double sin(double x);
tan()
this function is used to find the tangent value of the argument
double tan(double x);
exp()
this function is used to find the e to the power of X (ex)
Syntax:
double exp(double x);
ceil()
this function is used round up a real number
Syntax:
double ceil(double x); floor()
this function is used to round down a real number
Syntax:
double floor(double floor(double x);
abs()
this function is used to find the absolute value of an integer
Syntax:
double abs(int x);
fabs()
this function is used to find the absolute value of a real number.
Syntax:
double fabs(float x);
pow()
this function is used to find the power of any value
Syntax:
double pow(double x,double y);
sqrt()
this function is used to fiind the square root value of its argument
Syntax:
double sqrt(int x);

 

No comments