summaryrefslogtreecommitdiff
path: root/Physical_Chemistry/Chapter16.ipynb
blob: edd91fdd32be5679670b26bf21c28beb50c017a4 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
 "metadata": {
  "name": "",
  "signature": "sha256:732bbb076f615c901ca952cd233aa9a732520f864fa8a5b9d8200618c4707cce"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 16 - Typical mechanisms and rate laws"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 1 - pg 422"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the Rate constant\n",
      "#Initialization of variables\n",
      "import math\n",
      "P1=69.2 #mm\n",
      "P2=39.8#mm\n",
      "t=20 #min\n",
      "#calculations\n",
      "k=2.303*math.log10(P1/P2) /(t*60.)\n",
      "#results\n",
      "print '%s %.2e %s' %(\"Rate constant =\",k,\"sec^-1\")\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Rate constant = 4.61e-04 sec^-1\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2 - pg 422"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the Rate constant\n",
      "#Initialization of variables\n",
      "import math\n",
      "t=10. #min\n",
      "x=90.\n",
      "#calculations\n",
      "k=2.303*math.log10(100/(100-x)) /t\n",
      "#results\n",
      "print '%s %.3f %s' %(\"Rate constant =\",k,\"min^-1\")\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Rate constant = 0.230 min^-1\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 3 - pg 427"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate the rate constant\n",
      "#Initialization of variables\n",
      "t=242. #sec\n",
      "P=229. #mm\n",
      "P0=363. #mm\n",
      "#calculations\n",
      "k=(1./P -1./P0)/t\n",
      "#results\n",
      "print '%s %.2e %s' %(\"rate constant=\",k,\"sec^-1 mm^-1\")\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "rate constant= 6.66e-06 sec^-1 mm^-1\n"
       ]
      }
     ],
     "prompt_number": 3
    }
   ],
   "metadata": {}
  }
 ]
}