home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Cotangent
-
- * Written and contributed by ESSOR MASO
- *
- * Correct form: COTANGENT(arg,'D')
- *
- * National Bureau of Standards Handbook of Mathematical Functions
-
- PARAMETERS _cowork, _codeg
-
- IF TYPE("_cowork") + TYPE("_codeg") != "NC"
- RETURN(2)
- ENDIF
-
- RETURN(IF(_codeg='R', TANGENT(1.5707963268 - _cowork,'R'),TANGENT(90 - _cowork,'D')))
-
- * End of File
-
-
- ********************