# math.h

## floor function

Floor function returns the greatest integer not greater than x. For example if the input is 2.25 then output will be 2.00.

Declaration :- double floor(double x);

## pow10 function

```#include <stdio.h>
#include <math.h>

int main()
{
int x = 5;```

## cos in c - math.h

Cos function returns cosine of an angle(in radian).

Declaration: double cos(double);

## sin function in c

Sin function returns sine of an angle(in radian).

Declaration: double sin(double);

## ceil in c - math.h

Ceil function is used to round up a number i.e. it returns the smallest number which is greater than argument passed to it.

Declaration: double ceil(double);

## log10

log10 function returns common logarithm (base is 10) of a number.

Declaration :- double log10(double number);

## sqrt function

sqrt function returns square root of a number.

Declaration :- double sqrt(double);

## log function

log function returns natural logarithm (base is e) of a number, where e is the exponential number.

Declaration :- double log(double);

## pow function

pow function returns x raise to the power y where x and y are variables of double data type.

Declaration :- double pow(double, double);

## abs c - math.h

abs is not a function but is a macro and is used for calculating absolute value of a number.