AngouriMath

Navigation

← Back to list of members

Limit​(AngouriMath.​Entity,​AngouriMath.​Entity,​AngouriMath.​Entity,​AngouriMath.​Core.​ApproachFrom)

 Method (no overloads)

Summary

Hangs your entity to a limit node
(to evaluate instead use Limit(AngouriMath.Entity,AngouriMath.Entity.Variable,AngouriMath.Entity))

Parameter "expr"

Expression to be hung

Parameter "var"

Variable over which limit is taken

Parameter "dest"

Where var approaches (could be finite or infinite)

Parameter "approach"

From where it approaches

Example

using System;
using static AngouriMath.MathS;

var (x, a) = Var("x", "a");

var e1 = Derivative(Sin(Cos(x)), x);
Console.WriteLine(e1);
Console.WriteLine(e1.InnerSimplified);
Console.WriteLine("-----------------------");
var e2 = Derivative(Sin(Cos(x)), x, 2);
Console.WriteLine(e2);
Console.WriteLine(e2.InnerSimplified);
Console.WriteLine("-----------------------");
var e3 = Integral(Sin(a * x), x);
Console.WriteLine(e3);
Console.WriteLine(e3.InnerSimplified);
Console.WriteLine("-----------------------");
var e4 = Integral(Sin(a * x), x, 2);
Console.WriteLine(e4);
Console.WriteLine(e4.InnerSimplified);
Console.WriteLine("-----------------------");
var e5 = Limit(Sin(a * x) / x, x, 0);
Console.WriteLine(e5);
Console.WriteLine(e5.InnerSimplified);

Prints
derivative(sin(cos(x)), x)
cos(cos(x)) * -sin(x)
-----------------------
derivative(sin(cos(x)), x, 2)
-sin(cos(x)) * -sin(x) * -sin(x) + cos(x) * (-1) * cos(cos(x))
-----------------------
integral(sin(a * x), x)
-cos(a * x) / a
-----------------------
integral(sin(a * x), x, 2)
-sin(a * x) / a / a
-----------------------
limit(sin(a * x) / x, x, 0)
a

























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