Public Function Sine( _
ByVal vX As Variant _
) As VariantFor X = -8 to 8 step .1:
**** | **** ***
** * | * ** *
* * |** ** *
* ** |* * **
** * * * *
* * * * **
----**---------*--------**---------*--------*-----
* * *| * **
** * * | ** *
* ** ** | * *
* ** * | * **
*** **** | **** Sine(-0.5) = -0.479425538604203
Sine(0) = 0
Sine(0.5) = 0.479425538604203
Sine(1) = 0.841470984807897
Sine(1.5) = 0.997494986604054
Sine(2) = 0.909297426825682
Sine(2.5) = 0.598472144103957
Sine(3) = 0.141120008059867
Sine(3.5) = -0.35078322768962
Sine("2.3|-4.5") = "33.567264016308|29.9844272159606"See also: Cosine Function
Tangent Function
ASin Function
SinH Function
Sin Function (Visual Basic)vX: Number whose sine is returned. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.