|
-
May 2nd, 2007, 12:20 AM
#1
Thread Starter
Hyperactive Member
Calculate Inverse Tangent
How can you Calculate Inverse Tangent in vb .net? I found math.tan but I need the inverse.
-
May 2nd, 2007, 12:27 AM
#2
Re: Calculate Inverse Tangent
-
May 2nd, 2007, 12:41 AM
#3
Thread Starter
Hyperactive Member
Re: Calculate Inverse Tangent
That didnt work, are you sure Atan is inverse tangent?
Im doing math.Atan(3/20) -> Should equal 8.53 but im getting 0.14
-
May 2nd, 2007, 01:04 AM
#4
Re: Calculate Inverse Tangent
-
May 2nd, 2007, 01:10 AM
#5
Thread Starter
Hyperactive Member
Re: Calculate Inverse Tangent
-
May 2nd, 2007, 01:17 AM
#6
Re: Calculate Inverse Tangent
You're using the Math.Atan method. It's not doing what you expect. Read the help documentation for the Math.Atan method. Do that whenever you use a type or member and you don't get the result you expect. There thousands of man-hours of help files at your fingertips in the MSDN library. They should always be your first stop for assistance.
-
May 2nd, 2007, 01:25 AM
#7
Thread Starter
Hyperactive Member
Re: Calculate Inverse Tangent
I just figured it out, the problem is its giving it to me in Radians, all i need to do is convert to degrees.
Deg = Rad * 180/PI
-
May 2nd, 2007, 01:32 AM
#8
Re: Calculate Inverse Tangent
Just as the documentation says.
-
May 2nd, 2007, 01:59 AM
#9
Thread Starter
Hyperactive Member
Re: Calculate Inverse Tangent
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|