Math
- 1 The acos() function - Python math module Given a cosine value the Python acos() function from the math module returns the angular value i.e, the arc cosine value. The returned angle value corresponds to the ratio of adjacent to the hypotenuse. 7 Nov 2025
- 2 ceil() function - python math module The ceil() function in python returns the next bigger integer of a given number 25 Sep 2016
- 3 The comb() function in Python math module The comb() function returns the number of ways to choose "k" items from a set of "n" items. The term "n choose k" is also called as the binomial coefficient which is the coefficient of the kth term in the polynomial expansion of the binomial power (1+x)^n. 13 Nov 2019
- 4 copysign() function - Python math module The math module of python has a copysign() function. It copies the sign of one number(ss) to another number(m) and returns the result as a float. 20 Aug 2021
- 5 The cos() function - Python math module The cos() function in the math module of Python, provides the cosine value for an angular value. The cosine value is the ratio between the adjacent and the hypotenuse. 26 Sep 2016
- 6 degrees function - python math module The degrees function in python math module converts the given angular value of radians into degrees 25 Sep 2016
- 7 The dist() function in Python math module The dist() function computes the Euclidean distance between two points of the same dimension. The Python example finds the Euclidean distance between two points in a two-dimensional plane. 13 Nov 2019
- 8 Python math module - fabs function The fabs function returns the absolute value of a number. It returns the quantity, magnitude without the direction on the numberline 25 Sep 2016
- 9 The factorial() function - Python math module The factorial() function returns the factorial of a given integer. The function does not allow the input to be negative value or a floating point value. 20 Aug 2021
- 10 floor function - python math module floor function in python returns the next smallest integer of the given number 25 Sep 2016
- 11 The fmod() function - Python math module The fmod() function from the math module of Python returns the floating point remainder of a division operation. The function is implemented as per the definition of fmod() function in the C language standard. 20 Aug 2021
- 12 frexp() function in python math module The mantissa and the exponent of a floating point number are returned by the function frexp(). The base of the exponent is two. 21 Aug 2021
- 13 The fsum() function in python math module The fsum() function from the Python math module returns the accurate sum of the floating point numbers given in a Python iterable. 21 Aug 2021
- 14 The gcd() function - Python math module The gcd() function from the Python math module finds the greatest common divisor for the given set of numbers. 25 Sep 2016
- 15 The hypot() function - Python math module The hypot() function returns the Euclidian distance of a point from origin which is defined as the square root of the sum of x value and y value of a point. 25 Sep 2016
- 16 Mathematical functions in Python math module in python provides host of mathematical functions that include trigonometrical, logarithmic,hyperbolic and special functions 24 Sep 2016
- 17 isfinite() function in python math module The function isfinite() checks the finiteness of a parameter passed in and returns the Boolean result. 22 Aug 2021
- 18 isqrt function of math module in Python The isqrt() function finds the integer square root of a given nonnegative integer using the iterative method of Newton. The Python example invokes isqrt() to find the integer square root of a large integer. 13 Nov 2019
- 19 The lcm() function of python math module The lcm() function returns the least common multiple for a given set of of integers. 23 Jun 2022
- 20 The log function of Python math module The log() function of the Python math module returns the logarithm of a given number for a specified base. If the base parameter is omitted the function computes and returns the natural logarithm. 21 Jun 2022
- 21 log2 function of Python math module The log2 function of the Python math module computes and returns the binary logarithm of a given number. 21 Jun 2022
- 22 modf function - python math module The modf function math function in python returns the integer and fractional portions of a number as a tuple of floating point numbers 25 Sep 2016
- 23 nextafter() function of math module in Python Given two numbers n1 and n2 the nextafter() returns the next floating point number after n1 and before n2. If n1 and n2 are equal the function returns n2. 22 Aug 2021
- 24 The perm() function of math module in Python The perm() combinatoric function of Python math module computes and returns the number of ways to select "k" items from "n" items without repetition and with order. 13 Nov 2019
- 25 The pow() function - Python math module The po() function in Python math module returns the value of a number raised to the specified power. In other words, it multiplies the number the power times. 25 Sep 2016
- 26 The prod function of Python math module The prod() function returns the product of the elements from an iterable. The Python example uses a starting product value of 4, which is multiplied with the first element by the prod() function. 13 Nov 2019
- 27 radians function - python math module The radians function in python math module converts the given angular value of degrees into radians. One radian is about 57.3°. 25 Sep 2016
- 28 The sin() function - python math module The sin() function in the math module of python, provides sine value for an angular value in radians, which is the ratio between the opposite side and hypotenuse. 26 Sep 2016
- 29 The sqrt() function - Python math module The sqrt() function in Python returns the square root of a specified number. Square root when multiplied by itself will give the original number. 25 Sep 2016
- 30 tan function - python math module tan function in the math module of python, provides tan theta value for an angular value, which is the ratio of cos theta and sine theta 26 Sep 2016
- 31 trunc function - python math module trunc function of python math module returns only the integer portion of the number 25 Sep 2016
- 32 ulp() function of Python math module The ulp() function returns the difference between a given floating point number and the next floating point number. 22 Jun 2022