01-16-2024, 11:33 PM
(This post was last modified: 01-16-2024, 11:38 PM by Kernelpanic.)
This formula is in the wiki, but it always gives an error message:
And the last result. . . Maybe a math guru can explain it.
Code: (Select All)
Atn(1 / Sqrt(1 - (x * x))) + (Sgn(x) - 1) * (2 * Atn(1))
Why? I have not find any explains in the Internet.Code: (Select All)
Dim As Double x, y, Arcc
x = 1.5
y = 1.5
Print "1. "; _Arccsc(x)
Print "1A. "; Atn(1 / Sqr(1 - x * x)) + (Sgn(x) - 1) * (2 * Atn(1))
Print
Print "2. "; _Asin(1 / x)
Print "3. "; _Arccsc(y)
Print "4. "; Atn(1 / Sqr(1 - y * y)) + (Sgn(y) - 1) * (2 * Atn(1))
Print
Print "5. "; _Asin(1 / x)
Print
Arcc = Atn(1 / Sqr(1 - (x * x))) + (Sgn(x) - 1) * (2 * Atn(1))
Print "6. "; Arcc
And the last result. . . Maybe a math guru can explain it.