Skip to content

An algebra expression/equation simplifier made with JavaScript.

License

Notifications You must be signed in to change notification settings

i8sumPi/algebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Algebra

Welcome to my algebra expression (or equation) simplifier, made with vanilla JavaScript! It supports addition, subtraction, division (by numbers only), multiplication, and exponents.

How to Run

To see it in action, go here. To see the code, go to script.js.

How it works

Go to script.js to see the commented code. The function doAll("...") simplifies something.

On a high level, it works by parsing the expression as a string (it doesn't convert the expression into computer-readable code). I started by making a parser for just arithmetic, and then expanded it to work with variables as well.

Bugs

I've done a lot of debugging with this but there's probably still bugs in there. If you find one, please let me know by starting an issue.

About

An algebra expression/equation simplifier made with JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published