Return a Triangle's Angle Given the Length of the Sides

Category:
Dates and Math
Type:
Snippets
Difficulty:
Intermediate
Author:
Remco deJong

Version Compatibility:

More information:
Get the angle if you know three sides. Return value is in radians, if you want degrees, add the .bas module at http://www.freevbcode.com/ShowCode.ASP?ID=1069.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: