Created
February 3, 2016 12:16
-
-
Save Sinitca-Aleksandr/7e37069e6c8e06e43e92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from sympy import * | |
>>> x = Symbol('x') | |
>>> y = symbols('y') | |
# Интегралы от простых функций | |
>>> integrate(7*x**6, x) | |
x**7 | |
>>> integrate(-4*x*sin(2*x**2), x) | |
cos(2*x**2) | |
# Интегралы от специальных функций | |
>>> integrate(exp(-x**2)*erf(x), x) | |
sqrt(pi)*erf(x)**2/4 | |
# Определенные интегралы | |
>>> integrate(x**3, (x, 0, 1)) | |
1/4 | |
>>> integrate(cos(x), (x, 0, pi/2)) | |
1 | |
# Несобственный интеграл | |
>>> integrate(exp(-x), (x, 0, oo)) | |
1 | |
1/4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment