home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 September / PCWorld_2000-09_cd.bin / Software / TemaCD / ucalc / UCALC.VAR < prev   
INI File  |  1997-06-03  |  359b  |  9 lines

  1. [Variables]
  2. Na=6.022*10^23                    ; Avogadro's number
  3.  
  4. [Functions]
  5. comb(n,k)=n!/(k!*(n-k)!)                     ; Number of combinations
  6. fix(x)=sgn(x) * Int(Abs(x))            ; Integer part of a number
  7. frac(x)=abs(abs(x)-int(abs(x)))       ; Fractional part of a number
  8. logx(base,num)=log(num) / log(base)         ; Logarithm in any base
  9.