Dela via


Härledda matematiska funktioner (Visual Basic)

I följande tabell visas icke-inbyggda matematiska funktioner som kan härledas från objektets inbyggda matematiska System.Math funktioner. Du kan komma åt de inbyggda matematiska funktionerna genom att lägga Imports System.Math till i filen eller projektet.

Funktion Härledda motsvarigheter
Secant (Sek(x)) 1/Cos(x)
Cosecant (Csc(x)) 1 / Sin(x)
Cotangent (Ctan(x)) 1 / Tan(x)
Invertera sinus (Asin(x)) Atan(x/Sqrt(-x * x + 1))
Invertera cosiné (Acos(x)) Atan(-x/ Sqrt(-x * x + 1)) + 2 * Atan(1)
Invertera sekant (Asec(x)) 2 * Atan(1) – Atan(Sign(x) / Sqrt(x * x – 1))
Invertera cosecant (Acsc(x)) Atan(Sign(x) / Sqrt(x * x – 1))
Inverterad cotangens (Acot(x)) 2 * Atan(1) - Atan(x)
Hyperbolisk sinus (Sinh(x)) (Exp(x) – Exp(-x)) / 2
Hyperbolisk cosinin (Cosh(x)) (Exp(x) + Exp(-x)) / 2
Hyperbolisk tangent (Tanh(x)) (Exp(x) – Exp(-x)) / (Exp(x) + Exp(-x))
Hyperbolisk sekant (Sech(x)) 2 / (Exp(x) + Exp(-x))
Hyperbolisk cosecant (Csch(x)) 2 / (Exp(x) – Exp(-x))
Hyperbolisk cotangens (Coth(x)) (Exp(x) + Exp(-x)) / (Exp(x) – Exp(-x))
Invertera hyperbolisk sinus (Asinh(x)) Log(x + Sqrt(x * x + 1))
Invertera hyperbolisk cosinus (Acosh(x)) Log(x + Sqrt(x * x – 1))
Invertera hyperbolisk tangent (Atanh(x)) Log((1 + x) / (1 – x)) / 2
Invertera hyperbolisk sekant (AsecH(x)) Log((Sqrt(-x * x + 1) + 1) / x)
Invertera hyperbolisk cosecant (Acsch(x)) Log((Sign(x) * Sqrt(x * x + 1) + 1) / x)
Inverterad hyperbolisk cotangens (Acoth(x)) Log((x + 1) / (x – 1)) / 2

Se även