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
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter16 Quantum Theory"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 16.1, Pageno.67"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"avagadros number = 6.031 *10**23 coloumbs equivˆ−1\n"
]
}
],
"source": [
"import math\n",
"#initialisation of variables\n",
"e=1.6*10**-19 #coloumb electron ˆ−1\n",
"F=96496 # coloumbs equivˆ−1\n",
"#CALCULATIONS\n",
"N=F/e\n",
"#RESULTS\n",
"N=N*10**-23\n",
"N=round(N,4)\n",
"print 'avagadros number =',N,'*10**23 coloumbs equivˆ−1'"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 16.2, Pageno.67"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"wavelength in centimetres = 4.5 * 10**-5 cm\n",
"wavelength in micrometres = 450.0 cm\n",
"frequency of bluelight = 6.667 * 10**14 secˆ−1\n",
"wave number = 22222.2 cmˆ−1\n"
]
}
],
"source": [
"import math\n",
"#initialisation of variables\n",
"wl=4500 #A\n",
"c=3*10**10 #cm/ sec\n",
"#CALCULATIONS\n",
"l=wl*10**-8\n",
"l1=wl*10**-1\n",
"f=1/l\n",
"f1=c/l\n",
"#RESULTS\n",
"l=l*10**5\n",
"f=round(f,1)\n",
"f1=f1*10**-14\n",
"f1=round(f1,3)\n",
"print 'wavelength in centimetres =',l,'* 10**-5 cm'\n",
"print 'wavelength in micrometres =',l1,'cm'\n",
"print 'frequency of bluelight =',f1,'* 10**14 secˆ−1'\n",
"print 'wave number =',f,'cmˆ−1'"
]
}
],
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [Root]",
"language": "python",
"name": "Python [Root]"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.11"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|