sin

Calculate the sine of an angle

Syntax

y = sin[radians]
y = sin[degrees]

Attributes

  • radians - the angle in radians
  • degrees - the angle in degrees

Description

y = sin[degrees] calculates the sine of an input in degrees.

y = sin[radians] calculates the sine of an input in radians.

sin operates element-wise on its inputs.

Examples

search
  y = sin[degrees: 90]
  x = sin[radians: 3.14 / 2]
  
bind @browser
  [#div text: y]
  [#div text: x]

See Also

cos | tan