summaryrefslogtreecommitdiff
path: root/Physical_Chemistry_by_Duffey_George_H/Chapter18.ipynb
blob: d460229d1e6b7efec804af17f6bc6f01c4449307 (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
96
97
98
99
100
101
102
{
 "metadata": {
  "name": "",
  "signature": "sha256:63ceed8607dc113635851a8fc16e00b5a679fa077f828a47388aa54622bce4ae"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 18 - Catalysis"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 1 - pg 472"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the Volume \n",
      "#Initialization of variables\n",
      "V1=0.284 #cm^3 /g\n",
      "V2=1.43 #cm^3 /g\n",
      "P1=142.4 #mm\n",
      "P2=760. #mm\n",
      "#calculations\n",
      "z=(1/V1 - 1/V2)/(1/P1 - 1/P2)\n",
      "invVm=1/V2 - z/P2\n",
      "Vm=1/invVm\n",
      "#results\n",
      "print '%s %.1f %s' %(\"Volume =\",Vm,\"cm^3/g\")\n",
      "print 'The answer in the textbook is a bit different due to rounding off error.'\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Volume = 20.5 cm^3/g\n",
        "The answer in the textbook is a bit different due to rounding off error.\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2 - pg 477"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the total area\n",
      "#Initialization of variables\n",
      "Vm=2.86 #cc/g\n",
      "P=1 #atm\n",
      "R=82.06 #cm^3 atm/deg mol\n",
      "T=273.2 #deg\n",
      "N=6.023*10**23\n",
      "sigma=16.2*10**-16 #cm^2 /molecule\n",
      "#calculations\n",
      "n=P*Vm/(R*T)\n",
      "A=N*n*sigma\n",
      "#results\n",
      "print '%s %.2e %s' %(\"total area =\",A,\" cm^2 (g catalyst)^-1\")\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "total area = 1.24e+05  cm^2 (g catalyst)^-1\n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}