There is a long number starting 3.14... It is so popular in Mathematics that VB will automatically use this special number whenever you reference Math.PI
Here are some handy functions
The following examples demonstrate built-in functions but the angle must be in radians
When the angle is in degrees, you need functions similar to these
Some books use alternative words for ASin e.g. ArcSin, InvSin or Sin-1 Similar phrases are also used for ACos, Atan and Atan2
The code functions on this site are only intended as a learning aid. Data validation is often ommited to assist users unfamiliar with Visual Basic. The information may be untested, unrelaible or unsuitable for your requiremensts. It is presented in a non-commercial form as an ex-gratia attempt to be helpful. By making any use of information contained on these pages, you agree to fully absolve and indemnify DigitalDan in relation to any issue arising out of such use.