NAME acsc - inverse trigonometric cosecant SYNOPSIS acsc(x [,eps]) TYPES x number (real or complex) eps 0 < real < 1, defaults to epsilon() return real DESCRIPTION Returns the inverse trigonometric cosecant of x to a multiple of eps with error less in absolute value than .75 * eps. This function is sometimes called arccsc. EXAMPLE ; print acsc(0), acsc(0.5), acsc(1) Error 10454 1.57079632679489661923-1.31695789692481670863i 1.57079632679489661923 ; print acsc(-0.5), acsc(-1) -1.57079632679489661923+1.31695789692481670863i -1.57079632679489661923 ; print acsc(.5, 1e-5), acsc(.5, 1e-10), acsc(.5, 1e-15) 1.5708-1.31696i 1.5707963268-1.3169578969i 1.570796326794897-1.316957896924817i ; print acsc(.5, 1e-20) 1.57079632679489661923-1.31695789692481670863i ; print acsc(5), acsc(5i) 0.20135792079033079145 -0.19869011034924140648i ; print acsc(5+5i) 0.09966370285979516002-0.10033029811220500594i ; pi = pi(1e-20) ; print acsc(pi/6), acsc(pi/3) 1.57079632679489661923-1.26327680856656556834i 1.2694227170496051647 ; print acsc(4*pi/3) 0.24106031273407362824 LIMITS 0 < eps < 1 LINK LIBRARY NUMBER *qacsc(NUMBER *x, NUMBER *eps) COMPLEX *c_acsc(COMPLEX *c, NUMBER *epsilon) SEE ALSO sin, cos, tan, cot, sec, csc asin, acos, atan, acot, asec versin, coversin, vercos, covercos aversin, acoversin, avercos, acovercos haversin, hacoversin, havercos, hacovercos ahaversin, hacoversin, havercos, ahacovercos epsilon ## Copyright (C) 1999,2021,2023 Landon Curt Noll ## ## Calc is open software; you can redistribute it and/or modify it under ## the terms of the version 2.1 of the GNU Lesser General Public License ## as published by the Free Software Foundation. ## ## Calc is distributed in the hope that it will be useful, but WITHOUT ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General ## Public License for more details. ## ## A copy of version 2.1 of the GNU Lesser General Public License is ## distributed with calc under the filename COPYING-LGPL. You should have ## received a copy with calc; if not, write to Free Software Foundation, Inc. ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ## ## Under source code control: 1995/11/13 03:49:00 ## File existed as early as: 1995 ## ## chongo /\oo/\ http://www.isthe.com/chongo/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/