What is the use of following functions?

(a) ceil

(b) sqrt

(c) exp

(d) fabs

 

Answer:

  1. ceil( ) - Returns the ceiling value of the argument ie., the smallest integer greater than or equal to the argument value. 
  2. sqrt( ) - Returns the square root of the argument number.  
  3. exp( ) - Returns the exponent value with the base e. 
  4. fabs( ) - Returns the absolute value of a number.  

 

Ask a doubt
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.