I've looked in a couple of books, and can't find this anywhere, i'm looking for the opposite of the cos funtion, i.e. I know the cos of the angle, and need to know the actual size of the angle, is there an implicit function? If not, how can I achieve the same result? Any help would be much appreciated...
grandfilth
0
Newbie Poster
Recommended Answers
Jump to Posttry this function :
Public Function ArcCos(ByVal X As Double) As Double If X <> 1 Then ArcCos = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1) Else ArcCos = 0 End If End Function
All 4 Replies
invisal
381
Search and Destroy
grandfilth
0
Newbie Poster
invisal
381
Search and Destroy
grandfilth
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.