home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / basic / baswiz / bw$bas / cothd.bas < prev    next >
Encoding:
BASIC Source File  |  1993-02-20  |  661 b   |  13 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        BASWIZ  Copyright (c) 1990-1993  Thomas G. Hanlin III         |
  4. '   |                                                                      |
  5. '   |                      The BASIC Wizard's Library                      |
  6. '   |                                                                      |
  7. '   +----------------------------------------------------------------------+
  8.  
  9. FUNCTION CotHD# (Nr AS DOUBLE)
  10.    tmp# = EXP(-Nr)
  11.    CotHD# = tmp# / (EXP(Nr) - tmp#) * 2# + 1#
  12. END FUNCTION
  13.