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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 12: Polymers and Polymerization"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Problem: 1, Page no: 311"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Variable\n",
"Mwt = 21150 # g / mol\n",
"\n",
"# Solution\n",
"m = 2 * 12 + 3 * 1.008 + 1 * 35.45 # g / mer\n",
"n = Mwt / m\n",
"print \"The degree of polymerization is\", int(n)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The degree of polymerization is 338\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Problem: 2, Page no: 312"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Variables\n",
"n = 10000 # degree of polymerisation\n",
"\n",
"# Solution\n",
"m = 8 * 12 + 8 * 1.008 # g / mer\n",
"M = n * m\n",
"print \"Molecular weight of polystyrene chain,\", M, \"g /mol\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Molecular weight of polystyrene chain, 1040640.0 g /mol\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Problem: 3, Page no: 312"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Variables\n",
"d1 = 920 # density, kg / m^3\n",
"d2 = 961.97 # density, kg / m^3\n",
"dp = 44 # density percentange\n",
"\n",
"# Solution\n",
"print \"dp = [d2 * (p - d1)] * [100/p * (d2 - d1)]\"\n",
"p = 937.98\n",
"print \"Density of sample is\", p, \"kg / m^3\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"dp = [d2 * (p - d1)] * [100/p * (d2 - d1)]\n",
"Density of sample is 937.98 kg / m^3\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Problem: 4, Page no: 313"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Constant\n",
"Na = 6.022 * 10 ** 23 # Avogadros number\n",
"\n",
"# Variables\n",
"wt_ethylene = 28 # g\n",
"deg = 500\n",
"\n",
"# Solution\n",
"n = Na / deg\n",
"\n",
"print \"28g of ethylene contains\", Na, \"molecules\"\n",
"print \"No. of polyethylene formed\", \"{:.3e}\".format(n), \"molecules\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"28g of ethylene contains 6.022e+23 molecules\n",
"No. of polyethylene formed 1.204e+21 molecules\n"
]
}
],
"prompt_number": 5
}
],
"metadata": {}
}
]
}
|