AngouriMath
Differentiate
Method with 2 overloads
Differentiate(AngouriMath.Entity.Variable,PeterO.Numbers.EInteger)
Summary
Derives overx power timesDifferentiate(AngouriMath.Entity.Variable)
Summary
Finds the symbolical derivative of the given expression
Parameter "variable"
Over which variable to find the derivative
Returns
Example
using System; using static AngouriMath.MathS; var (x, y) = Var("x", "y"); var expr1 = Sqr(x) + Sin(y * x); Console.WriteLine(expr1); Console.WriteLine(expr1.Differentiate(x)); Console.WriteLine(expr1.Differentiate(y)); Console.WriteLine(expr1.Differentiate(y).Differentiate(x));
Prints
x ^ 2 + sin(y * x) 2 * x + cos(y * x) * y cos(y * x) * x -sin(y * x) * y * x + cos(y * x)
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online