Skip to content
/ solver Public

Simple python script to solve equations and systems of equations

License

Notifications You must be signed in to change notification settings

ku4in/solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

solver

Simple python script to solve equations and systems of equations

Usage: solver.py [data]

data is a file containing equations and systems of equations (each equation on a new line) separated by at least one blank line. All lowercase characters a..z are treated as variables. If data file is not specified then solver.py reads standard input. In this case it does not print equations themselves before solutions, so this can be used as an interactive mode. * symbol can be omitted, i.e. xyz will be treated as x*y*z or you can simply type something like this: 3(x + 1)(y - 2). However, math functions are recognized by parser and will remain as they are, i.e. you can use abs(x) or sin(x + pi/4).

About

Simple python script to solve equations and systems of equations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages