This project has moved. For the latest updates, please go here.

Solving equation like y=0.1*x

Oct 9, 2013 at 12:24 PM

I do have easy equations like y=0.1*x stored as a string. Based on some logic I want to solve for y or for x, depending on which I know.

Ex1: x=5 --> I want to get y=0.5
Ex2: y=2 --> I want to get x=20

Is this possible? If so, please give me an example.

Thanks in advance,

cheers mike
Feb 1, 2014 at 9:58 AM

Unfortunately ExpressionEvaluator simply compiles an expression into a useable function. I think what you need is some expression solver, which is beyond the capabilities of this library.