home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / rlib / acosh.r next >
Encoding:
Text File  |  1994-02-21  |  322 b   |  15 lines  |  [TEXT/RLAB]

  1. //-------------------------------------------------------------------//
  2.  
  3. //  Syntax:  acosh ( X )
  4.  
  5. //  Description:
  6.  
  7. //  Acosh is the inverse hyperbolic cosine of the element(s) of X.
  8.  
  9. //-------------------------------------------------------------------//
  10.  
  11. acosh = function ( x )
  12. {
  13.   return log (x + sqrt (x.^2 - 1));
  14. };
  15.