Created
February 1, 2016 13:35
-
-
Save Sinitca-Aleksandr/fcc61ba7f91d9c651ab4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 * | |
| # Разложим на простейшие | |
| >>> apart(1/( (x+3)*(x+6) ), x) | |
| -1/(3*(x + 6)) + 1/(3*(x + 3)) | |
| >>> apart((2*x+1)/(x-1), x) | |
| 2 + 3/(x - 1) | |
| # Перемножим дроби | |
| >>> together(1/x + 1/y + 1/y+1) | |
| (x*y + 2*x + y)/(x*y) | |
| # Применем обратные действия последовательно | |
| >>> together(apart((x+3)/(x-3), x), x) | |
| (x + 3)/(x - 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment