P30+PS+5+solutions-1

# P30+PS+5+solutions-1 - I would rather have a root canal...

This preview shows pages 1–6. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: I would rather have a root canal than do physics in Excel. I did this problem in Mathematica: see the included PDF and the course webpage for my Mathematica notebook. Problem 3.24 Multiplicity, entropy and energy (by construction) In[1]:= G y q G , N G y G y N G 1 G q y G q G G y N G 1 y G ; In[2]:= S y q G , N G y G k Log y G y q, N y y ; In[3]:= U y q G y G Ε q; Temperature and heat capacity () y derivatives approximated with "small" dq In[4]:= dq G 1; In[5]:= T y q G , N G y G U y q G dq y G U y q G dq y S y q G dq, N y G S y q G dq, N y ; CV y q G , N G y G U y q G dq y G U y q G dq y T y q G dq, N y G T y q G dq, N y ; y Exact derivatives (relying on Mathematica converting factorials to gamma functions) In[7]:= T y q G , N G y G q U y q y q S y q, N y ; CV y q G , N G y G q U y q y q T y q, N y ; Plots of energy, entropy, temperature and heat capacity In[9]:= p1 G ParametricPlot y y U y q y y Ε , S y q, 50 y y k y , y q, 0, 100 y , AxesLabel G y "energy y Ε ", "entropy y k" y y ; In[10]:= p2 G ParametricPlot y y U y q y y Ε , S...
View Full Document

{[ snackBarMessage ]}

### Page1 / 21

P30+PS+5+solutions-1 - I would rather have a root canal...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online