DADiSP Worksheet Functions > Function Categories > Trigonometric Functions > CSC

 

CSC

Purpose:

Returns the cosecant of any expression.

Syntax:

CSC(val)

val

-

A scalar, series or table.

Returns:

A scalar, series, or table.

Example:

csc(-2*pi..pi/100..2*pi);gridhv;griddot;sety(-10, 10)

 

 

image\cscpic01.gif

 

displays the cosecant from -2π to 2π.

Example:

csc(pi/4)

 

returns 1.41421356 or 2.

Example:

csc(-2..0.1..2)

 

returns a 41 point series.

Remarks:

The cosecant is defined as:

 

image\csc01.gif

 

for all complex z.

 

image\csc02.gif

 

The function calculates in radians unless degrees are specified with the SETDEGREE function.

 

At or near radians, or for 180N degrees, where N is any large integer, this function returns very large results or math errors.

See Also:

ACSC

ACSCH

CSCH

GCSC

SIN

SETDEGREE

SETRADIAN

TRIGONOMETRIC FUNCTIONS