in math.h library there are many maths functions,you have to just put function to calculate. to use math.h library function we have to add "#include<math.h>" at top of the program.Following are the functions of math.h library.
Functions | Short discription |
floor() | floor() is used to get the floor of any number |
ceil() is used to get ceil of any number |
round() | round() is used to round off any number |
trigonomatric | there are six trigonomatric functions in C like sin,cos,tan,tanh,cosh,sinh |
sqrt() | sqrt() function is used to get ther square root of any number |
pow() | power function is used to get power of any number for eg.23 |