Trigonometric functions


sin

Description: Return a double retvalue specifying the sine of a double angle value

Syntax:

retvalue = sin( value )


Parameter description
:

Name Type
Description
value
double
Value from which sin should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the sinus of the number PI.
 print sin( 3.141592 )

cos

Description: Return a double retvalue specifying the cosine of a double angle value

Syntax:

retvalue = cos( value )


Parameter description
:

Name Type
Description
value
double
Value from which cos should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the cosinus of the number PI.
 print cos( 3.141592 )

tan

Description: Return a double retvalue specifying the tangent of a double angle value

Syntax:

retvalue = tan( value )


Parameter description
:

Name Type
Description
value
double
Value from which tan should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the tangent of the number 0.5.
 print tan( 0.5 )

asin

Description: Return invers sinus of double value

Syntax:

retvalue = asin( value )


Parameter description
:

Name Type
Description
value
double
Value from which asin should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the invers sinus of the number 0.5.
 print asin( 0.5 )

acos

Description: Return invers cosine of double value

Syntax:

retvalue = acos( value )


Parameter description
:

Name Type
Description
value
double
Value from which acos should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the invers cosine of the number 0.5.
 print acos( 0.5 )

atan

Description: Return tangent of double value

Syntax:

retvalue = atan( value )


Parameter description
:

Name Type
Description
value
double
Value from which atan should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the invers tangent of the number 0.5.
 print atan( 0.5 )

sinh

Description: Return hyperbolic sinus of double value

Syntax:

retvalue = sinh( value )


Parameter description
:

Name Type
Description
value
double
Value from which sinh should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the hyperbolic sinus of the number PI.
 print sinh( 3.141592 )

cosh

Description: Return hyperbolic cosine of double value

Syntax:

retvalue = cosh( value )


Parameter description
:

Name Type
Description
value
double
Value from which cosh should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the sinus of the number PI.
 print cosh( 3.141592 )

tanh

Description: Return hyperbolic tangent of double value

Syntax:

retvalue = tanh( value )


Parameter description
:

Name Type
Description
value
double
Value from which tanh should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the hyperbolic tangent of the number PI.
 print tanh( 3.141592 )


asinh

Description: Return invers hyperbolic sinus of double value

Syntax:

retvalue = asinh( value )


Parameter description
:

Name Type
Description
value
double
Value from which asinh should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the invers hyperbolic sinus of the number 0.5.
 print asinh( 0.5 )

acosh

Description: Return invers hyperbolic cosine of double value

Syntax:

retvalue = acosh( value )


Parameter description
:

Name Type
Description
value
double
Value from which acosh should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the invers hyperbolic cosine of the number 0.5.
 print acosh( 0.5 )

atanh

Description: Return invers hyperbolic tangent of double value

Syntax:

retvalue = atanh( value )


Parameter description
:

Name Type
Description
value
double
Value from which atanh should be computed


Return value:
retvalue (type double) result value


Code example
:

Display the invers hyperbolic tangent of the number 0.5.
 print atanh( 0.5 )



AltStyle によって変換されたページ (->オリジナル) /