| | |
Arc Cosine
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2005
Posts: 16
Reputation:
Solved Threads: 0
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...
try this function :
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
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
![]() |
Similar Threads
- arc intersection plotting (Java)
- Calculating Cosine with a jApplet (Java)
- Dani's Strike Zone (Geeks' Lounge)
- Novell Finished (TEK) (Novell)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: need a count down timer
- Next Thread: Reading out systems OS used memory
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





