function

asinh . math . sncode

VERSIONlatest This function computes the inverse hyperbolic sine of a number.

ASINH(1e)

NAME

asinh - This function computes the inverse hyperbolic sine of a number.

SYNOPSIS

asinh(argument);

DESCRIPTION

This mathematical function allows the user to compute the inverse hyperbolic sine of an argument defined between -infinity to infinity. This is not a periodic function. It gives the hyperbolic angle to the value of the hyperbolic function which is written as argument of the asinh. The answer is the value whose hyperbolic sine is the argument. It returns a value only in the 1st or 3rd quadrant of the xy plane, meaning that if x<0, y<0, and if x>0, y>0.

PARAMETERS

number
Specify the number (float) used as argument for the asinh function.

RETURN

The asinh value of the argument.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

One can use this function with positive integers:

test(q(res={_{asinh(1);}}.),q(res=.881374.));

With negative integers:

test(q(res={_{asinh(-1);}}.),q(res=-.881374.));

Note that asinh(-x)=-asinh(x).

With big integers:

test(q(res={_{asinh(45);}}.),q(res=4.49993.));

With other variables:

test(q(res={_{
%include "/includes/extenso.sn";
a=PI;
asinh(a);
}}.),
q(res=1.8623.));


With another trigonometric function:

test(q(res={_{
%include "/includes/extenso.sn";
a=sin(0);
asinh(a);
}}.),
q(res=0.));

With an array:

test(q(res={_{asinh(1,0,-1);}}.),q(res=\[.881374,0,-.881374\].));

AUTHOR

Written by Caroline Laplante, <claplante@sednove.com>