Skip to content

The app that solve an equation like "kx+b=y" (find x using other values)

License

Notifications You must be signed in to change notification settings

neMoePalto/equation

Repository files navigation

equation

The app solve an equation like "k*x+b=y" ("b1+k*x/m+b2=y", etc.).

Usage example:

./equation -5+2/x-10=7

This app parse equation, check syntax and find "x" using other values.

Values "b1", "b2" and "y" required to be a "usual numbers" (not expressions). The "x" coefficients can be expressions.

Double types are supported.

File test_data.txt contains equation examples.

Use run_tests.sh with file test_data.txt to solve equations and check answers.

About

The app that solve an equation like "kx+b=y" (find x using other values)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published