Check sibling questions

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.  

 

  1. Computer Science - Class 12
  2. Chapter 14 - Functions in python

About the Author

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 and Computer Science at Teachoo