AngouriMath

Navigation

← Back to list of members

Sqrt​(AngouriMath.​Entity)

 Method (no overloads)

Summary

Special case of https://en.wikipedia.org/wiki/Power_function

Parameter "a"

The argument of which square root will be taken

Returns

Power node with (1/2) as the power

Example

using System;
using static AngouriMath.MathS;
Console.WriteLine(Pow(2, 5));
Console.WriteLine(Pow(2, 5).Simplify());
Console.WriteLine(Pow(e, 2));
Console.WriteLine(Pow(e, 2).Simplify());
Console.WriteLine(Pow(e, 2).Evaled);
Console.WriteLine(Sqrt(Sqr("x")));
Console.WriteLine(Sqrt(Sqr("x")).Simplify());
Console.WriteLine(Pow(Cbrt("a"), 3));
Console.WriteLine(Pow(Cbrt("a"), 3).Simplify());
Console.WriteLine(Pow(Cbrt("a"), 6));
Console.WriteLine(Pow(Cbrt("a"), 6).Simplify());

Prints
2 ^ 5
32
e ^ 2
e ^ 2
7.389056098930650227230427460575007813180315570551847324087127822522573796079057763384312485079121792
sqrt(x ^ 2)
x
a ^ (1/3) ^ 3
a
a ^ (1/3) ^ 6
a ^ 2

























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