SIN |
SIN(number) |
Returns the sine of an angle in radians (Double). |
number | The number you want the sine of in radians (Double). |
REMARKS |
* This function takes an angle and returns the ratio of two sides of a right triangle. * The sine ratio is the length of the side opposite the angle divided by the length of the hypotenuse. * The "number" can be any numeric expression representing an angle in radians. * The value returned is between 1 and -1. * If your argument is in degrees, multiple it by PI/180 to convert it to radians. * If your argument is in radians, multiply it by 180/PI to convert it to degrees. * The inverse of this function is called the arc-sine. * You can use the COS function to return the cosine of a number. * You can use the TAN function to return the tangent of a number. * The equivalent Excel function is Application.WorksheetFunction.SIN * The equivalent .NET function is [[System.Math.Sin]] * For more information, refer to the Trigonometry > Sin Function page. * For the Microsoft documentation refer to learn.microsoft.com |
Debug.Print Sin(0) '=
Debug.Print Sin(0.5) '=
Debug.Print Sin(1) '=
Debug.Print Sin(-1) '=
Debug.Print Sin(0.45) '= 0.43
Debug.Print TypeName(Sin(0.45)) '= "Double"
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top