|
-
Feb 16th, 2007, 06:20 PM
#1
Thread Starter
Member
[RESOLVED] [2005] cos-1 (arccosine) of a number
Hi all.
Im trying to get the arccosine of a number eg.
to pseudocode:
angle=arccosine(0.23)
I know its not rocket science, its just im not finding the help overly helpful!! 
thanks guys
-
Feb 16th, 2007, 07:30 PM
#2
Hyperactive Member
Re: [2005] cos-1 (arccosine) of a number
... What is arccosine? I did some Sine, Cosine, and Tangent in school, but never heard of Arccosine. Unless its Tangent -1
-
Feb 16th, 2007, 07:32 PM
#3
Thread Starter
Member
Re: [2005] cos-1 (arccosine) of a number
ArcCosine is the button you press to work out the interior angle or a traingle when you know the length of two of the sides.
Its Shift Cos (for ArcCosine) on Casio calcs if that helps! 
cheers
-
Feb 16th, 2007, 07:38 PM
#4
Re: [2005] cos-1 (arccosine) of a number
Okay, I've no idea if this is correct but have you checked out the Math functions in .NET.
For example:
VB Code:
Dim myCo As Double = Math.Acos(0.29)
MessageBox.Show(myCo.ToString)
I haven't checked out what Acos is exactly (something to do with cosine obviously) but there is also Math.Cos so perhaps the A stands for what you are looking for?
Check out Math. and follow the intellisense
-
Feb 16th, 2007, 07:42 PM
#5
Thread Starter
Member
Re: [2005] cos-1 (arccosine) of a number
sorted, the confusion came from VB giving the result in radians not degrees as I thought it might
All sorted!
and its ACos that gives the arccosine
-
Feb 16th, 2007, 07:43 PM
#6
Re: [RESOLVED] [2005] cos-1 (arccosine) of a number
I think that's the first Math question I may have ever got right in my ENTIRE life.
-
Feb 16th, 2007, 09:04 PM
#7
Re: [RESOLVED] [2005] cos-1 (arccosine) of a number
From the help topic for the Math.Acos method:
Return Value
An angle, θ, measured in radians, such that 0 ≤θ≤π -or- NaN if d < -1 or d > 1.
Remarks
Multiply the return value by 180/π to convert from radians to degrees.
No, not very helpful.
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
|