### Category: Python math Library

Python Mathematical Functions

## Python – Find Sine – sin() Function with Examples PreviousNext sin() function is used to find the sine of given argument in radians. Where sine is a trigonometric function which represents the ratio between hypotenuse and opposite. sine() function is a part of python programming language. Syntax of sin() Function The syntax of sin() function in Python is:

Parameters of sin() Function in…

## Python – Find Natural Logarithm/Logarithm – log() Function with Examples log() function is used to find the the natural logarithm of x (to base e in Python for the given input(x – parameter).   Syntax of log() Function The syntax of log() function in Python is:

Parameters of log() Function in Python x – Where x is any valid python number (positive or…

## Python – Find Hyperbolic Sine – sinh() Function with Examples sinh() function is used to find the the hyperbolic sine of the given input (x – parameter). sinh() is a part of python programming language and very helpful for finding he hyperbolic of sine.   Syntax of sinh() Function The syntax of sinh() function in Python is:

Parameters of sinh() Function in Python…

## Python – Find Hyperbolic Tangent – tanh() Function with Examples tanh() function is used to find the the hyperbolic tangent of the given input. Hyperbolic tangent means the analogue of an circular function used throughout trigonometry. This function is a part of python programming language.   Syntax of tanh() Function The syntax of tanh() function in Python is:

Parameters of tanh() Function in…

## Python – lgamma() Function – Examples & Explanation lgamma() function is used to find the natural logarithm of an absolute value of a gamma function at x, where x is the input value we pass as an argument to the lgamma() function. We can find gamma function by using math.gamma(). lgamma() function is a part of python programming language and it is a…

## Python Mathematical Functions Math module provide many useful mathematical functions which makes our life really easy.  This module is always available as a part of python standard library. Math Number-theoretic and Representation Functions These function is used to control the representation of mathematical numbers in python. ceil() floor() gcd() isnan() copysign() fmod() isclose() ldexp()  fabs() frexp() isfinite() modf()…

## Python – Remove Decimal Values – trunc() Function with Examples trunc() function is a mathematical function which is use to remove the decimal values from specified expression and return the integer value. trunc() Function in Python trunc() function exists in Standard math Library of Python Programming Language. The purpose of this function is to return a value which does not have decimal part but the…

## Python – Find Functional and Integer Parts – modf() Function with Examples modf() function is a mathematical function which is use to return the functional and integer parts of x, Their results have the sign of x and are floats. modf() Function in Python modf() function exists in Standard math Library of Python Programming Language. The purpose of this function is to returns the integer and fractional…

## Python ldexp() Function – Examples & Explanations Python ldexp() function is a mathematical function. ldexp() returns the result of x * (2**i) which is an inverse of the frexp() function. You have to import math library before you use this function in your Python program. Following are explanation and examples of this ldexp() function. Python math.ldexp() Function math.ldexp() function exists in Standard math Library of Python…