summaryrefslogtreecommitdiff
path: root/Physical_Chemistry/Chapter11.ipynb
blob: b98e97b58de3ef4e85bbe0e62be76d5c73aaa061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
 "metadata": {
  "name": "",
  "signature": "sha256:00f3ac32d98b00732d6a51b0562de7dab713dab2a42986a603b1c1eafc01eefd"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 11 - Condensed phases"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 1 - pg 271"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the Vapor Pressure\n",
      "#Initialization of variables\n",
      "A=7.6546\n",
      "B=1686.8\n",
      "T=60+273.2\n",
      "#calculations\n",
      "logP=A-B/T\n",
      "P=10**logP\n",
      "#results\n",
      "print '%s %.1f %s' %(\"Vapor Pressure =\",P,\"mm\")\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Vapor Pressure = 391.0 mm\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2 - pg 277"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the change in C values\n",
      "#Initialization of variables\n",
      "alpha=4.92*10**-5 #deg**-1\n",
      "beta=7.85*10**-7 #atm**-1\n",
      "d=8.93 #g/cm**3\n",
      "T=298.15 #K\n",
      "#calculations\n",
      "dC=63.54*T*alpha**2 *1.987/(d*beta*82.06)\n",
      "#results\n",
      "print '%s %.3f %s' %(\"Change in c values = \",dC,\" cal/deg mol\")\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Change in c values =  0.158  cal/deg mol\n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}