Skip to content

BoboMuller/Equation-Solver-and-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Equation-Solver-and-Parser

Equation solver and parser

This little programm can be used to solve systems of (in)equations with the help of z3. And also to calculate simple expressions while respecting basic math rules.

The branch called old has some functionality this one does not have like substraction, division, exponention, sin, cos, tan.

It can parse the text of your input and transform it into the language of z3. z3 will find a solution and returns exactly one, if there is one. The solution can be tested with a function called pytest_helper if you don't believe the answer is correct.

Have a look at PStA.py line 125 and ongoing. There are a lot of examples that demonstrate what this programm can do. The commented lines at the beginning of some functions are for pytest. You can see there what output the code would generate.

About

Equation solver and parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published