Skip to content

Instantly share code, notes, and snippets.

@Sinitca-Aleksandr
Last active February 1, 2016 13:57
Show Gist options
  • Select an option

  • Save Sinitca-Aleksandr/2485bbdba1cb94c5b4e4 to your computer and use it in GitHub Desktop.

Select an option

Save Sinitca-Aleksandr/2485bbdba1cb94c5b4e4 to your computer and use it in GitHub Desktop.
>>> from sympy import *
>>> limit(sin(x)/x, x, 0)
1
>>> limit(x/sin(x),x,0)
1
>>> limit(x/cos(x),x,0)
0
# Предел на бесконечности (Два символа 'o')
>>> limit(x, x, oo)
oo
>>> limit(sin(x), x, oo)
sin(oo)
>>> limit(sin(x)/x, x, oo)
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment