Results 1 to 5 of 5

Thread: trigonometry

  1. #1

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Angry trigonometry

    I need to know how to (function name maybe) find the angle of a corner of a right triangle from the length of the 3 sides of a it.<

    I do know how to do this with a calculator, I jsut don't know what it does, or what's its called in vb. (I tihnk what I'm looking for is like a... 'unsin' (sin(a) = 3 unsin(3) = a))
    Don't pay attention to this signature, it's contradictory.

  2. #2
    VirtuallyVB
    Guest

    Thumbs up ArcSin

    I haven't used VB much lately, but I found this under Derived Math Functions when I searched for "arcsin":

    Inverse Sine
    Arcsin(X) = Atn(X / Sqr(-X * X + 1))

  3. #3
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Oregon
    Posts
    962
    I belive that there is a sin-1 function in VB (don't know the exact name). It would be faster then using such a complex forumal (as sin-1 would be written in assembly). If you have MSDN, look up sin, and see what they have under the related. I would check, except that I am at school (and they are so cheap that they only have VB in one lab, and no MSDN).
    Involved in: Sentience

  4. #4
    Addicted Member
    Join Date
    Apr 2000
    Location
    England
    Posts
    246
    There is no sin-1 function, that complex function you see is MSDN's answer.

    inverse Tan is atn, however, and is the only one that exists
    Some Days, i just get this feeling that i'm helping to write dozens of Viruses...

  5. #5
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width