AngouriMath

Navigation

← Back to list of members

Differentiate​(System.​String,​AngouriMath.​Entity.​Variable)

 Method (no overloads)

Summary

Finds the symbolical derivative of the given expression

Parameter "str"

The expression to be parsed and differentiated

Parameter "x"

Over which variable to find the derivative

Returns

The derived expression which might contain Derivativef nodes,
or the initial one

Example

Console.WriteLine("x ^ 3".Differentiate("x"));
Console.WriteLine("sin(x) / x".Differentiate("x"));

Prints
3 * x ^ 2
(cos(x) * x - sin(x)) / x ^ 2

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online