Measuring an angle by:Lasse Eskildsen
|
Hi, I'm trying to measure an angle of a triangle in vb.net, but I'm not getting it right.
This is my triangle (kind of):
A l1 1 l - - - - C B
I know the lengt of all 3 sides, and angle C is always 90 dregrees. I've been working with the Tan() function from System.Math, but I can't make it work :o(
Any help would be greatly appreciated!
-- Lasse
|
| | Reply: by:CJ Taylor
|
| | perhaps this will help.
http://www.themathpage.com/aTrig/trigonometry-of-right-triangles.htm
|
| | Reply: by:Jay B. Harlow [MVP - Outlook]
|
| | Lasse, Quiz for you: How many radians are in a Degree?
Remember the Math.Tan function works with Radians not degrees.
Hope this helps Jay
P.S. for the answer to the quiz look up Math.Tan in the on-line help.
|
| | Reply: by:OHM
|
| | As well as the others Remember this
Sin = Opposite/Hypotenuse Cos = Adjacent/Hypotenuse Tan = Opposite/Adjacent
|
0 Comments:
Post a Comment