home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 September
/
PCWorld_2000-09_cd.bin
/
Software
/
TemaCD
/
ucalc
/
UCALC.VAR
< prev
Wrap
INI File
|
1997-06-03
|
359b
|
9 lines
[Variables]
Na=6.022*10^23 ; Avogadro's number
[Functions]
comb(n,k)=n!/(k!*(n-k)!) ; Number of combinations
fix(x)=sgn(x) * Int(Abs(x)) ; Integer part of a number
frac(x)=abs(abs(x)-int(abs(x))) ; Fractional part of a number
logx(base,num)=log(num) / log(base) ; Logarithm in any base