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.