it took me 3 years to make this software
it is 1000s of lines of code
math equations are tree data structures. it has nodes like function names, variables and integers in them decorated with brackets.
this is the tree of the equation “sin(x)^2 + cos(x)^2 = 1”
in my software there many function, even though among all of them god() function is the most useful and important function.
god() internally uses all other functions in the library to do maths.
- god = solves a math problem automatically with steps
- simplify = simplify equation by merging like terms and removing unnecessary terms
- expand = expansion of equation and distributive property
- fraction = cross multiplication of fractions
- apart = partial fraction decomposition
- wavycurvy = this can be used to solve univariate inequality
- absolute = make cases for |x|
- integrate_summation = distribute integrals across sums
- diff = perform differentiation wrt to a variable treating all others as constant
- diff2 = performs partial and complete differentiation
- etc…
check the github repository to know more
!pip install mathai==1.5.4
from mathai import *
god("integrate(1/(sin(x)*cos(x)),x)")
this code outputs (you can run this on google colab)
? integrate(1/(sin(x)*cos(x)),x)
thinking...
integrate((1/(cos(x)*sin(x))),x)
integrate((2/sin((2*x))),x)
log(abs(tan(x)))
=> log(abs((sin(x)/cos(x))))
check the github repository below and feedback
