<< coth Trigonometry cscd >>

Scilab Help >> Elementary Functions > Trigonometry > csc

csc

сomputes the element-wise cosecant of the argument

Syntax

y = csc(x)

Arguments

x

a real or complex array.

y

a real or complex array with same dimensions as x.

Description

Computes the element-wise cosecant of the argument. The cosecant is a periodic function defined as 1/sin(x). For real data the results are real and in ]-∞ -1] ∪ [1 ∞[.

Sample

Examples

x=linspace(0.01,%pi-0.01,200)
clf();
plot(-x,csc(-x),x,csc(x))

See also


Report an issue
<< coth Trigonometry cscd >>