summaryrefslogtreecommitdiff
path: root/Chemistry/Chapter_12.ipynb
blob: c565711d0b75e767fc212850fb530c705e90fd8d (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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 12:Physical Properties of Solutions"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.2,Page no:518"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "msolute=0.892 #mass of solute, g\n",
      "msolvent=54.6 #mass of solvent, g\n",
      "\n",
      "#Calculation\n",
      "percent=msolute/(msolute+msolvent)*100 #concentration, percent by mass\n",
      "\n",
      "#Result\n",
      "print\"The concentration of KCl solution by mass is :\",round(percent,2),\"%\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The concentration of KCl solution by mass is : 1.61 %\n"
       ]
      }
     ],
     "prompt_number": 39
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.3,Page no:518"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration \n",
      "mass=24.4 #mass of H2SO4, g\n",
      "M=98.09 #mol maass of H2SO4, g\n",
      "\n",
      "#Calculation\n",
      "n=mass/M #moles of H2SO4\n",
      "massH2O=0.198 #mass of H2O, kg\n",
      "m=n/massH2O #molality of H2SO4, molal\n",
      "\n",
      "#Result\n",
      "print\"The molality of sulfuric acid solution is :\",round(m,2),\"m\"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The molality of sulfuric acid solution is : 1.26 m\n"
       ]
      }
     ],
     "prompt_number": 40
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.4,Page no:520"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "#considering 1L solution\n",
      "msolution=976 #mass of solution, g\n",
      "n=2.45 #moles\n",
      "CH3OH=32.04 #mol. mass of CH3OH, g\n",
      "\n",
      "#Calculation\n",
      "msolute=n*CH3OH #mass of solute, g\n",
      "msolvent=(msolution-msolute)/1000 #mass of solvent, kg\n",
      "m=n/msolvent #molality, molal\n",
      "\n",
      "#Result\n",
      "print\"The molality of CH3OH solution is :\",round(m,2),\"m\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The molality of CH3OH solution is : 2.73 m\n"
       ]
      }
     ],
     "prompt_number": 41
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.5,Page no:520"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "#considering 100g of solution\n",
      "percent=35.4 #mass percent of H3PO4\n",
      "H3PO4=97.99 #mol mass of H3PO4\n",
      "\n",
      "#Calculation\n",
      "n=percent/H3PO4 #moles of H3PO4\n",
      "mH2O=(100-percent)/1000 #mass of solvent\n",
      "m=n/mH2O #molality of H3PO4, molal\n",
      "\n",
      "#Result\n",
      "print\"the molality of H3PO4 solution is :\",round(m,2),\"m\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "the molality of H3PO4 solution is : 5.59 m\n"
       ]
      }
     ],
     "prompt_number": 32
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.6,Page no:525"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "c=6.8*10**-4 #solubility of N2 in water, M\n",
      "P=1 #pressure, atm\n",
      "\n",
      "#Calculation\n",
      "k=c/P #henry's constant\n",
      "#for partial pressure of N2=0.78atm\n",
      "P=0.78 #partial pressure of N2, atm\n",
      "c=k*P #solubility of N2, M\n",
      "\n",
      "#Result\n",
      "print\"The solubility of N2 gas in water is :%.1e\"%c,\"M\"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The solubility of N2 gas in water is :5.3e-04 M\n"
       ]
      }
     ],
     "prompt_number": 42
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.7,Page no:527"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "H2O=18.02 #mol mass of H2O, g\n",
      "V=460 #volume of water, mL\n",
      "glucose=180.2 #mol. mass of glucose, g\n",
      "mass=218 #mass of gllucose, g\n",
      "\n",
      "#Calculation\n",
      "n1=V/H2O #moles of water\n",
      "n2=mass/glucose #moles of glucose\n",
      "x1=n1/(n1+n2) #mole fraction of water\n",
      "P=31.82 #vapor pressure of pure water, mmHg\n",
      "P1=x1*P #vapor pressure afteraddition of glucose, mmHg\n",
      "#Result\n",
      "print\"Vapor pressure is:\",round(P1,1),\"mm Hg\"\n",
      "print\"The vapor pressure lowering is :\",round(P-P1,1),\"mmHg\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Vapor pressure is: 30.4 mm Hg\n",
        "The vapor pressure lowering is : 1.4 mmHg\n"
       ]
      }
     ],
     "prompt_number": 43
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.8,Page no:532"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "mH2O=2.505 #mass of H2O, kg\n",
      "mEG=651 #mass of EG, g\n",
      "EG=62.07 #mol mass of EG, g\n",
      "\n",
      "#Calculation\n",
      "n=mEG/EG #moles of EG\n",
      "m=n/mH2O #molality of EG\n",
      "Kf=1.86 #molal freezing point depression constant, C/m\n",
      "deltaTf=Kf*m #depression in freezing point, C\n",
      "Kb=0.52 #molal boiling point elevation constant, C/m\n",
      "deltaTb=Kb*m #elevation in boiling point, C\n",
      "\n",
      "#Result\n",
      "print\"The depression in freezing point is\",round(deltaTf,2),\"C\"\n",
      "print\"Elevation in boiling point is :\",round(deltaTb,1),\"C\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The depression in freezing point is 7.79 C\n",
        "Elevation in boiling point is : 2.2 C\n"
       ]
      }
     ],
     "prompt_number": 44
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.9,Page no:536"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "pie=30 #osmotic pressure, atm\n",
      "R=0.0821 #gas constant, L atm/K mol\n",
      "T=298 #temp., K\n",
      "\n",
      "#Calculation\n",
      "M=pie/(R*T) #molar concentration, M\n",
      "\n",
      "#Result\n",
      "print\"The molar concentration is :\",round(M,2),\"M\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The molar concentration is : 1.23 M\n"
       ]
      }
     ],
     "prompt_number": 45
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.10,Page no:537"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "deltaTf=1.05 #depression in freezing point, C\n",
      "Kf=5.12 #molal freezing point depression constant\n",
      "\n",
      "#Calculation\n",
      "m=deltaTf/Kf #molality of solution, molal\n",
      "mbenzene=301/1000.0 #mass of benzene, kg\n",
      "n=m*mbenzene #moles of sapmle\n",
      "msample=7.85 #mass of sample, g\n",
      "molarmass=msample/n #molar mass of sample, g/mol\n",
      "\n",
      "#Result\n",
      "print\"The molar mass of the sample is :\",round(molarmass),\"g/mol \""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The molar mass of the sample is : 127.0 g/mol \n"
       ]
      }
     ],
     "prompt_number": 46
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.11,Page no:538"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "R=0.0821 #gas constant, L atm/K mol\n",
      "T=298 #temp, K\n",
      "pie=10/760.0 #osmotic pressure, atm\n",
      "\n",
      "#Calculation\n",
      "M=pie/(R*T) #molarity of the solution, M\n",
      "#taking 1L of solution\n",
      "mass=35 #mass of Hg, g\n",
      "n=M #moles\n",
      "molarmass=mass/n #molar mass of hemoglobin, g/mol\n",
      "\n",
      "#Result\n",
      "print\"The molar mass of the hemoglobin is :%.2e\"%molarmass,\"g/mol\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The molar mass of the hemoglobin is :6.51e+04 g/mol\n"
       ]
      }
     ],
     "prompt_number": 47
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example no:12.12,Page no:540"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "R=0.0821 #gas constant, L atm/K mol\n",
      "T=298 #temp, K\n",
      "pie=0.465 #osmotic pressure, atm\n",
      "M=0.01 #molarity of the solution, M\n",
      "\n",
      "#Calculation\n",
      "i=pie/(M*R*T) #vant hoff factor of KI\n",
      "\n",
      "#Result\n",
      "print\"The vant hoff factor of KI at 25 C is :\",round(i,2)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The vant hoff factor of KI at 25 C is : 1.9\n"
       ]
      }
     ],
     "prompt_number": 48
    }
   ],
   "metadata": {}
  }
 ]
}