Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extended Trig Methods
#15
This formula is in the wiki, but it always gives an error message:
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.
[Image: Illegal-Function-Call2024.jpg]
Reply


Messages In This Thread
Extended Trig Methods - by dbox - 01-15-2024, 02:34 PM
RE: Extended Trig Methods - by SpriggsySpriggs - 01-15-2024, 02:38 PM
RE: Extended Trig Methods - by TerryRitchie - 01-15-2024, 04:32 PM
RE: Extended Trig Methods - by SMcNeill - 01-15-2024, 02:43 PM
RE: Extended Trig Methods - by SMcNeill - 01-15-2024, 02:49 PM
RE: Extended Trig Methods - by dbox - 01-15-2024, 04:11 PM
RE: Extended Trig Methods - by RhoSigma - 01-15-2024, 04:56 PM
RE: Extended Trig Methods - by FellippeHeitor - 01-15-2024, 05:00 PM
RE: Extended Trig Methods - by bplus - 01-15-2024, 06:42 PM
RE: Extended Trig Methods - by dbox - 01-15-2024, 07:28 PM
RE: Extended Trig Methods - by SMcNeill - 01-15-2024, 07:55 PM
RE: Extended Trig Methods - by bplus - 01-15-2024, 08:04 PM
RE: Extended Trig Methods - by BSpinoza - 01-16-2024, 10:31 AM
RE: Extended Trig Methods - by dbox - 01-16-2024, 03:20 PM
RE: Extended Trig Methods - by Kernelpanic - 01-16-2024, 11:33 PM
RE: Extended Trig Methods - by bplus - 01-16-2024, 11:54 PM
RE: Extended Trig Methods - by Kernelpanic - 01-17-2024, 09:07 PM
RE: Extended Trig Methods - by TerryRitchie - 01-17-2024, 10:26 PM
RE: Extended Trig Methods - by Kernelpanic - 01-17-2024, 11:24 PM
RE: Extended Trig Methods - by TerryRitchie - 01-18-2024, 03:15 AM



Users browsing this thread: 8 Guest(s)