Sin function

Category: Math

Summary

Sine (radians).

Syntax

Returns a Double specifying the sine of an angle.

Example

Example
This example uses the Sin function to return the sine of an angle.
Dim MyAngle, MyCosecant
MyAngle = 1.3 ' Define angle in radians.
MyCosecant = 1 / Sin(MyAngle) ' Calculate cosecant.

Microsoft Support Page

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/sin-function

Back to Functions