VOOZH about

URL: https://www.geeksforgeeks.org/python/python-sympy-limit-method/

⇱ Python | sympy.limit() method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Python | sympy.limit() method

Last Updated : 11 Aug, 2021

With the help of sympy.limit() method, we can find the limit of any mathematical expression, 
e.g., 

 

Syntax: limit(expression, variable, value)
Parameters: 
expression - The mathematical expression on which limit operation is to be performed, i. e., f(x). 
variable - It is the variable in the mathematical expression, i. e., x 
value – It is the value to which the limit tends to, i. e., a.
Returns: Returns the limit of the mathematical expression under given conditions. 
 


Example #1:

Output:  

Expression : sin(x)/x
Limit of the expression tends to 0 : 1


Example #2:

Output: 

Expression : sin(3*x)/x
Limit of the expression tends to 0 : 3
Comment
Article Tags:
Article Tags: