Hello,
I am looking for a C# dll to solve simple equation. Example ..
10 = 2 + 3 + x
Result should be x = 5;
Is this is free DLL?
Hello,
I am looking for a C# dll to solve simple equation. Example ..
10 = 2 + 3 + x
Result should be x = 5;
Is this is free DLL?
It's not incredibly difficult to write your own. Take a look at these examples from an online contest.
Use System.Math if you have to make something more diffucult then an addition. Otherwise .. do it your self IT'S FREE !
I've used this Math Expression Parsing library with positive results. The documentation he's provided was very useful to boot.
http://www.codeproject.com/KB/recipes/MathieuMathParser.aspx?display=Print
Your app can then accommodate ad hoc equations which the library will parse into component parts. You can then provide the values for required variables and it will evaluate the result.
The library includes many function (trig, log, factorials, datetime, random, etc.) and can handle user-defined functions.