VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ACos / ASin....

by Waty Thierry (60 Submissions)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Tue 13th April 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

ACos / ASin....

Rate ACos / ASin....



   fnACOS = fnDeg(3.1415927 / 2 - (fnRad(fnASIN(Y))))
End Function

Function fnDeg(z)
   fnDeg = z * 57.295779513
End Function

Function fnASIN(x)
   fnASIN = fnAT(x / ((1 - x ^ 2) ^ 0.5))
   'fnAT is a function like fnCS for ArcTan
End Function

Function fnRad(z)
   fnRad = z / 57.295779513
End Function

Function fnCS(X2)
   fnCS = Cos(fnRad(X2)
End Function 'a COS




Download this snippet    Add to My Saved Code

ACos / ASin.... Comments

No comments have been posted about ACos / ASin..... Why not be the first to post a comment about ACos / ASin.....

Post your comment

Subject:
Message:
0/1000 characters