sind

Compute the sine of x expressed in degrees.

Base.Math.sindFunction
sind(x)

Compute sine of x, where x is in degrees. If x is a matrix, x needs to be a square matrix.

Julia 1.7

Matrix arguments require Julia 1.7 or later.

source

Methods

julia> methods(sind, (Any,), [Base, Base.Math, Base.MathConstants, Base.MPFR])# 3 methods for generic function "sind" from Base.Math:
 [1] sind(x::BigFloat)
     @ Base.MPFR mpfr.jl:880
 [2] sind(x::Real)
     @ special/trig.jl:1183
 [3] sind(x)
     @ special/trig.jl:1268

Examples

Real Numbers

julia> sind(180)
0.0

julia> sind(90)
1.0

Tips

See Also

sin

Extended Inputs

Tech Notes

  • Implemented in terms of sin: sind(deg) = sin(deg2rad(deg))

Version History

Introduced in Julia v1.0 (2018)