22.05.2014 Views

phy1004 thermal physics

phy1004 thermal physics

phy1004 thermal physics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>phy1004</strong>W<br />

Thermal Physics<br />

How do we use formula?<br />

IG-09<br />

Program syntax<br />

Program<br />

1 combin(a, b) Vpython<br />

2 combin(a, b) Excel<br />

3 exp(gammaln(a+1) + gammaln(b+1) +<br />

gammaln(a-b+1))<br />

Matlab/Octave<br />

a = q + N - 1<br />

b = q<br />

a-b = N - 1<br />

56

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!