AngouriMath

Navigation

← Back to list of members

Arsech​(AngouriMath.​Entity)

 Method (no overloads)

Summary

Inverse hyperbolic secant:
ln(1 / x + sqrt(1 / sqr(x) - 1))
Wikipedia

Example

using System;
using static AngouriMath.MathS.Hyperbolic;

Console.WriteLine(Arsinh("x"));
Console.WriteLine(Arsinh(Sinh("x")).Substitute("x", 10).Evaled);
Console.WriteLine("----------------------");
Console.WriteLine(Arcosh("x"));
Console.WriteLine(Arcosh(Cosh("x")).Substitute("x", 10).Evaled);
Console.WriteLine("----------------------");
Console.WriteLine(Artanh("x"));
Console.WriteLine(Artanh(Tanh("x")).Substitute("x", 10).Evaled);
Console.WriteLine("----------------------");
Console.WriteLine(Arcotanh("x"));
Console.WriteLine(Arcotanh(Cotanh("x")).Substitute("x", 10).Evaled);
Console.WriteLine("----------------------");
Console.WriteLine(Arsech("x"));
Console.WriteLine(Arsech(Sech("x")).Substitute("x", 10).Evaled);
Console.WriteLine("----------------------");
Console.WriteLine(Arcosech("x"));
Console.WriteLine(Arcosech(Cosech("x")).Substitute("x", 10).Evaled);

Prints
ln(x + sqrt(x ^ 2 + 1))
10
----------------------
ln(x + sqrt(x ^ 2 - 1))
10
----------------------
1/2 * ln((1 + x) / (1 - x))
10
----------------------
1/2 * ln((x - 1) / (x + 1))
-10
----------------------
ln(1 / x + sqrt(1 / x ^ 2 - 1))
10
----------------------
ln(1 / x + sqrt(1 / x ^ 2 + 1))
10

























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