{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab15-1

# lab15-1 - from_future import division from visual.graph...

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

from __future__ import division from visual.graph import * from visual.factorial import * f ## Heat capacity data for Problem 10.4 # ## The experimental heat capacity data was in a per mole basis dividing by Avogadro's ## Number converts it to a per atom basis. Data is given for Al and Pb. ## Data are in the form (T,C). # nA = 6.02e23 ## Avogadro's number Aldata =[(20,0.23/nA),(40,2.09/nA), (60,5.77/nA), (80,9.65/nA), (100,13.04/nA), (150,18.52/nA), (200, 21.58/nA), (250,23.25/nA), (300, 24.32/nA), (400,25.61/nA)] Pbdata = [(20,11.01/nA),(40,19.57/nA), (60,22.43/nA), (80,23.69/nA), (100,24.43/nA), (150,25.27/nA), (200, 25.87/nA), (250,26.36/nA), (300, 26.82/nA), (400,27.45/nA)] #Heat Capacity graphs gdisplay(xtitle='Temp',ytitle='Heat Capacity', x=0, y=600, width=600,height=300) g Alg = gdots(color=color.magenta,pos=Aldata) Pbg = gdots(color=color.cyan, pos=Pbdata) P CAlgraph = gcurve(color=color.magenta) CPbgraph = gcurve(color=color.cyan) C ## Setting up Graphing Windows #Ways graph ##gdisplay(xtitle='q1',ytitle='Ways', x=500, y=0, width=600,height=300) ##waygraph = gvbars(delta=0.7, color=color.red) # to make vertical bar graph # ###entropy graphs gdisplay(xtitle='q1',ytitle='Entropy', x=500, y=300, width=600,height=300) S1graph = gcurve(color=color.red) S2graph = gcurve(color=color.blue) S1S2graph = gcurve(color=color.green)

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.

{[ snackBarMessage ]}

### Page1 / 2

lab15-1 - from_future import division from visual.graph...

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

View Full Document
Ask a homework question - tutors are online