Results 1 to 3 of 3

Thread: Simpile Geometry/Trig

  1. #1

    Thread Starter
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    I have a right triangle in which i know sides a,b, and c:
    Code:
                 1
                /|
               / |
         a   /   |
            /    |   c
           /     |
          /      |
       2 /______ |3
              b
    I need to find 1, 2, and 3

    3 is obviously 90, and if i can find one other, i can find the third, so i was thinking about using ArcCosin. But i am new at Trig, so i'm really not sure. (This needs to be done in VB)
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    you don't have an arccosine in VB, but you do have an arctangent.

    Tan(angle 2) = c/b

    angle 2 = ATan(c/b)
    If it wasn't for this sentence I wouldn't have a signature at all.

  3. #3

    Thread Starter
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    Great. It works perfectly
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

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