@Sin (Formula Language)
Given an angle in radians, returns the sine of the angle. In a right triangle, the sine of an acute angle is the ratio of the length of its opposite side to the length of the hypotenuse.
Syntax
@Sin( angle )
Parameters
angle
Number or number list. An angle expressed in radians.
Return value
sine
Number or number list. The sine of angle, to 15 decimal places.
Usage
If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.
Examples
- This formula returns 1, the sine of the angle Pi/2 (90 degrees).
@Sin( @Pi/2 )
- You have a triangle ABC. You know the value of angle A in radians,
and the lengths of sides a and b. This formula finds angle B, in radians.
This formula is a version of the law of sines, which states that for
any triangle ABC, (sin A / a) = (sin B / b) = (sin C / c).
@ASin( ( sideB *( @Sin( angleA ) ) ) / sideA )
- This formula returns 1 and -1 in a list.
@Sin((@Pi / 2) : (@Pi / -2))