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
|
{
"metadata": {
"name": "",
"signature": "sha256:491d30e4e083aec11bc84fdc5735ea79764fcb01fd2223f482cd31ce71e9fd49"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 3 - Waves and Quanta"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 9 - pg 83"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#calculate the Vibrational degrees of freedom\n",
"#initialization of variables\n",
"atoms=5\n",
"#calculations\n",
"f=3*atoms\n",
"fvib=f-3-3\n",
"#results\n",
"print '%s %d' %(\"Vibrational degrees of freedom = \",fvib)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Vibrational degrees of freedom = 9\n"
]
}
],
"prompt_number": 1
}
],
"metadata": {}
}
]
}
|