mathai 0.2.7__py3-none-any.whl → 0.2.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mathai/__init__.py +16 -16
- mathai/apart.py +103 -103
- mathai/base.py +355 -354
- mathai/console.py +84 -84
- mathai/diff.py +65 -65
- mathai/expand.py +58 -58
- mathai/factor.py +125 -125
- mathai/fraction.py +59 -59
- mathai/integrate.py +346 -346
- mathai/inverse.py +65 -65
- mathai/limit.py +130 -130
- mathai/linear.py +152 -152
- mathai/logic.py +224 -224
- mathai/parser.py +154 -154
- mathai/printeq.py +34 -34
- mathai/simplify.py +358 -358
- mathai/structure.py +103 -103
- mathai/tool.py +35 -35
- mathai/trig.py +169 -169
- mathai/univariate_inequality.py +410 -414
- {mathai-0.2.7.dist-info → mathai-0.2.9.dist-info}/METADATA +231 -231
- mathai-0.2.9.dist-info/RECORD +24 -0
- {mathai-0.2.7.dist-info → mathai-0.2.9.dist-info}/WHEEL +1 -1
- mathai-0.2.7.dist-info/RECORD +0 -24
- {mathai-0.2.7.dist-info → mathai-0.2.9.dist-info}/top_level.txt +0 -0
@@ -1,231 +1,231 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name: mathai
|
3
|
-
Version: 0.2.
|
4
|
-
Summary: Mathematics solving Ai tailored to NCERT
|
5
|
-
Home-page: https://github.com/infinity390/mathai4
|
6
|
-
Author: educated indians are having a low iq and are good for nothing
|
7
|
-
Requires-Python: >=3.7
|
8
|
-
Description-Content-Type: text/markdown
|
9
|
-
Requires-Dist: lark-parser
|
10
|
-
Dynamic: author
|
11
|
-
Dynamic: description
|
12
|
-
Dynamic: description-content-type
|
13
|
-
Dynamic: home-page
|
14
|
-
Dynamic: requires-dist
|
15
|
-
Dynamic: requires-python
|
16
|
-
Dynamic: summary
|
17
|
-
|
18
|
-
# Math AI Documentation
|
19
|
-
|
20
|
-
## Philosophy
|
21
|
-
I think it is a big realization in computer science and programming to realize that computers can solve mathematics.
|
22
|
-
This understanding should be made mainstream. It can help transform education, mathematical research, and computation of mathematical equations for work.
|
23
|
-
|
24
|
-
## Societal Implications Of Such A Computer Program And The Author's Comment On Universities Of India
|
25
|
-
I think mathematics is valued by society because of education. Schools and universities teach them.
|
26
|
-
So this kind of software, if made mainstream, could bring real change.
|
27
|
-
|
28
|
-
### The Author's Comments On The Universities In His Country
|
29
|
-
> Educated Indians are having a low IQ and are good for nothing.
|
30
|
-
> The Indian Institute of Technology (IITs) graduates are the leader of the fools.
|
31
|
-
> Every educated Indian is beneath me.
|
32
|
-
> Now learn how this Python library can solve the math questions of your exams.
|
33
|
-
|
34
|
-
## The Summary Of How Computer "Solves" Math
|
35
|
-
Math equations are a tree data structure (`TreeNode` class).
|
36
|
-
We can manipulate the math equations using various algorithms (functions provided by the `mathai` library).
|
37
|
-
We first parse the math equation strings to get the tree data structure (`parse` function in `mathai`).
|
38
|
-
|
39
|
-
## The Library
|
40
|
-
Import the library by doing:
|
41
|
-
|
42
|
-
```python
|
43
|
-
from mathai import *
|
44
|
-
```
|
45
|
-
|
46
|
-
### str_form
|
47
|
-
It is the string representation of a `TreeNode` math equation.
|
48
|
-
|
49
|
-
#### Example
|
50
|
-
```text
|
51
|
-
(cos(x)^2)+(sin(x)^2)
|
52
|
-
```
|
53
|
-
|
54
|
-
Is represented internally as:
|
55
|
-
|
56
|
-
```text
|
57
|
-
f_add
|
58
|
-
f_pow
|
59
|
-
f_cos
|
60
|
-
v_0
|
61
|
-
d_2
|
62
|
-
f_pow
|
63
|
-
f_sin
|
64
|
-
v_0
|
65
|
-
d_2
|
66
|
-
```
|
67
|
-
|
68
|
-
#### Leaf Nodes
|
69
|
-
|
70
|
-
**Variables** (start with a `v_` prefix):
|
71
|
-
|
72
|
-
- `v_0`
|
73
|
-
- `v_1`
|
74
|
-
- `v_2`
|
75
|
-
- `v_3`
|
76
|
-
|
77
|
-
**Numbers** (start with `d_` prefix; only integers):
|
78
|
-
|
79
|
-
- `d_-1`
|
80
|
-
- `d_0`
|
81
|
-
- `d_1`
|
82
|
-
- `d_2`
|
83
|
-
|
84
|
-
#### Branch Nodes
|
85
|
-
- `f_add`
|
86
|
-
- `f_mul`
|
87
|
-
- `f_pow`
|
88
|
-
|
89
|
-
### parse
|
90
|
-
Takes a math equation string and outputs a `TreeNode` object.
|
91
|
-
|
92
|
-
```python
|
93
|
-
from mathai import *
|
94
|
-
|
95
|
-
equation = parse("sin(x)^2+cos(x)^2")
|
96
|
-
print(equation)
|
97
|
-
```
|
98
|
-
|
99
|
-
#### Output
|
100
|
-
```text
|
101
|
-
(cos(x)^2)+(sin(x)^2)
|
102
|
-
```
|
103
|
-
|
104
|
-
### printeq, printeq_str, printeq_log
|
105
|
-
Prints math equations in a more readable form than usual `print`.
|
106
|
-
|
107
|
-
```python
|
108
|
-
from mathai import *
|
109
|
-
|
110
|
-
equation = simplify(parse("(x+1)/x"))
|
111
|
-
print(equation)
|
112
|
-
printeq(equation)
|
113
|
-
```
|
114
|
-
|
115
|
-
#### Output
|
116
|
-
```text
|
117
|
-
(1+x)*(x^-1)
|
118
|
-
(1+x)/x
|
119
|
-
```
|
120
|
-
|
121
|
-
### solve, simplify
|
122
|
-
`simplify` performs what `solve` does and more.
|
123
|
-
It simplifies and cleans up a given math equation.
|
124
|
-
|
125
|
-
```python
|
126
|
-
from mathai import *
|
127
|
-
|
128
|
-
equation = simplify(parse("(x+x+x+x-1-1-1-1)*(4*x-4)*sin(sin(x+x+x)*sin(3*x))"))
|
129
|
-
printeq(equation)
|
130
|
-
```
|
131
|
-
|
132
|
-
#### Output
|
133
|
-
```text
|
134
|
-
((-4+(4*x))^2)*sin((sin((3*x))^2))
|
135
|
-
```
|
136
|
-
|
137
|
-
### Incomplete Documentation, Will be updated and completed later on
|
138
|
-
|
139
|
-
### Example Demonstration [limits questions can also be solved other than this these, try limit()]
|
140
|
-

|
141
|
-
```python
|
142
|
-
import sys, os, time
|
143
|
-
from mathai import *
|
144
|
-
|
145
|
-
sys.setrecursionlimit(10000)
|
146
|
-
|
147
|
-
def integration_byparts(item): return simplify(fraction(simplify(byparts(simplify(parse(item)))[0])))
|
148
|
-
def integration_apart(item): return simplify(fraction(integrate(apart(factor2(simplify(parse(item)))))[0]))
|
149
|
-
def integration_direct(item): return simplify(fraction(simplify(integrate(simplify(parse(item)))[0])))
|
150
|
-
def integration_trig(item): return simplify(trig0(integrate(trig1(simplify(parse(item))))[0]))
|
151
|
-
def algebra(item): return logic0(simplify(expand(simplify(parse(item)))))
|
152
|
-
def trig_basic(item): return logic0(simplify(expand(trig3(simplify(parse(item))))))
|
153
|
-
def trig_advanced(item): return logic0(simplify(trig0(trig1(trig4(simplify(fraction(trig0(simplify(parse(item))))))))))
|
154
|
-
|
155
|
-
all_tasks = [
|
156
|
-
*[(item, trig_advanced) for item in [
|
157
|
-
"cos(x)/(1+sin(x)) + (1+sin(x))/cos(x) = 2*sec(x)",
|
158
|
-
"(1+sec(x))/sec(x) = sin(x)^2/(1-cos(x))"]],
|
159
|
-
*[(item, integration_byparts) for item in ["sin(x)*x","x*sin(3*x)","x*log(abs(x))","arctan(x)"]],
|
160
|
-
*[(item, integration_apart) for item in ["x/((x+1)*(x+2))","1/(x^2-9)"]],
|
161
|
-
*[(item, integration_direct) for item in [
|
162
|
-
"x*sqrt(x+2)","sin(cos(x))*sin(x)","2*x/(1+x^2)","sqrt(a*x+b)","cos(sqrt(x))/sqrt(x)","e^(arctan(x))/(1+x^2)","sqrt(sin(2*x))*cos(2*x"]],
|
163
|
-
*[(item, integration_trig) for item in ["sin(2*x+5)^2","sin(x)^4","cos(2*x)^4"]],
|
164
|
-
*[(item, algebra) for item in ["(x+1)^2 = x^2+2*x+1","(x+1)*(x-1) = x^2-1"]],
|
165
|
-
*[(item, trig_basic) for item in ["2*sin(x)*cos(x)=sin(2*x)"]],
|
166
|
-
]
|
167
|
-
|
168
|
-
def run_task(task):
|
169
|
-
item, func = task
|
170
|
-
try: result = func(item)
|
171
|
-
except Exception as e: result = str(e)
|
172
|
-
return item, result
|
173
|
-
|
174
|
-
if __name__=="__main__":
|
175
|
-
print(f"Solving {len(all_tasks)} math questions...\n")
|
176
|
-
start_time = time.time()
|
177
|
-
for task in all_tasks:
|
178
|
-
item, result = run_task(task)
|
179
|
-
print(f"{item} => {result}\n")
|
180
|
-
print(f"All tasks completed in {time.time()-start_time:.2f} seconds")
|
181
|
-
```
|
182
|
-
### Output
|
183
|
-
|
184
|
-
```
|
185
|
-
Running 21 tasks asynchronously on 8 cores...
|
186
|
-
|
187
|
-
x*log(abs(x)) => ((-2*(x^2))+(4*log(abs(x))*(x^2)))*(8^-1)
|
188
|
-
|
189
|
-
arctan(x) => (log((abs((1+(x^2)))^-1))+(2*arctan(x)*x))*(2^-1)
|
190
|
-
|
191
|
-
sin(cos(x))*sin(x) => cos(cos(x))
|
192
|
-
|
193
|
-
1/(x^2-9) => (log(abs((-3+x)))+log((abs((3+x))^-1)))*(6^-1)
|
194
|
-
|
195
|
-
x/((x+1)*(x+2)) => log((abs((1+x))^-1))+log(((2+x)^2))
|
196
|
-
|
197
|
-
x*sin(3*x) => ((-9*cos((3*x))*x)+(3*sin((3*x))))*(27^-1)
|
198
|
-
|
199
|
-
(1+sec(x))/sec(x) = sin(x)^2/(1-cos(x)) => true
|
200
|
-
|
201
|
-
e^(arctan(x))/(1+x^2) => e^arctan(x)
|
202
|
-
|
203
|
-
cos(sqrt(x))/sqrt(x) => 2*sin((x^(2^-1)))
|
204
|
-
|
205
|
-
sqrt(a*x+b) => 2*(3^-1)*(((x*a)+b)^(3*(2^-1)))*(a^-1)
|
206
|
-
|
207
|
-
sin(x)*x => (-1*cos(x)*x)+sin(x)
|
208
|
-
|
209
|
-
(x+1)^2 = x^2+2*x+1 => true
|
210
|
-
|
211
|
-
(x+1)*(x-1) = x^2-1 => true
|
212
|
-
|
213
|
-
cos(x)/(1+sin(x)) + (1+sin(x))/cos(x) = 2*sec(x) => true
|
214
|
-
|
215
|
-
2*sin(x)*cos(x)=sin(2*x) => true
|
216
|
-
|
217
|
-
sqrt(sin(2*x))*cos(2*x) => (3^-1)*(sin((2*x))^(3*(2^-1)))
|
218
|
-
|
219
|
-
2*x/(1+x^2) => log(abs((1+(x^2))))
|
220
|
-
|
221
|
-
sin(2*x+5)^2 => ((-1*(4^-1)*sin((10+(4*x))))+x)*(2^-1)
|
222
|
-
|
223
|
-
cos(2*x)^4 => ((4^-1)*x)+((64^-1)*sin((8*x)))+((8^-1)*sin((4*x)))+((8^-1)*x)
|
224
|
-
|
225
|
-
x*sqrt(x+2) => ((-1*(4^-1)*((2+x)^(2+(2^-1))))+(-2*((2+x)^(2+(2^-1))))+(5*((2+x)^(1+(2^-1)))*x)+((2^-1)*((2+x)^(1+(2^-1)))*x)+((8^-1)*((2+x)^(1+(2^-1)))*x))*((1+(2^-1))^-3)*((2+(2^-1))^-1)
|
226
|
-
|
227
|
-
sin(x)^4 => (-1*(4^-1)*sin((2*x)))+((32^-1)*sin((4*x)))+((4^-1)*x)+((8^-1)*x)
|
228
|
-
|
229
|
-
All tasks completed in 129.78 seconds
|
230
|
-
```
|
231
|
-
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: mathai
|
3
|
+
Version: 0.2.9
|
4
|
+
Summary: Mathematics solving Ai tailored to NCERT
|
5
|
+
Home-page: https://github.com/infinity390/mathai4
|
6
|
+
Author: educated indians are having a low iq and are good for nothing
|
7
|
+
Requires-Python: >=3.7
|
8
|
+
Description-Content-Type: text/markdown
|
9
|
+
Requires-Dist: lark-parser
|
10
|
+
Dynamic: author
|
11
|
+
Dynamic: description
|
12
|
+
Dynamic: description-content-type
|
13
|
+
Dynamic: home-page
|
14
|
+
Dynamic: requires-dist
|
15
|
+
Dynamic: requires-python
|
16
|
+
Dynamic: summary
|
17
|
+
|
18
|
+
# Math AI Documentation
|
19
|
+
|
20
|
+
## Philosophy
|
21
|
+
I think it is a big realization in computer science and programming to realize that computers can solve mathematics.
|
22
|
+
This understanding should be made mainstream. It can help transform education, mathematical research, and computation of mathematical equations for work.
|
23
|
+
|
24
|
+
## Societal Implications Of Such A Computer Program And The Author's Comment On Universities Of India
|
25
|
+
I think mathematics is valued by society because of education. Schools and universities teach them.
|
26
|
+
So this kind of software, if made mainstream, could bring real change.
|
27
|
+
|
28
|
+
### The Author's Comments On The Universities In His Country
|
29
|
+
> Educated Indians are having a low IQ and are good for nothing.
|
30
|
+
> The Indian Institute of Technology (IITs) graduates are the leader of the fools.
|
31
|
+
> Every educated Indian is beneath me.
|
32
|
+
> Now learn how this Python library can solve the math questions of your exams.
|
33
|
+
|
34
|
+
## The Summary Of How Computer "Solves" Math
|
35
|
+
Math equations are a tree data structure (`TreeNode` class).
|
36
|
+
We can manipulate the math equations using various algorithms (functions provided by the `mathai` library).
|
37
|
+
We first parse the math equation strings to get the tree data structure (`parse` function in `mathai`).
|
38
|
+
|
39
|
+
## The Library
|
40
|
+
Import the library by doing:
|
41
|
+
|
42
|
+
```python
|
43
|
+
from mathai import *
|
44
|
+
```
|
45
|
+
|
46
|
+
### str_form
|
47
|
+
It is the string representation of a `TreeNode` math equation.
|
48
|
+
|
49
|
+
#### Example
|
50
|
+
```text
|
51
|
+
(cos(x)^2)+(sin(x)^2)
|
52
|
+
```
|
53
|
+
|
54
|
+
Is represented internally as:
|
55
|
+
|
56
|
+
```text
|
57
|
+
f_add
|
58
|
+
f_pow
|
59
|
+
f_cos
|
60
|
+
v_0
|
61
|
+
d_2
|
62
|
+
f_pow
|
63
|
+
f_sin
|
64
|
+
v_0
|
65
|
+
d_2
|
66
|
+
```
|
67
|
+
|
68
|
+
#### Leaf Nodes
|
69
|
+
|
70
|
+
**Variables** (start with a `v_` prefix):
|
71
|
+
|
72
|
+
- `v_0` → x
|
73
|
+
- `v_1` → y
|
74
|
+
- `v_2` → z
|
75
|
+
- `v_3` → a
|
76
|
+
|
77
|
+
**Numbers** (start with `d_` prefix; only integers):
|
78
|
+
|
79
|
+
- `d_-1` → -1
|
80
|
+
- `d_0` → 0
|
81
|
+
- `d_1` → 1
|
82
|
+
- `d_2` → 2
|
83
|
+
|
84
|
+
#### Branch Nodes
|
85
|
+
- `f_add` → addition
|
86
|
+
- `f_mul` → multiplication
|
87
|
+
- `f_pow` → power
|
88
|
+
|
89
|
+
### parse
|
90
|
+
Takes a math equation string and outputs a `TreeNode` object.
|
91
|
+
|
92
|
+
```python
|
93
|
+
from mathai import *
|
94
|
+
|
95
|
+
equation = parse("sin(x)^2+cos(x)^2")
|
96
|
+
print(equation)
|
97
|
+
```
|
98
|
+
|
99
|
+
#### Output
|
100
|
+
```text
|
101
|
+
(cos(x)^2)+(sin(x)^2)
|
102
|
+
```
|
103
|
+
|
104
|
+
### printeq, printeq_str, printeq_log
|
105
|
+
Prints math equations in a more readable form than usual `print`.
|
106
|
+
|
107
|
+
```python
|
108
|
+
from mathai import *
|
109
|
+
|
110
|
+
equation = simplify(parse("(x+1)/x"))
|
111
|
+
print(equation)
|
112
|
+
printeq(equation)
|
113
|
+
```
|
114
|
+
|
115
|
+
#### Output
|
116
|
+
```text
|
117
|
+
(1+x)*(x^-1)
|
118
|
+
(1+x)/x
|
119
|
+
```
|
120
|
+
|
121
|
+
### solve, simplify
|
122
|
+
`simplify` performs what `solve` does and more.
|
123
|
+
It simplifies and cleans up a given math equation.
|
124
|
+
|
125
|
+
```python
|
126
|
+
from mathai import *
|
127
|
+
|
128
|
+
equation = simplify(parse("(x+x+x+x-1-1-1-1)*(4*x-4)*sin(sin(x+x+x)*sin(3*x))"))
|
129
|
+
printeq(equation)
|
130
|
+
```
|
131
|
+
|
132
|
+
#### Output
|
133
|
+
```text
|
134
|
+
((-4+(4*x))^2)*sin((sin((3*x))^2))
|
135
|
+
```
|
136
|
+
|
137
|
+
### Incomplete Documentation, Will be updated and completed later on
|
138
|
+
|
139
|
+
### Example Demonstration [limits questions can also be solved other than this these, try limit()]
|
140
|
+

|
141
|
+
```python
|
142
|
+
import sys, os, time
|
143
|
+
from mathai import *
|
144
|
+
|
145
|
+
sys.setrecursionlimit(10000)
|
146
|
+
|
147
|
+
def integration_byparts(item): return simplify(fraction(simplify(byparts(simplify(parse(item)))[0])))
|
148
|
+
def integration_apart(item): return simplify(fraction(integrate(apart(factor2(simplify(parse(item)))))[0]))
|
149
|
+
def integration_direct(item): return simplify(fraction(simplify(integrate(simplify(parse(item)))[0])))
|
150
|
+
def integration_trig(item): return simplify(trig0(integrate(trig1(simplify(parse(item))))[0]))
|
151
|
+
def algebra(item): return logic0(simplify(expand(simplify(parse(item)))))
|
152
|
+
def trig_basic(item): return logic0(simplify(expand(trig3(simplify(parse(item))))))
|
153
|
+
def trig_advanced(item): return logic0(simplify(trig0(trig1(trig4(simplify(fraction(trig0(simplify(parse(item))))))))))
|
154
|
+
|
155
|
+
all_tasks = [
|
156
|
+
*[(item, trig_advanced) for item in [
|
157
|
+
"cos(x)/(1+sin(x)) + (1+sin(x))/cos(x) = 2*sec(x)",
|
158
|
+
"(1+sec(x))/sec(x) = sin(x)^2/(1-cos(x))"]],
|
159
|
+
*[(item, integration_byparts) for item in ["sin(x)*x","x*sin(3*x)","x*log(abs(x))","arctan(x)"]],
|
160
|
+
*[(item, integration_apart) for item in ["x/((x+1)*(x+2))","1/(x^2-9)"]],
|
161
|
+
*[(item, integration_direct) for item in [
|
162
|
+
"x*sqrt(x+2)","sin(cos(x))*sin(x)","2*x/(1+x^2)","sqrt(a*x+b)","cos(sqrt(x))/sqrt(x)","e^(arctan(x))/(1+x^2)","sqrt(sin(2*x))*cos(2*x"]],
|
163
|
+
*[(item, integration_trig) for item in ["sin(2*x+5)^2","sin(x)^4","cos(2*x)^4"]],
|
164
|
+
*[(item, algebra) for item in ["(x+1)^2 = x^2+2*x+1","(x+1)*(x-1) = x^2-1"]],
|
165
|
+
*[(item, trig_basic) for item in ["2*sin(x)*cos(x)=sin(2*x)"]],
|
166
|
+
]
|
167
|
+
|
168
|
+
def run_task(task):
|
169
|
+
item, func = task
|
170
|
+
try: result = func(item)
|
171
|
+
except Exception as e: result = str(e)
|
172
|
+
return item, result
|
173
|
+
|
174
|
+
if __name__=="__main__":
|
175
|
+
print(f"Solving {len(all_tasks)} math questions...\n")
|
176
|
+
start_time = time.time()
|
177
|
+
for task in all_tasks:
|
178
|
+
item, result = run_task(task)
|
179
|
+
print(f"{item} => {result}\n")
|
180
|
+
print(f"All tasks completed in {time.time()-start_time:.2f} seconds")
|
181
|
+
```
|
182
|
+
### Output
|
183
|
+
|
184
|
+
```
|
185
|
+
Running 21 tasks asynchronously on 8 cores...
|
186
|
+
|
187
|
+
x*log(abs(x)) => ((-2*(x^2))+(4*log(abs(x))*(x^2)))*(8^-1)
|
188
|
+
|
189
|
+
arctan(x) => (log((abs((1+(x^2)))^-1))+(2*arctan(x)*x))*(2^-1)
|
190
|
+
|
191
|
+
sin(cos(x))*sin(x) => cos(cos(x))
|
192
|
+
|
193
|
+
1/(x^2-9) => (log(abs((-3+x)))+log((abs((3+x))^-1)))*(6^-1)
|
194
|
+
|
195
|
+
x/((x+1)*(x+2)) => log((abs((1+x))^-1))+log(((2+x)^2))
|
196
|
+
|
197
|
+
x*sin(3*x) => ((-9*cos((3*x))*x)+(3*sin((3*x))))*(27^-1)
|
198
|
+
|
199
|
+
(1+sec(x))/sec(x) = sin(x)^2/(1-cos(x)) => true
|
200
|
+
|
201
|
+
e^(arctan(x))/(1+x^2) => e^arctan(x)
|
202
|
+
|
203
|
+
cos(sqrt(x))/sqrt(x) => 2*sin((x^(2^-1)))
|
204
|
+
|
205
|
+
sqrt(a*x+b) => 2*(3^-1)*(((x*a)+b)^(3*(2^-1)))*(a^-1)
|
206
|
+
|
207
|
+
sin(x)*x => (-1*cos(x)*x)+sin(x)
|
208
|
+
|
209
|
+
(x+1)^2 = x^2+2*x+1 => true
|
210
|
+
|
211
|
+
(x+1)*(x-1) = x^2-1 => true
|
212
|
+
|
213
|
+
cos(x)/(1+sin(x)) + (1+sin(x))/cos(x) = 2*sec(x) => true
|
214
|
+
|
215
|
+
2*sin(x)*cos(x)=sin(2*x) => true
|
216
|
+
|
217
|
+
sqrt(sin(2*x))*cos(2*x) => (3^-1)*(sin((2*x))^(3*(2^-1)))
|
218
|
+
|
219
|
+
2*x/(1+x^2) => log(abs((1+(x^2))))
|
220
|
+
|
221
|
+
sin(2*x+5)^2 => ((-1*(4^-1)*sin((10+(4*x))))+x)*(2^-1)
|
222
|
+
|
223
|
+
cos(2*x)^4 => ((4^-1)*x)+((64^-1)*sin((8*x)))+((8^-1)*sin((4*x)))+((8^-1)*x)
|
224
|
+
|
225
|
+
x*sqrt(x+2) => ((-1*(4^-1)*((2+x)^(2+(2^-1))))+(-2*((2+x)^(2+(2^-1))))+(5*((2+x)^(1+(2^-1)))*x)+((2^-1)*((2+x)^(1+(2^-1)))*x)+((8^-1)*((2+x)^(1+(2^-1)))*x))*((1+(2^-1))^-3)*((2+(2^-1))^-1)
|
226
|
+
|
227
|
+
sin(x)^4 => (-1*(4^-1)*sin((2*x)))+((32^-1)*sin((4*x)))+((4^-1)*x)+((8^-1)*x)
|
228
|
+
|
229
|
+
All tasks completed in 129.78 seconds
|
230
|
+
```
|
231
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
mathai/__init__.py,sha256=RrXybO5C4bVzgTckvES1cuWneZtKqI61TAnbA_pgDBc,599
|
2
|
+
mathai/apart.py,sha256=hzgnha6cGmAikrGkDTBg3440tqiVBb_b0WIQTsaFBYI,3027
|
3
|
+
mathai/base.py,sha256=jqduQBobxzny5yYwsa31zkJpXFqACNFKi_51nVx_WX0,12037
|
4
|
+
mathai/console.py,sha256=3X1rh1DWacvibYM_r19ayjVFcWFvw0hJaWntxJjksn4,3035
|
5
|
+
mathai/diff.py,sha256=13iBf3XSTqBec8560m3gFfVXu3z0Ao9r2I4_1fXQrvA,2814
|
6
|
+
mathai/expand.py,sha256=c7m5DpPH4lpCJuEzFdn12zjapRGZ2HLpZuwDY2zqu34,1773
|
7
|
+
mathai/factor.py,sha256=rRpY7zRb26P75aKYPgJKwnuPey0wgSo2g96nFt58Vtk,5191
|
8
|
+
mathai/fraction.py,sha256=3gWjmkCzZeh_-la-aICzGSsGSm5fx2NgQyLPPimb2xg,2514
|
9
|
+
mathai/integrate.py,sha256=Z7MmhYhvXL5rHk__UiMU26CG5EPfQD0bBRgueiGKNHM,12306
|
10
|
+
mathai/inverse.py,sha256=qzSI1mImQhPen1Ve38A3tWDreTge0QCBr6FThvacWjo,2854
|
11
|
+
mathai/limit.py,sha256=W-skb5n6AZ-YGoAOmVfPTpZaQ67dl0Q5-g0JOgLon_o,4790
|
12
|
+
mathai/linear.py,sha256=CnQeJZXV1DVedo65fze71bJ9xRgfsntRbJHPEjihZvs,5329
|
13
|
+
mathai/logic.py,sha256=YBHL0fHVht-anPFPcL_eSrlede_JGiKFL6hir4jFnVs,9429
|
14
|
+
mathai/parser.py,sha256=AnovXg89n8jb9nLhRSZvk0SDlwFf70DbqLyhyyqJM50,6655
|
15
|
+
mathai/printeq.py,sha256=ewfFW8BJja_TzcvBTjhzdyNbNSbkuo4lMgz8KIgvAZE,1284
|
16
|
+
mathai/simplify.py,sha256=w8Jpj88IeuOVqhX2ZkSBcZvxeItAWfkm4hr2o_bFg2k,14682
|
17
|
+
mathai/structure.py,sha256=RvGl_dgLjP82lpwNFgYOKrU04xSV0yQ6qdcnP6rn2iI,4003
|
18
|
+
mathai/tool.py,sha256=GGFvT2nXXbxw3IWqb1Ms_qrlJUJTJv0IT_ymY6QNYnw,1064
|
19
|
+
mathai/trig.py,sha256=30Pcw_phXjM8AqhulAsouwVsGUA0ptANszFpSQTszaM,6728
|
20
|
+
mathai/univariate_inequality.py,sha256=yJfnp3jq0MRw88V0lJTv454W64wV_A0vEUZfFQSZky0,14368
|
21
|
+
mathai-0.2.9.dist-info/METADATA,sha256=flfLgmkSv3SzkxLzIo7plLZNaLnorxYNSrx8xqph2FM,6801
|
22
|
+
mathai-0.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
23
|
+
mathai-0.2.9.dist-info/top_level.txt,sha256=ROP4l3OhGYw3ihkQGASr18xM9GsK4z3_6whV5AyXLwE,7
|
24
|
+
mathai-0.2.9.dist-info/RECORD,,
|
mathai-0.2.7.dist-info/RECORD
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
mathai/__init__.py,sha256=1e8IUnfQv45U_EIp4GS_ugwVQlqQPWoWn3td5pTF5Lk,615
|
2
|
-
mathai/apart.py,sha256=P0B21wHUFitc5RGbNJlwSeOdseOMcav4I7teFNcZmFA,3130
|
3
|
-
mathai/base.py,sha256=8grzVyhvSrlpBRe-0ThkVGJtl9uokwzeOVHT1GcgznQ,12330
|
4
|
-
mathai/console.py,sha256=FsEMqDsgFeBSUiPCm9sfReZp56NSyoFVldqmVwvW4lg,3119
|
5
|
-
mathai/diff.py,sha256=Dvc-tuiW8jLncybjGqHs2WTg2vpMEdRJqUoIdnDj4sk,2879
|
6
|
-
mathai/expand.py,sha256=IqkxHS8lqbk0PZqz2y_IbRMSP0GExV6fneYwVEWQ9XM,1831
|
7
|
-
mathai/factor.py,sha256=1-Bxl3MX6P1mYM-CX0hRskCrTZWHFdaUL-V1OqX48hY,5316
|
8
|
-
mathai/fraction.py,sha256=KGldpi8mndp5cvp6qbN7ZdMZyVmK6popa3AwkWmHXl4,2573
|
9
|
-
mathai/integrate.py,sha256=I_9hIi3m9eoYjYwBbp_Bu1VXVRiXbUqYcJfL3cpLBPk,12652
|
10
|
-
mathai/inverse.py,sha256=QCvDrzKquWsZv-BDAzZd9HnU0c3gZvcc44UztHVO5LQ,2919
|
11
|
-
mathai/limit.py,sha256=RA8YAehgYCGVWv9qBc8uQ34BQ9mFthWl2OrVTwcHl2g,4920
|
12
|
-
mathai/linear.py,sha256=eVnDbJYC1TWwg4J7ovBKsaHYlSoDmXk5jQpsqwtVPyI,5481
|
13
|
-
mathai/logic.py,sha256=UvHzRmKcO9AD51tRzHmpNSEhgW5gmaf4XPaQKFjGfC4,9653
|
14
|
-
mathai/parser.py,sha256=ENtMMm7Q_5QZL6cjbwsXGVJv-H53ueCPGEosJy4LcjY,6809
|
15
|
-
mathai/printeq.py,sha256=JTB0_RBcgt1yFviqlHtXGXuSXcpKrxzSxj5WHkOHon4,1318
|
16
|
-
mathai/simplify.py,sha256=FZrQkG-dhUJqD-V856139Ogj2SAQQ8pNkvUCyfTwZr0,15034
|
17
|
-
mathai/structure.py,sha256=Hgw2y43dwasa6G8z6OS2lmReh7JHwlChGn-FUdEaWY8,4106
|
18
|
-
mathai/tool.py,sha256=87N5Ya7DmHdFOobTYDAjPHNWZuMzMIDjYN0ZtlHjxqE,1099
|
19
|
-
mathai/trig.py,sha256=ywu89MJfAB81JCzsVPBLpGGv8od0LhLn5cgDtLtYwmw,6897
|
20
|
-
mathai/univariate_inequality.py,sha256=zSbpMMaG0QVAU74b6hQstv4gmBJkRGjkn9jHWLBotEE,14725
|
21
|
-
mathai-0.2.7.dist-info/METADATA,sha256=0lJc4A1TrhIkka4RMILKnZfIn08WqVVT9wQThDIe6rw,7087
|
22
|
-
mathai-0.2.7.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
23
|
-
mathai-0.2.7.dist-info/top_level.txt,sha256=ROP4l3OhGYw3ihkQGASr18xM9GsK4z3_6whV5AyXLwE,7
|
24
|
-
mathai-0.2.7.dist-info/RECORD,,
|
File without changes
|