summaryrefslogtreecommitdiff
path: root/The_Elements_of_Physical_Chemistry_by_S._Glasstone/Chapter19.ipynb
blob: 5aaa6fb35eb48b3de894407801e5c3d939c87189 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:a28a5ef8a385d0102e6082cfb366c7131c322bfd3526953cd7d93fd7c3a57950"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter19-PhotoChemistry"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex1-pg636"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "t= 5. ##cm\n",
      "c= 0.01 ##M\n",
      "ir= 0.245\n",
      "##CALCULATIONS\n",
      "e= -math.log10(ir)/(t*c)\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Extinction coefficient =  ',e,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Extinction coefficient =   12.22 \n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex2-pg641"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "w= 2540. ##A\n",
      "v= 10. ##ml\n",
      "c= 0.0495 ##M\n",
      "a= 8.81*10**8 ##ergs\n",
      "c1= 0.0383 ##M\n",
      "n= 1.12*10**-4 ##moles\n",
      "n1= 2.859 ##moles\n",
      "##CALCULATIONS\n",
      "qy= n*n1*4.184*10**15/(a*w)\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Quantum yield =  ',qy,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Quantum yield =   0.60 \n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}