I need a library to be able to analyze the equation and give me a result that gives input.
For example, something like this:
String equation = "5 = 6 / z"; EquationSolver solver = new EquationSolver(equation); double result = solver.getResult(); System.out.println("result: " + result);
And evaluated by: 6/5
Is there any library for java that can do this for me? Basically, I need a program to isolate one unknown variable in an arbitrary equation ...
Thank you Thomas
source share