Asin Function


Asin Function

Class

System.Math

Syntax

     Dim result As Double = Math.Asin  (d) 


d (required; Double)

A sine, a number from -1 to 1 inclusive

Description

The Asin function returns the arcsine of d in radians, between p/2 and p/2.

Usage at a Glance

  • If d is out of range, the function returns System.Double.NaN.

  • This is a shared member of the System.Math class, so it can be used without an instance.

  • To convert from radians to degrees, multiply by 180/p.

Version Differences

The Asin function did not exist in VB 6.

See Also

Acos Function, Atan Function, Atan2 Function




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net