Skip to content

pknight24/algebracket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Algebracket

Algebracket solves simple math equations, with or without variables.

Installation

To use algebracket, you will need Racket installed. Then, run:

git clone https://github.com/pknight24/algebracket

cd algebracket

racket run

and the program will start.

Usage

You can pass equations to the algebracket 'repl' like this:

(1 + x at 4)

this will plug in '4' for 'x', and evaluate to 5. You can pass more complicated equations by using lots and lots of parentheses. Example:

((x ^ 2) + (5 * x) + 4 at 3)

which will evaluate to 28. You can also pass an expression without any variables, such as:

((5 * 2) + 2)

which evaluates to 12. Exit the 'repl' at any time by typing 'exit'.

Releases

No releases published

Packages

No packages published

Languages