MaximaSharp
MaximaSharp copied to clipboard
How to use Math.Exp(x)?
How to use correctly Math.Exp(x), example:
Expression<Func<double, double>> f = x => Math.Exp(Math.Pow(x,2))+1/x; Console.WriteLine(f.Simplify()); Console.WriteLine(f.Differentiate());
I have (System.Exception: "Failed to convert to expression: (x*%e^x^2+1)/x")