From c5658d80b5182a49f624f440b2a3d0a224fd15b5 Mon Sep 17 00:00:00 2001 From: Jonathan Gutow Date: Wed, 12 Jul 2023 15:41:39 -0500 Subject: [PATCH] v0.12.0 for release --- Demonstration of equation class.ipynb | 675 +- ReadMe.md | 2 +- docs/Demonstration of equation class.html | 1450 +- docs/algebra_with_sympy.html | 21 +- .../algebraic_equation.html | 13907 ++-------------- docs/algebra_with_sympy/preparser.html | 10 +- docs/algebra_with_sympy/version.html | 4 +- docs/search.js | 2 +- version.py | 2 +- 9 files changed, 2528 insertions(+), 13545 deletions(-) diff --git a/Demonstration of equation class.ipynb b/Demonstration of equation class.ipynb index 3b85db3..641a217 100644 --- a/Demonstration of equation class.ipynb +++ b/Demonstration of equation class.ipynb @@ -28,7 +28,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "This notebook is running Algebra_with_Sympy version 0.12.0.dev0.\n" + "This notebook is running Algebra_with_Sympy version 0.12.0.\n" ] } ], @@ -62,7 +62,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -71,7 +71,7 @@ "(a, b, c)" ] }, - "execution_count": 3, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -83,7 +83,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -95,7 +95,7 @@ "Equation(a, b/c)" ] }, - "execution_count": 4, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -107,7 +107,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -119,7 +119,7 @@ "Equation(a, b/c)" ] }, - "execution_count": 5, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -131,7 +131,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -143,7 +143,7 @@ "Equation(log(a), log(b/c))" ] }, - "execution_count": 6, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -155,7 +155,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -167,7 +167,7 @@ "Equation(log(a), log(b/c))" ] }, - "execution_count": 7, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -180,7 +180,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -192,7 +192,7 @@ "Equation(exp(a), exp(b/c))" ] }, - "execution_count": 8, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -205,7 +205,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -217,7 +217,7 @@ "Equation(sin(a), sin(b/c))" ] }, - "execution_count": 9, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -228,7 +228,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -240,7 +240,7 @@ "Equation(a, b/c)" ] }, - "execution_count": 10, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -251,7 +251,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -263,7 +263,7 @@ "Equation(log(exp(a)), log(exp(b/c)))" ] }, - "execution_count": 11, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -275,7 +275,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -287,7 +287,7 @@ "Equation(a*log(a), a*log(b/c))" ] }, - "execution_count": 12, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -298,7 +298,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -310,7 +310,7 @@ "Equation(a*log(a), a*log(b/c))" ] }, - "execution_count": 13, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -321,7 +321,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -333,7 +333,7 @@ "Equation(a*c, b)" ] }, - "execution_count": 14, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } @@ -344,7 +344,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 14, "metadata": {}, "outputs": [ { @@ -356,7 +356,7 @@ "Equation(a*c, b)" ] }, - "execution_count": 15, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -367,7 +367,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 15, "metadata": {}, "outputs": [ { @@ -379,7 +379,7 @@ "Equation(a/b, 1/c)" ] }, - "execution_count": 16, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -390,7 +390,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 16, "metadata": {}, "outputs": [ { @@ -402,7 +402,7 @@ "Equation(c, b/a)" ] }, - "execution_count": 17, + "execution_count": 16, "metadata": {}, "output_type": "execute_result" } @@ -413,7 +413,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 17, "metadata": {}, "outputs": [ { @@ -425,7 +425,7 @@ "Equation(c, b/a)" ] }, - "execution_count": 18, + "execution_count": 17, "metadata": {}, "output_type": "execute_result" } @@ -436,7 +436,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 18, "metadata": {}, "outputs": [ { @@ -448,7 +448,7 @@ "Equation(c, b/a)" ] }, - "execution_count": 19, + "execution_count": 18, "metadata": {}, "output_type": "execute_result" } @@ -459,7 +459,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 19, "metadata": {}, "outputs": [ { @@ -471,7 +471,7 @@ "Equation(0, -a + b/c)" ] }, - "execution_count": 20, + "execution_count": 19, "metadata": {}, "output_type": "execute_result" } @@ -482,7 +482,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 20, "metadata": {}, "outputs": [ { @@ -494,7 +494,7 @@ "Equation(0, a - b/c)" ] }, - "execution_count": 21, + "execution_count": 20, "metadata": {}, "output_type": "execute_result" } @@ -505,7 +505,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 21, "metadata": {}, "outputs": [ { @@ -517,7 +517,7 @@ "Equation(Mod(a, c), Mod(b/c, c))" ] }, - "execution_count": 22, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } @@ -528,7 +528,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 22, "metadata": {}, "outputs": [ { @@ -540,7 +540,7 @@ "Equation(Mod(c, a), Mod(c, b/c))" ] }, - "execution_count": 23, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -551,7 +551,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 23, "metadata": {}, "outputs": [ { @@ -563,7 +563,7 @@ "Equation(sqrt(a), sqrt(b/c))" ] }, - "execution_count": 24, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -574,7 +574,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 24, "metadata": {}, "outputs": [ { @@ -586,7 +586,7 @@ "Equation(a**(1/3), (b/c)**(1/3))" ] }, - "execution_count": 25, + "execution_count": 24, "metadata": {}, "output_type": "execute_result" } @@ -597,7 +597,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 25, "metadata": {}, "outputs": [ { @@ -609,7 +609,7 @@ "Equation((-1)**(2/3)*a**(1/3), (-1)**(2/3)*(b/c)**(1/3))" ] }, - "execution_count": 26, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } @@ -620,7 +620,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 26, "metadata": {}, "outputs": [ { @@ -632,7 +632,7 @@ "Equation((-1)**(2/3)*a**(1/3), 2*(-1)**(2/3)/3)" ] }, - "execution_count": 27, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -643,7 +643,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 27, "metadata": {}, "outputs": [ { @@ -655,7 +655,7 @@ "Equation(a**(1/3), (b/c)**(1/3))" ] }, - "execution_count": 28, + "execution_count": 27, "metadata": {}, "output_type": "execute_result" } @@ -666,7 +666,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 28, "metadata": {}, "outputs": [ { @@ -678,7 +678,7 @@ "Equation(-(-1)**(1/3)*a**(1/3), -(-1)**(1/3)*(b/c)**(1/3))" ] }, - "execution_count": 29, + "execution_count": 28, "metadata": {}, "output_type": "execute_result" } @@ -689,7 +689,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 29, "metadata": {}, "outputs": [ { @@ -701,7 +701,7 @@ "Equation(b**2, a/c**2)" ] }, - "execution_count": 30, + "execution_count": 29, "metadata": {}, "output_type": "execute_result" } @@ -713,7 +713,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 30, "metadata": {}, "outputs": [ { @@ -725,7 +725,7 @@ "Equation(sqrt(b**2), sqrt(a/c**2))" ] }, - "execution_count": 31, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } @@ -736,7 +736,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 31, "metadata": {}, "outputs": [ { @@ -748,7 +748,7 @@ "Equation(sqrt(a), sqrt(b/c))" ] }, - "execution_count": 32, + "execution_count": 31, "metadata": {}, "output_type": "execute_result" } @@ -759,7 +759,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 32, "metadata": {}, "outputs": [ { @@ -771,7 +771,7 @@ "Equation(sqrt(b**2), sqrt(2)/4)" ] }, - "execution_count": 33, + "execution_count": 32, "metadata": {}, "output_type": "execute_result" } @@ -782,7 +782,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 33, "metadata": {}, "outputs": [ { @@ -794,7 +794,7 @@ "Equation((b**2)**0.5, 0.3536)" ] }, - "execution_count": 34, + "execution_count": 33, "metadata": {}, "output_type": "execute_result" } @@ -806,7 +806,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 34, "metadata": {}, "outputs": [ { @@ -818,7 +818,7 @@ "Equation(sqrt(b**2), sqrt(2)/4)" ] }, - "execution_count": 35, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } @@ -829,7 +829,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 35, "metadata": {}, "outputs": [ { @@ -843,7 +843,7 @@ "[3, 5]]))" ] }, - "execution_count": 36, + "execution_count": 35, "metadata": {}, "output_type": "execute_result" } @@ -856,7 +856,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 36, "metadata": {}, "outputs": [ { @@ -870,7 +870,7 @@ "[6, 5]]))" ] }, - "execution_count": 37, + "execution_count": 36, "metadata": {}, "output_type": "execute_result" } @@ -881,7 +881,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 37, "metadata": {}, "outputs": [ { @@ -895,7 +895,7 @@ "[6, 5]]))" ] }, - "execution_count": 38, + "execution_count": 37, "metadata": {}, "output_type": "execute_result" } @@ -907,7 +907,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 38, "metadata": { "scrolled": true }, @@ -923,7 +923,7 @@ "[ -exp(-1)/3 + exp(8)/3, exp(-1)/3 + 2*exp(8)/3]]))" ] }, - "execution_count": 39, + "execution_count": 38, "metadata": {}, "output_type": "execute_result" } @@ -935,7 +935,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 39, "metadata": {}, "outputs": [ { @@ -949,7 +949,7 @@ "[36, 34]]))" ] }, - "execution_count": 40, + "execution_count": 39, "metadata": {}, "output_type": "execute_result" } @@ -967,7 +967,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 40, "metadata": {}, "outputs": [ { @@ -979,7 +979,7 @@ "Equation(x**2 - 1, c)" ] }, - "execution_count": 41, + "execution_count": 40, "metadata": {}, "output_type": "execute_result" } @@ -992,7 +992,7 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 41, "metadata": {}, "outputs": [ { @@ -1004,7 +1004,7 @@ "Equation((x**2 - 1)/(x + 1), c/(x + 1))" ] }, - "execution_count": 42, + "execution_count": 41, "metadata": {}, "output_type": "execute_result" } @@ -1015,7 +1015,7 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 42, "metadata": {}, "outputs": [ { @@ -1027,7 +1027,7 @@ "Equation(x - 1, c/(x + 1))" ] }, - "execution_count": 43, + "execution_count": 42, "metadata": {}, "output_type": "execute_result" } @@ -1038,7 +1038,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 43, "metadata": {}, "outputs": [ { @@ -1050,7 +1050,7 @@ "Equation(x - 1, c/(x + 1))" ] }, - "execution_count": 44, + "execution_count": 43, "metadata": {}, "output_type": "execute_result" } @@ -1061,7 +1061,7 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 44, "metadata": {}, "outputs": [ { @@ -1073,7 +1073,7 @@ "Equation(x**2/(x + 1) - 1/(x + 1), c/(x + 1))" ] }, - "execution_count": 45, + "execution_count": 44, "metadata": {}, "output_type": "execute_result" } @@ -1084,7 +1084,7 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 45, "metadata": {}, "outputs": [ { @@ -1096,7 +1096,7 @@ "Equation(x**2/(x + 1) - 1/(x + 1), c/(x + 1))" ] }, - "execution_count": 46, + "execution_count": 45, "metadata": {}, "output_type": "execute_result" } @@ -1107,7 +1107,7 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 46, "metadata": {}, "outputs": [ { @@ -1119,7 +1119,7 @@ "Equation((x - 1)*(x + 1), c)" ] }, - "execution_count": 47, + "execution_count": 46, "metadata": {}, "output_type": "execute_result" } @@ -1131,7 +1131,7 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 47, "metadata": {}, "outputs": [ { @@ -1143,7 +1143,7 @@ "Equation((x - 1)*(x + 1), c)" ] }, - "execution_count": 48, + "execution_count": 47, "metadata": {}, "output_type": "execute_result" } @@ -1154,7 +1154,7 @@ }, { "cell_type": "code", - "execution_count": 49, + "execution_count": 48, "metadata": {}, "outputs": [ { @@ -1166,7 +1166,7 @@ "Equation(a*x**2 + a*x + b*x + c + x**2 - 1, a*x**2 + a*x + b*x + 2*c)" ] }, - "execution_count": 49, + "execution_count": 48, "metadata": {}, "output_type": "execute_result" } @@ -1178,7 +1178,7 @@ }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 49, "metadata": {}, "outputs": [ { @@ -1190,7 +1190,7 @@ "Equation(c + x**2*(a + 1) + x*(a + b) - 1, a*x**2 + 2*c + x*(a + b))" ] }, - "execution_count": 50, + "execution_count": 49, "metadata": {}, "output_type": "execute_result" } @@ -1202,7 +1202,7 @@ }, { "cell_type": "code", - "execution_count": 51, + "execution_count": 50, "metadata": {}, "outputs": [ { @@ -1214,7 +1214,7 @@ "Equation(a*(x**2 + x) + b*x + c + x**2 - 1, a*(x**2 + x) + b*x + 2*c)" ] }, - "execution_count": 51, + "execution_count": 50, "metadata": {}, "output_type": "execute_result" } @@ -1225,7 +1225,7 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 51, "metadata": {}, "outputs": [ { @@ -1237,7 +1237,7 @@ "Equation(a*(x**2 + x) + b*x + c + x**2 - 1, a*(x**2 + x) + b*x + 2*c)" ] }, - "execution_count": 52, + "execution_count": 51, "metadata": {}, "output_type": "execute_result" } @@ -1248,7 +1248,7 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 52, "metadata": {}, "outputs": [ { @@ -1260,7 +1260,7 @@ "Equation(a*x**2 + a*x + b*x + c + x**2 + (a*x**2 + a*x + b*x + c + x**2 - 1)**2 - 1, a*x**2 + a*x + b*x + 2*c + (a*x**2 + a*x + b*x + 2*c)**2)" ] }, - "execution_count": 53, + "execution_count": 52, "metadata": {}, "output_type": "execute_result" } @@ -1276,7 +1276,7 @@ }, { "cell_type": "code", - "execution_count": 54, + "execution_count": 53, "metadata": {}, "outputs": [ { @@ -1288,7 +1288,7 @@ "Equation(a*x**2 + a*x + b*x + c + x**2 + (a*x**2 + a*x + b*x + c + x**2 - 1)**2 - 1, a*x**2 + a*x + b*x + 2*c + (a*x**2 + a*x + b*x + 2*c)**2)" ] }, - "execution_count": 54, + "execution_count": 53, "metadata": {}, "output_type": "execute_result" } @@ -1300,7 +1300,7 @@ }, { "cell_type": "code", - "execution_count": 55, + "execution_count": 54, "metadata": {}, "outputs": [ { @@ -1312,7 +1312,7 @@ "Equation(c**2 - c + x**4*(a**2 + 2*a + 1) + x**3*(2*a**2 + 2*a*b + 2*a + 2*b) + x**2*(a**2 + 2*a*b + 2*a*c - a + b**2 + 2*c - 1) + x*(2*a*c - a + 2*b*c - b), a**2*x**4 + 4*c**2 + 2*c + x**3*(2*a**2 + 2*a*b) + x**2*(a**2 + 2*a*b + 4*a*c + a + b**2) + x*(4*a*c + a + 4*b*c + b))" ] }, - "execution_count": 55, + "execution_count": 54, "metadata": {}, "output_type": "execute_result" } @@ -1324,7 +1324,7 @@ }, { "cell_type": "code", - "execution_count": 56, + "execution_count": 55, "metadata": {}, "outputs": [ { @@ -1336,7 +1336,7 @@ "Equation(c**2 - c + x**4*(a**2 + 2*a + 1) + x**3*(2*a**2 + 2*a*b + 2*a + 2*b) + x**2*(a**2 + 2*a*b + 2*a*c - a + b**2 + 2*c - 1) + x*(2*a*c - a + 2*b*c - b), a**2*x**4 + 4*c**2 + 2*c + x**3*(2*a**2 + 2*a*b) + x**2*(a**2 + 2*a*b + 4*a*c + a + b**2) + x*(4*a*c + a + 4*b*c + b))" ] }, - "execution_count": 56, + "execution_count": 55, "metadata": {}, "output_type": "execute_result" } @@ -1354,7 +1354,7 @@ }, { "cell_type": "code", - "execution_count": 57, + "execution_count": 56, "metadata": {}, "outputs": [ { @@ -1366,7 +1366,7 @@ "Equation(a*x**2 + b*x + c*x**2, a*x**3 + b*x**3 + c*x)" ] }, - "execution_count": 57, + "execution_count": 56, "metadata": {}, "output_type": "execute_result" } @@ -1378,7 +1378,7 @@ }, { "cell_type": "code", - "execution_count": 58, + "execution_count": 57, "metadata": {}, "outputs": [ { @@ -1390,7 +1390,7 @@ "Equation(a*x**2 + b*x + c*x**2, x*(c + x**2*(a + b)))" ] }, - "execution_count": 58, + "execution_count": 57, "metadata": {}, "output_type": "execute_result" } @@ -1401,7 +1401,7 @@ }, { "cell_type": "code", - "execution_count": 59, + "execution_count": 58, "metadata": {}, "outputs": [ { @@ -1413,7 +1413,7 @@ "Equation(x*(a*x + b + c*x), a*x**3 + b*x**3 + c*x)" ] }, - "execution_count": 59, + "execution_count": 58, "metadata": {}, "output_type": "execute_result" } @@ -1424,7 +1424,7 @@ }, { "cell_type": "code", - "execution_count": 60, + "execution_count": 59, "metadata": {}, "outputs": [ { @@ -1436,7 +1436,7 @@ "Equation(b*x + x**2*(a + c), a*x**3 + b*x**3 + c*x)" ] }, - "execution_count": 60, + "execution_count": 59, "metadata": {}, "output_type": "execute_result" } @@ -1447,7 +1447,7 @@ }, { "cell_type": "code", - "execution_count": 61, + "execution_count": 60, "metadata": {}, "outputs": [ { @@ -1459,7 +1459,7 @@ "Equation(a, b**2/c**2 + b/c)" ] }, - "execution_count": 61, + "execution_count": 60, "metadata": {}, "output_type": "execute_result" } @@ -1471,7 +1471,7 @@ }, { "cell_type": "code", - "execution_count": 62, + "execution_count": 61, "metadata": {}, "outputs": [ { @@ -1483,7 +1483,7 @@ "Equation(a, b**2/c**2 + b/c)" ] }, - "execution_count": 62, + "execution_count": 61, "metadata": {}, "output_type": "execute_result" } @@ -1494,7 +1494,7 @@ }, { "cell_type": "code", - "execution_count": 63, + "execution_count": 62, "metadata": {}, "outputs": [ { @@ -1506,7 +1506,7 @@ "Equation(a**2 + a, b/c)" ] }, - "execution_count": 63, + "execution_count": 62, "metadata": {}, "output_type": "execute_result" } @@ -1517,7 +1517,7 @@ }, { "cell_type": "code", - "execution_count": 64, + "execution_count": 63, "metadata": {}, "outputs": [ { @@ -1529,7 +1529,7 @@ "Equation(b*x + x**2*(a + c), a*x**3 + b*x**3 + c*x)" ] }, - "execution_count": 64, + "execution_count": 63, "metadata": {}, "output_type": "execute_result" } @@ -1543,7 +1543,7 @@ }, { "cell_type": "code", - "execution_count": 65, + "execution_count": 64, "metadata": {}, "outputs": [ { @@ -1555,7 +1555,7 @@ "Equation(a*x**2 + b*x + c*x**2, c*x + x**3*(a + b))" ] }, - "execution_count": 65, + "execution_count": 64, "metadata": {}, "output_type": "execute_result" } @@ -1566,7 +1566,7 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": 65, "metadata": {}, "outputs": [ { @@ -1578,7 +1578,7 @@ "Equation(b*x + x**2*(a + c), c*x + x**3*(a + b))" ] }, - "execution_count": 66, + "execution_count": 65, "metadata": {}, "output_type": "execute_result" } @@ -1589,7 +1589,7 @@ }, { "cell_type": "code", - "execution_count": 67, + "execution_count": 66, "metadata": {}, "outputs": [ { @@ -1601,7 +1601,7 @@ "Equation(a*x**2 + b*x + c*x**2, x*(a*x**2 + b*x**2 + c))" ] }, - "execution_count": 67, + "execution_count": 66, "metadata": {}, "output_type": "execute_result" } @@ -1612,7 +1612,7 @@ }, { "cell_type": "code", - "execution_count": 68, + "execution_count": 67, "metadata": {}, "outputs": [ { @@ -1640,7 +1640,7 @@ }, { "cell_type": "code", - "execution_count": 69, + "execution_count": 68, "metadata": {}, "outputs": [ { @@ -1652,7 +1652,7 @@ "Equation(V*p, R*T*n)" ] }, - "execution_count": 69, + "execution_count": 68, "metadata": {}, "output_type": "execute_result" } @@ -1666,7 +1666,7 @@ }, { "cell_type": "code", - "execution_count": 70, + "execution_count": 69, "metadata": {}, "outputs": [ { @@ -1678,7 +1678,7 @@ "Equation(p, R*T*n/V)" ] }, - "execution_count": 70, + "execution_count": 69, "metadata": {}, "output_type": "execute_result" } @@ -1690,7 +1690,7 @@ }, { "cell_type": "code", - "execution_count": 71, + "execution_count": 70, "metadata": {}, "outputs": [ { @@ -1702,7 +1702,7 @@ "Equation(V, R*T*n/p)" ] }, - "execution_count": 71, + "execution_count": 70, "metadata": {}, "output_type": "execute_result" } @@ -1714,7 +1714,7 @@ }, { "cell_type": "code", - "execution_count": 72, + "execution_count": 71, "metadata": {}, "outputs": [ { @@ -1726,7 +1726,7 @@ "Equation(V*p/(R*n), T)" ] }, - "execution_count": 72, + "execution_count": 71, "metadata": {}, "output_type": "execute_result" } @@ -1738,7 +1738,7 @@ }, { "cell_type": "code", - "execution_count": 73, + "execution_count": 72, "metadata": {}, "outputs": [ { @@ -1750,7 +1750,7 @@ "Equation(T, V*p/(R*n))" ] }, - "execution_count": 73, + "execution_count": 72, "metadata": {}, "output_type": "execute_result" } @@ -1768,7 +1768,7 @@ }, { "cell_type": "code", - "execution_count": 74, + "execution_count": 73, "metadata": {}, "outputs": [ { @@ -1780,7 +1780,7 @@ "Equation(p, 0.9334325*atm)" ] }, - "execution_count": 74, + "execution_count": 73, "metadata": {}, "output_type": "execute_result" } @@ -1792,7 +1792,7 @@ }, { "cell_type": "code", - "execution_count": 75, + "execution_count": 74, "metadata": {}, "outputs": [ { @@ -1804,7 +1804,7 @@ "Equation(V, 7.47*L)" ] }, - "execution_count": 75, + "execution_count": 74, "metadata": {}, "output_type": "execute_result" } @@ -1822,7 +1822,7 @@ }, { "cell_type": "code", - "execution_count": 76, + "execution_count": 75, "metadata": {}, "outputs": [ { @@ -1834,7 +1834,7 @@ "Equation(E, Eo - R*T*ln(Q)/(F*z))" ] }, - "execution_count": 76, + "execution_count": 75, "metadata": {}, "output_type": "execute_result" } @@ -1848,7 +1848,7 @@ }, { "cell_type": "code", - "execution_count": 77, + "execution_count": 76, "metadata": {}, "outputs": [ { @@ -1860,7 +1860,7 @@ "Equation(E + R*T*ln(Q)/(F*z), Eo)" ] }, - "execution_count": 77, + "execution_count": 76, "metadata": {}, "output_type": "execute_result" } @@ -1872,7 +1872,7 @@ }, { "cell_type": "code", - "execution_count": 78, + "execution_count": 77, "metadata": {}, "outputs": [ { @@ -1884,7 +1884,7 @@ "Equation(R*T*ln(Q), F*z*(-E + Eo))" ] }, - "execution_count": 78, + "execution_count": 77, "metadata": {}, "output_type": "execute_result" } @@ -1896,7 +1896,7 @@ }, { "cell_type": "code", - "execution_count": 79, + "execution_count": 78, "metadata": {}, "outputs": [ { @@ -1908,7 +1908,7 @@ "Equation(ln(Q), F*z*(-E + Eo)/(R*T))" ] }, - "execution_count": 79, + "execution_count": 78, "metadata": {}, "output_type": "execute_result" } @@ -1920,7 +1920,7 @@ }, { "cell_type": "code", - "execution_count": 80, + "execution_count": 79, "metadata": {}, "outputs": [ { @@ -1932,7 +1932,7 @@ "Equation(Q, exp(F*z*(-E + Eo)/(R*T)))" ] }, - "execution_count": 80, + "execution_count": 79, "metadata": {}, "output_type": "execute_result" } @@ -1951,7 +1951,7 @@ }, { "cell_type": "code", - "execution_count": 81, + "execution_count": 80, "metadata": {}, "outputs": [ { @@ -1963,7 +1963,7 @@ "Equation(a*c, b/c**2)" ] }, - "execution_count": 81, + "execution_count": 80, "metadata": {}, "output_type": "execute_result" } @@ -1975,7 +1975,7 @@ }, { "cell_type": "code", - "execution_count": 82, + "execution_count": 81, "metadata": {}, "outputs": [ { @@ -1987,7 +1987,7 @@ "Equation(Derivative(a*c, b), c**(-2))" ] }, - "execution_count": 82, + "execution_count": 81, "metadata": {}, "output_type": "execute_result" } @@ -1999,7 +1999,7 @@ }, { "cell_type": "code", - "execution_count": 83, + "execution_count": 82, "metadata": {}, "outputs": [ { @@ -2011,7 +2011,7 @@ "Equation(a, -2*b/c**3)" ] }, - "execution_count": 83, + "execution_count": 82, "metadata": {}, "output_type": "execute_result" } @@ -2023,7 +2023,7 @@ }, { "cell_type": "code", - "execution_count": 84, + "execution_count": 83, "metadata": {}, "outputs": [ { @@ -2035,7 +2035,7 @@ "Equation(Derivative(a, c), 6*b/c**4)" ] }, - "execution_count": 84, + "execution_count": 83, "metadata": {}, "output_type": "execute_result" } @@ -2046,7 +2046,7 @@ }, { "cell_type": "code", - "execution_count": 85, + "execution_count": 84, "metadata": {}, "outputs": [ { @@ -2058,7 +2058,7 @@ "Equation(Derivative(a*c, b, c), -2/c**3)" ] }, - "execution_count": 85, + "execution_count": 84, "metadata": {}, "output_type": "execute_result" } @@ -2070,7 +2070,7 @@ }, { "cell_type": "code", - "execution_count": 86, + "execution_count": 85, "metadata": {}, "outputs": [ { @@ -2082,7 +2082,7 @@ "Equation(Derivative(a, b), -2/c**3)" ] }, - "execution_count": 86, + "execution_count": 85, "metadata": {}, "output_type": "execute_result" } @@ -2094,7 +2094,7 @@ }, { "cell_type": "code", - "execution_count": 87, + "execution_count": 86, "metadata": {}, "outputs": [ { @@ -2106,7 +2106,7 @@ "Equation(Derivative(a*c, b, c), -2/c**3)" ] }, - "execution_count": 87, + "execution_count": 86, "metadata": {}, "output_type": "execute_result" } @@ -2117,7 +2117,7 @@ }, { "cell_type": "code", - "execution_count": 88, + "execution_count": 87, "metadata": {}, "outputs": [ { @@ -2129,7 +2129,7 @@ "Equation(Derivative(log(a*c), b), 1/b)" ] }, - "execution_count": 88, + "execution_count": 87, "metadata": {}, "output_type": "execute_result" } @@ -2140,7 +2140,7 @@ }, { "cell_type": "code", - "execution_count": 89, + "execution_count": 88, "metadata": {}, "outputs": [ { @@ -2152,7 +2152,7 @@ "Equation(0, c**(-2))" ] }, - "execution_count": 89, + "execution_count": 88, "metadata": {}, "output_type": "execute_result" } @@ -2164,7 +2164,7 @@ }, { "cell_type": "code", - "execution_count": 90, + "execution_count": 89, "metadata": {}, "outputs": [ { @@ -2176,7 +2176,7 @@ "Equation(0, c**(-2))" ] }, - "execution_count": 90, + "execution_count": 89, "metadata": {}, "output_type": "execute_result" } @@ -2187,7 +2187,7 @@ }, { "cell_type": "code", - "execution_count": 91, + "execution_count": 90, "metadata": {}, "outputs": [ { @@ -2199,7 +2199,7 @@ "Equation(Derivative(a, c), b*cos(c))" ] }, - "execution_count": 91, + "execution_count": 90, "metadata": {}, "output_type": "execute_result" } @@ -2218,7 +2218,7 @@ }, { "cell_type": "code", - "execution_count": 92, + "execution_count": 91, "metadata": {}, "outputs": [ { @@ -2230,7 +2230,7 @@ "b**2/(2*c**2)" ] }, - "execution_count": 92, + "execution_count": 91, "metadata": {}, "output_type": "execute_result" } @@ -2241,7 +2241,7 @@ }, { "cell_type": "code", - "execution_count": 93, + "execution_count": 92, "metadata": {}, "outputs": [ { @@ -2253,7 +2253,7 @@ "a*b*c" ] }, - "execution_count": 93, + "execution_count": 92, "metadata": {}, "output_type": "execute_result" } @@ -2264,7 +2264,7 @@ }, { "cell_type": "code", - "execution_count": 94, + "execution_count": 93, "metadata": {}, "outputs": [ { @@ -2276,7 +2276,7 @@ "Equation(Integral(a*c, b), b**2/(2*c**2))" ] }, - "execution_count": 94, + "execution_count": 93, "metadata": {}, "output_type": "execute_result" } @@ -2288,7 +2288,7 @@ }, { "cell_type": "code", - "execution_count": 95, + "execution_count": 94, "metadata": { "scrolled": true }, @@ -2302,7 +2302,7 @@ "Equation(a*b*c, b**2/(2*c**2))" ] }, - "execution_count": 95, + "execution_count": 94, "metadata": {}, "output_type": "execute_result" } @@ -2313,7 +2313,7 @@ }, { "cell_type": "code", - "execution_count": 96, + "execution_count": 95, "metadata": {}, "outputs": [ { @@ -2325,7 +2325,7 @@ "Equation(a*b*c, b**2/(2*c**2))" ] }, - "execution_count": 96, + "execution_count": 95, "metadata": {}, "output_type": "execute_result" } @@ -2336,7 +2336,7 @@ }, { "cell_type": "code", - "execution_count": 97, + "execution_count": 96, "metadata": {}, "outputs": [ { @@ -2348,7 +2348,7 @@ "Equation(a**2*c/2, b**2/(2*c**2))" ] }, - "execution_count": 97, + "execution_count": 96, "metadata": {}, "output_type": "execute_result" } @@ -2368,7 +2368,7 @@ }, { "cell_type": "code", - "execution_count": 98, + "execution_count": 97, "metadata": {}, "outputs": [ { @@ -2380,7 +2380,7 @@ "Equation(a*c, b/c**2)" ] }, - "execution_count": 98, + "execution_count": 97, "metadata": {}, "output_type": "execute_result" } @@ -2391,7 +2391,7 @@ }, { "cell_type": "code", - "execution_count": 99, + "execution_count": 98, "metadata": {}, "outputs": [ { @@ -2403,7 +2403,7 @@ "Equation(a, b/c)" ] }, - "execution_count": 99, + "execution_count": 98, "metadata": {}, "output_type": "execute_result" } @@ -2414,7 +2414,7 @@ }, { "cell_type": "code", - "execution_count": 100, + "execution_count": 99, "metadata": {}, "outputs": [ { @@ -2426,7 +2426,7 @@ "Equation(a*c + a, b/c + b/c**2)" ] }, - "execution_count": 100, + "execution_count": 99, "metadata": {}, "output_type": "execute_result" } @@ -2437,7 +2437,7 @@ }, { "cell_type": "code", - "execution_count": 101, + "execution_count": 100, "metadata": {}, "outputs": [ { @@ -2449,7 +2449,7 @@ "Equation(c, 1/c)" ] }, - "execution_count": 101, + "execution_count": 100, "metadata": {}, "output_type": "execute_result" } @@ -2460,7 +2460,7 @@ }, { "cell_type": "code", - "execution_count": 102, + "execution_count": 101, "metadata": {}, "outputs": [ { @@ -2472,7 +2472,7 @@ "Equation(1/c, c)" ] }, - "execution_count": 102, + "execution_count": 101, "metadata": {}, "output_type": "execute_result" } @@ -2483,7 +2483,7 @@ }, { "cell_type": "code", - "execution_count": 103, + "execution_count": 102, "metadata": {}, "outputs": [ { @@ -2495,7 +2495,7 @@ "Equation(a*(Mod(c, 1)), b*(Mod(1/c, 1))/c)" ] }, - "execution_count": 103, + "execution_count": 102, "metadata": {}, "output_type": "execute_result" } @@ -2506,7 +2506,7 @@ }, { "cell_type": "code", - "execution_count": 104, + "execution_count": 103, "metadata": {}, "outputs": [ { @@ -2518,7 +2518,7 @@ "Equation(a*(Mod(1, c)), b*(Mod(1, 1/c))/c)" ] }, - "execution_count": 104, + "execution_count": 103, "metadata": {}, "output_type": "execute_result" } @@ -2529,7 +2529,7 @@ }, { "cell_type": "code", - "execution_count": 105, + "execution_count": 104, "metadata": {}, "outputs": [ { @@ -2541,7 +2541,7 @@ "Equation(a**(a*c), (b/c)**(b/c**2))" ] }, - "execution_count": 105, + "execution_count": 104, "metadata": {}, "output_type": "execute_result" } @@ -2552,7 +2552,7 @@ }, { "cell_type": "code", - "execution_count": 106, + "execution_count": 105, "metadata": {}, "outputs": [ { @@ -2564,7 +2564,7 @@ "Equation((a*c)**a, (b/c**2)**(b/c))" ] }, - "execution_count": 106, + "execution_count": 105, "metadata": {}, "output_type": "execute_result" } @@ -2575,7 +2575,7 @@ }, { "cell_type": "code", - "execution_count": 107, + "execution_count": 106, "metadata": {}, "outputs": [ { @@ -2587,7 +2587,7 @@ "Equation(V*p_1, R*T_1*n)" ] }, - "execution_count": 107, + "execution_count": 106, "metadata": {}, "output_type": "execute_result" } @@ -2601,7 +2601,7 @@ }, { "cell_type": "code", - "execution_count": 108, + "execution_count": 107, "metadata": {}, "outputs": [ { @@ -2613,7 +2613,7 @@ "Equation(p_1/p_2, T_1/T_2)" ] }, - "execution_count": 108, + "execution_count": 107, "metadata": {}, "output_type": "execute_result" } @@ -2625,7 +2625,7 @@ }, { "cell_type": "code", - "execution_count": 109, + "execution_count": 108, "metadata": {}, "outputs": [ { @@ -2637,7 +2637,7 @@ "Equation(p_1, T_1*p_2/T_2)" ] }, - "execution_count": 109, + "execution_count": 108, "metadata": {}, "output_type": "execute_result" } @@ -2648,7 +2648,7 @@ }, { "cell_type": "code", - "execution_count": 110, + "execution_count": 109, "metadata": {}, "outputs": [ { @@ -2660,7 +2660,7 @@ "Equation(n, V*p_1/(R*T_1))" ] }, - "execution_count": 110, + "execution_count": 109, "metadata": {}, "output_type": "execute_result" } @@ -2673,7 +2673,7 @@ }, { "cell_type": "code", - "execution_count": 111, + "execution_count": 110, "metadata": {}, "outputs": [ { @@ -2685,7 +2685,7 @@ "Equation(V*p_2, T_2*V*p_1/T_1)" ] }, - "execution_count": 111, + "execution_count": 110, "metadata": {}, "output_type": "execute_result" } @@ -2698,7 +2698,7 @@ }, { "cell_type": "code", - "execution_count": 112, + "execution_count": 111, "metadata": {}, "outputs": [ { @@ -2710,7 +2710,7 @@ "Equation(p_1, T_1*p_2/T_2)" ] }, - "execution_count": 112, + "execution_count": 111, "metadata": {}, "output_type": "execute_result" } @@ -2728,7 +2728,7 @@ }, { "cell_type": "code", - "execution_count": 113, + "execution_count": 112, "metadata": {}, "outputs": [ { @@ -2737,7 +2737,7 @@ "True" ] }, - "execution_count": 113, + "execution_count": 112, "metadata": {}, "output_type": "execute_result" } @@ -2749,7 +2749,7 @@ }, { "cell_type": "code", - "execution_count": 114, + "execution_count": 113, "metadata": {}, "outputs": [ { @@ -2761,7 +2761,7 @@ "Equation(V*p_1, R*T_1*n)" ] }, - "execution_count": 114, + "execution_count": 113, "metadata": {}, "output_type": "execute_result" } @@ -2774,7 +2774,7 @@ }, { "cell_type": "code", - "execution_count": 115, + "execution_count": 114, "metadata": {}, "outputs": [ { @@ -2786,7 +2786,7 @@ "Equation(V*p_1, R*T_1*n)" ] }, - "execution_count": 115, + "execution_count": 114, "metadata": {}, "output_type": "execute_result" } @@ -2799,7 +2799,7 @@ }, { "cell_type": "code", - "execution_count": 116, + "execution_count": 115, "metadata": {}, "outputs": [ { @@ -2808,7 +2808,7 @@ "False" ] }, - "execution_count": 116, + "execution_count": 115, "metadata": {}, "output_type": "execute_result" } @@ -2820,7 +2820,7 @@ }, { "cell_type": "code", - "execution_count": 117, + "execution_count": 116, "metadata": {}, "outputs": [ { @@ -2839,7 +2839,7 @@ "Equation(V*p_1, R*T_1*n)" ] }, - "execution_count": 117, + "execution_count": 116, "metadata": {}, "output_type": "execute_result" } @@ -2852,7 +2852,7 @@ }, { "cell_type": "code", - "execution_count": 118, + "execution_count": 117, "metadata": {}, "outputs": [ { @@ -2871,7 +2871,7 @@ "exp(I*a)" ] }, - "execution_count": 118, + "execution_count": 117, "metadata": {}, "output_type": "execute_result" } @@ -2883,7 +2883,7 @@ }, { "cell_type": "code", - "execution_count": 119, + "execution_count": 118, "metadata": {}, "outputs": [ { @@ -2895,7 +2895,7 @@ "Equation(V*p_1, R*T_1*n)" ] }, - "execution_count": 119, + "execution_count": 118, "metadata": {}, "output_type": "execute_result" } @@ -2915,7 +2915,7 @@ }, { "cell_type": "code", - "execution_count": 120, + "execution_count": 119, "metadata": {}, "outputs": [ { @@ -2934,7 +2934,7 @@ "2/3" ] }, - "execution_count": 120, + "execution_count": 119, "metadata": {}, "output_type": "execute_result" } @@ -2947,7 +2947,7 @@ }, { "cell_type": "code", - "execution_count": 121, + "execution_count": 120, "metadata": {}, "outputs": [ { @@ -2959,7 +2959,7 @@ "Equation(x**2 + 3*x/2 + 1, 0)" ] }, - "execution_count": 121, + "execution_count": 120, "metadata": {}, "output_type": "execute_result" } @@ -2972,7 +2972,7 @@ }, { "cell_type": "code", - "execution_count": 122, + "execution_count": 121, "metadata": {}, "outputs": [ { @@ -2984,7 +2984,7 @@ "FiniteSet(Equation(x, -3/4 - sqrt(7)*I/4), Equation(x, -3/4 + sqrt(7)*I/4))" ] }, - "execution_count": 122, + "execution_count": 121, "metadata": {}, "output_type": "execute_result" } @@ -2995,7 +2995,7 @@ }, { "cell_type": "code", - "execution_count": 123, + "execution_count": 122, "metadata": {}, "outputs": [], "source": [ @@ -3005,7 +3005,7 @@ }, { "cell_type": "code", - "execution_count": 124, + "execution_count": 123, "metadata": {}, "outputs": [ { @@ -3021,7 +3021,7 @@ "0.6666666666666666" ] }, - "execution_count": 124, + "execution_count": 123, "metadata": {}, "output_type": "execute_result" } @@ -3033,7 +3033,7 @@ }, { "cell_type": "code", - "execution_count": 125, + "execution_count": 124, "metadata": {}, "outputs": [ { @@ -3045,7 +3045,7 @@ "Equation(x**2 + 1.5*x + 1, 0)" ] }, - "execution_count": 125, + "execution_count": 124, "metadata": {}, "output_type": "execute_result" } @@ -3057,7 +3057,7 @@ }, { "cell_type": "code", - "execution_count": 126, + "execution_count": 125, "metadata": {}, "outputs": [ { @@ -3069,7 +3069,7 @@ "FiniteSet(Equation(x, -0.75 - 0.661437827766148*I), Equation(x, -0.75 + 0.661437827766148*I))" ] }, - "execution_count": 126, + "execution_count": 125, "metadata": {}, "output_type": "execute_result" } @@ -3080,17 +3080,17 @@ }, { "cell_type": "code", - "execution_count": 127, + "execution_count": 126, "metadata": {}, "outputs": [], "source": [ - "# Turn on treating integers as exact on again\n", + "# Turn treating integers as exact on again\n", "set_integers_as_exact()" ] }, { "cell_type": "code", - "execution_count": 128, + "execution_count": 127, "metadata": {}, "outputs": [ { @@ -3109,7 +3109,7 @@ "2/3" ] }, - "execution_count": 128, + "execution_count": 127, "metadata": {}, "output_type": "execute_result" } @@ -3128,7 +3128,7 @@ }, { "cell_type": "code", - "execution_count": 129, + "execution_count": 128, "metadata": {}, "outputs": [ { @@ -3140,7 +3140,7 @@ "Equation(a, b/c)" ] }, - "execution_count": 129, + "execution_count": 128, "metadata": {}, "output_type": "execute_result" } @@ -3151,7 +3151,7 @@ }, { "cell_type": "code", - "execution_count": 130, + "execution_count": 129, "metadata": {}, "outputs": [ { @@ -3163,7 +3163,7 @@ "Equation(b/c, a)" ] }, - "execution_count": 130, + "execution_count": 129, "metadata": {}, "output_type": "execute_result" } @@ -3174,7 +3174,7 @@ }, { "cell_type": "code", - "execution_count": 131, + "execution_count": 130, "metadata": {}, "outputs": [ { @@ -3186,7 +3186,7 @@ "Equation(b/c, a)" ] }, - "execution_count": 131, + "execution_count": 130, "metadata": {}, "output_type": "execute_result" } @@ -3197,7 +3197,7 @@ }, { "cell_type": "code", - "execution_count": 132, + "execution_count": 131, "metadata": {}, "outputs": [ { @@ -3209,7 +3209,7 @@ "a" ] }, - "execution_count": 132, + "execution_count": 131, "metadata": {}, "output_type": "execute_result" } @@ -3220,7 +3220,7 @@ }, { "cell_type": "code", - "execution_count": 133, + "execution_count": 132, "metadata": {}, "outputs": [ { @@ -3232,7 +3232,7 @@ "b/c" ] }, - "execution_count": 133, + "execution_count": 132, "metadata": {}, "output_type": "execute_result" } @@ -3243,7 +3243,7 @@ }, { "cell_type": "code", - "execution_count": 134, + "execution_count": 133, "metadata": {}, "outputs": [ { @@ -3255,7 +3255,7 @@ "Eq(a, b/c)" ] }, - "execution_count": 134, + "execution_count": 133, "metadata": {}, "output_type": "execute_result" } @@ -3266,7 +3266,7 @@ }, { "cell_type": "code", - "execution_count": 135, + "execution_count": 134, "metadata": {}, "outputs": [ { @@ -3278,7 +3278,7 @@ "True" ] }, - "execution_count": 135, + "execution_count": 134, "metadata": {}, "output_type": "execute_result" } @@ -3289,7 +3289,7 @@ }, { "cell_type": "code", - "execution_count": 136, + "execution_count": 135, "metadata": {}, "outputs": [ { @@ -3301,7 +3301,7 @@ "Eq(a, b/c)" ] }, - "execution_count": 136, + "execution_count": 135, "metadata": {}, "output_type": "execute_result" } @@ -3313,7 +3313,7 @@ }, { "cell_type": "code", - "execution_count": 137, + "execution_count": 136, "metadata": {}, "outputs": [ { @@ -3325,7 +3325,7 @@ "False" ] }, - "execution_count": 137, + "execution_count": 136, "metadata": {}, "output_type": "execute_result" } @@ -3336,7 +3336,7 @@ }, { "cell_type": "code", - "execution_count": 138, + "execution_count": 137, "metadata": {}, "outputs": [ { @@ -3348,7 +3348,7 @@ "Equation(a - b/c, 0)" ] }, - "execution_count": 138, + "execution_count": 137, "metadata": {}, "output_type": "execute_result" } @@ -3360,7 +3360,7 @@ }, { "cell_type": "code", - "execution_count": 139, + "execution_count": 138, "metadata": {}, "outputs": [ { @@ -3372,7 +3372,7 @@ "Equation(0, -a + b/c)" ] }, - "execution_count": 139, + "execution_count": 138, "metadata": {}, "output_type": "execute_result" } @@ -3383,7 +3383,7 @@ }, { "cell_type": "code", - "execution_count": 140, + "execution_count": 139, "metadata": {}, "outputs": [ { @@ -3395,7 +3395,7 @@ "Equation(a - b/c, 0)" ] }, - "execution_count": 140, + "execution_count": 139, "metadata": {}, "output_type": "execute_result" } @@ -3413,7 +3413,7 @@ }, { "cell_type": "code", - "execution_count": 141, + "execution_count": 140, "metadata": {}, "outputs": [ { @@ -3442,7 +3442,7 @@ "True" ] }, - "execution_count": 141, + "execution_count": 140, "metadata": {}, "output_type": "execute_result" } @@ -3482,7 +3482,7 @@ }, { "cell_type": "code", - "execution_count": 142, + "execution_count": 141, "metadata": {}, "outputs": [ { @@ -3494,7 +3494,7 @@ "True" ] }, - "execution_count": 142, + "execution_count": 141, "metadata": {}, "output_type": "execute_result" } @@ -3505,7 +3505,7 @@ }, { "cell_type": "code", - "execution_count": 143, + "execution_count": 142, "metadata": {}, "outputs": [ { @@ -3517,7 +3517,7 @@ "False" ] }, - "execution_count": 143, + "execution_count": 142, "metadata": {}, "output_type": "execute_result" } @@ -3528,7 +3528,7 @@ }, { "cell_type": "code", - "execution_count": 144, + "execution_count": 143, "metadata": { "scrolled": true }, @@ -3542,7 +3542,7 @@ "False" ] }, - "execution_count": 144, + "execution_count": 143, "metadata": {}, "output_type": "execute_result" } @@ -3553,7 +3553,7 @@ }, { "cell_type": "code", - "execution_count": 145, + "execution_count": 144, "metadata": {}, "outputs": [ { @@ -3565,7 +3565,7 @@ "True" ] }, - "execution_count": 145, + "execution_count": 144, "metadata": {}, "output_type": "execute_result" } @@ -3576,7 +3576,7 @@ }, { "cell_type": "code", - "execution_count": 146, + "execution_count": 145, "metadata": {}, "outputs": [ { @@ -3588,7 +3588,7 @@ "True" ] }, - "execution_count": 146, + "execution_count": 145, "metadata": {}, "output_type": "execute_result" } @@ -3599,7 +3599,7 @@ }, { "cell_type": "code", - "execution_count": 147, + "execution_count": 146, "metadata": {}, "outputs": [ { @@ -3611,7 +3611,7 @@ "Equation(-1, -1)" ] }, - "execution_count": 147, + "execution_count": 146, "metadata": {}, "output_type": "execute_result" } @@ -3622,7 +3622,7 @@ }, { "cell_type": "code", - "execution_count": 148, + "execution_count": 147, "metadata": {}, "outputs": [ { @@ -3634,7 +3634,7 @@ "True" ] }, - "execution_count": 148, + "execution_count": 147, "metadata": {}, "output_type": "execute_result" } @@ -3653,7 +3653,7 @@ }, { "cell_type": "code", - "execution_count": 149, + "execution_count": 148, "metadata": {}, "outputs": [ { @@ -3665,7 +3665,7 @@ "Equation(a - b, c/a)" ] }, - "execution_count": 149, + "execution_count": 148, "metadata": {}, "output_type": "execute_result" } @@ -3677,7 +3677,7 @@ }, { "cell_type": "code", - "execution_count": 150, + "execution_count": 149, "metadata": {}, "outputs": [ { @@ -3689,7 +3689,7 @@ "FiniteSet(Equation(a, b/2 - sqrt(b**2 + 4*c)/2), Equation(a, b/2 + sqrt(b**2 + 4*c)/2))" ] }, - "execution_count": 150, + "execution_count": 149, "metadata": {}, "output_type": "execute_result" } @@ -3700,7 +3700,7 @@ }, { "cell_type": "code", - "execution_count": 151, + "execution_count": 150, "metadata": {}, "outputs": [ { @@ -3712,7 +3712,7 @@ "FiniteSet({a: b/2 - sqrt(b**2 + 4*c)/2}, {a: b/2 + sqrt(b**2 + 4*c)/2})" ] }, - "execution_count": 151, + "execution_count": 150, "metadata": {}, "output_type": "execute_result" } @@ -3723,7 +3723,7 @@ }, { "cell_type": "code", - "execution_count": 152, + "execution_count": 151, "metadata": {}, "outputs": [ { @@ -3735,7 +3735,7 @@ "FiniteSet(Equation(c, a**2 - a*b))" ] }, - "execution_count": 152, + "execution_count": 151, "metadata": {}, "output_type": "execute_result" } @@ -3746,7 +3746,7 @@ }, { "cell_type": "code", - "execution_count": 153, + "execution_count": 152, "metadata": {}, "outputs": [ { @@ -3758,7 +3758,7 @@ "FiniteSet(Equation(b, (a**2 - c)/a))" ] }, - "execution_count": 153, + "execution_count": 152, "metadata": {}, "output_type": "execute_result" } @@ -3769,19 +3769,19 @@ }, { "cell_type": "code", - "execution_count": 154, + "execution_count": 153, "metadata": {}, "outputs": [ { "data": { "text/latex": [ - "$\\left\\{Q=e^{- \\frac{E F z}{R T}} e^{\\frac{Eo F z}{R T}}\\right\\}$" + "$\\left\\{Q=e^{\\frac{F z \\left(- E + Eo\\right)}{R T}}\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,(\\text{N5})\\right\\}$" ], "text/plain": [ - "FiniteSet(Equation(Q, exp(-E*F*z/(R*T))*exp(Eo*F*z/(R*T))))" + "FiniteSet(Equation(Q, exp(F*z*(-E + Eo)/(R*T))))" ] }, - "execution_count": 154, + "execution_count": 153, "metadata": {}, "output_type": "execute_result" } @@ -3792,7 +3792,7 @@ }, { "cell_type": "code", - "execution_count": 155, + "execution_count": 154, "metadata": {}, "outputs": [ { @@ -3804,7 +3804,7 @@ "FiniteSet(FiniteSet(Equation(x, -3), Equation(y, 3)), FiniteSet(Equation(x, -1), Equation(y, -1)), FiniteSet(Equation(x, 1), Equation(y, 1)), FiniteSet(Equation(x, 3), Equation(y, -3)))" ] }, - "execution_count": 155, + "execution_count": 154, "metadata": {}, "output_type": "execute_result" } @@ -3819,7 +3819,7 @@ }, { "cell_type": "code", - "execution_count": 156, + "execution_count": 155, "metadata": {}, "outputs": [ { @@ -3831,7 +3831,7 @@ "FiniteSet(3/2 - y/2, -y/2 - 3/2)" ] }, - "execution_count": 156, + "execution_count": 155, "metadata": {}, "output_type": "execute_result" } @@ -3851,7 +3851,7 @@ }, { "cell_type": "code", - "execution_count": 157, + "execution_count": 156, "metadata": {}, "outputs": [ { @@ -3870,7 +3870,7 @@ "FiniteSet(FiniteSet(Equation(x, -3), Equation(y, 3)), FiniteSet(Equation(x, -1), Equation(y, -1)), FiniteSet(Equation(x, 1), Equation(y, 1)), FiniteSet(Equation(x, 3), Equation(y, -3)))" ] }, - "execution_count": 157, + "execution_count": 156, "metadata": {}, "output_type": "execute_result" } @@ -3882,7 +3882,7 @@ }, { "cell_type": "code", - "execution_count": 158, + "execution_count": 157, "metadata": {}, "outputs": [ { @@ -3894,7 +3894,7 @@ "FiniteSet(FiniteSet(Equation(x, -3), Equation(y, 3)), FiniteSet(Equation(x, -1), Equation(y, -1)), FiniteSet(Equation(x, 1), Equation(y, 1)), FiniteSet(Equation(x, 3), Equation(y, -3)))" ] }, - "execution_count": 158, + "execution_count": 157, "metadata": {}, "output_type": "execute_result" } @@ -3906,7 +3906,7 @@ }, { "cell_type": "code", - "execution_count": 159, + "execution_count": 158, "metadata": {}, "outputs": [ { @@ -3925,7 +3925,7 @@ "FiniteSet(Equation(a, b/2 - sqrt(b**2 + 4*c)/2), Equation(a, b/2 + sqrt(b**2 + 4*c)/2))" ] }, - "execution_count": 159, + "execution_count": 158, "metadata": {}, "output_type": "execute_result" } @@ -3938,7 +3938,7 @@ }, { "cell_type": "code", - "execution_count": 160, + "execution_count": 159, "metadata": {}, "outputs": [ { @@ -3957,7 +3957,7 @@ "FiniteSet({a: b/2 - sqrt(b**2 + 4*c)/2}, {a: b/2 + sqrt(b**2 + 4*c)/2})" ] }, - "execution_count": 160, + "execution_count": 159, "metadata": {}, "output_type": "execute_result" } @@ -3968,7 +3968,7 @@ }, { "cell_type": "code", - "execution_count": 161, + "execution_count": 160, "metadata": {}, "outputs": [ { @@ -3987,7 +3987,7 @@ "Equation(a, b/2 - sqrt(b**2 + 4*c)/2)" ] }, - "execution_count": 161, + "execution_count": 160, "metadata": {}, "output_type": "execute_result" } @@ -3998,7 +3998,7 @@ }, { "cell_type": "code", - "execution_count": 162, + "execution_count": 161, "metadata": {}, "outputs": [ { @@ -4010,7 +4010,7 @@ "Equation(a, b/2 + sqrt(b**2 + 4*c)/2)" ] }, - "execution_count": 162, + "execution_count": 161, "metadata": {}, "output_type": "execute_result" } @@ -4030,7 +4030,7 @@ }, { "cell_type": "code", - "execution_count": 163, + "execution_count": 162, "metadata": {}, "outputs": [ { @@ -4039,7 +4039,7 @@ "[Equation(a, b/2 - sqrt(b**2 + 4*c)/2), Equation(a, b/2 + sqrt(b**2 + 4*c)/2)]" ] }, - "execution_count": 163, + "execution_count": 162, "metadata": {}, "output_type": "execute_result" } @@ -4051,7 +4051,7 @@ }, { "cell_type": "code", - "execution_count": 164, + "execution_count": 163, "metadata": {}, "outputs": [ { @@ -4060,7 +4060,7 @@ "[{a: b/2 - sqrt(b**2 + 4*c)/2}, {a: b/2 + sqrt(b**2 + 4*c)/2}]" ] }, - "execution_count": 164, + "execution_count": 163, "metadata": {}, "output_type": "execute_result" } @@ -4071,7 +4071,7 @@ }, { "cell_type": "code", - "execution_count": 165, + "execution_count": 164, "metadata": {}, "outputs": [ { @@ -4083,7 +4083,7 @@ " [Equation(x, 3), Equation(y, -3)]]" ] }, - "execution_count": 165, + "execution_count": 164, "metadata": {}, "output_type": "execute_result" } @@ -4101,16 +4101,16 @@ }, { "cell_type": "code", - "execution_count": 166, + "execution_count": 165, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "'0.12.0.dev0'" + "'0.12.0'" ] }, - "execution_count": 166, + "execution_count": 165, "metadata": {}, "output_type": "execute_result" } @@ -4121,16 +4121,16 @@ }, { "cell_type": "code", - "execution_count": 167, + "execution_count": 166, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "'0.12.0.dev0'" + "'0.12.0'" ] }, - "execution_count": 167, + "execution_count": 166, "metadata": {}, "output_type": "execute_result" } @@ -4157,7 +4157,14 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.10.6" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "state": {}, + "version_major": 2, + "version_minor": 0 + } } }, "nbformat": 4, diff --git a/ReadMe.md b/ReadMe.md index b40ef31..be7b300 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -137,7 +137,7 @@ github](https://github.com/gutow/Algebra_with_Sympy/issues). ## Change Log -* 0.12.0 (July X, 2023) +* 0.12.0 (July 12, 2023) * Now defaults to interpreting numbers without decimal points as integers. This can be turned off with `unset_integers_as_exact()` and on with `set_integers_as_exact()`. When on the flag diff --git a/docs/Demonstration of equation class.html b/docs/Demonstration of equation class.html index d530ca4..26385ea 100644 --- a/docs/Demonstration of equation class.html +++ b/docs/Demonstration of equation class.html @@ -3,7 +3,34 @@ -Demonstration of equation class +Demonstration of equation class @@ -14465,6 +14492,10 @@ display: none; } +.highlight { + margin: 0.4em; +} + /* Input area styling */ .jp-InputArea { overflow: hidden; @@ -14474,26 +14505,9 @@ overflow: hidden; } -.CodeMirror.cm-s-jupyter .highlight pre { -/* weird, but --jp-code-padding defined to be 5px but 4px horizontal padding is hardcoded for pre.CodeMirror-line */ - padding: var(--jp-code-padding) 4px; +.CodeMirror pre { margin: 0; - - font-family: inherit; - font-size: inherit; - line-height: inherit; - color: inherit; - -} - -.jp-OutputArea-output pre { - line-height: inherit; - font-family: inherit; -} - -.jp-RenderedText pre { - color: var(--jp-content-font-color1); - font-size: var(--jp-code-font-size); + padding: 0; } /* Using table instead of flexbox so that we can use break-inside property */ @@ -14539,10 +14553,6 @@ display: none; } -@page { - margin: 0.5in; /* Margin for each printed piece of paper */ -} - @media print { .jp-Cell-inputWrapper, .jp-Cell-outputWrapper { @@ -14597,7 +14607,7 @@