summaryrefslogtreecommitdiff
path: root/The_Elements_of_Physical_Chemistry_by_S._Glasstone/Chapter1.ipynb
blob: 0e5ce45359467dc4d9562288e2d7ccf0566cbd97 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:5270655b24f7f5c2020eace446891d960f183211077ffb844deb57e6485a1fb6"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter1-Atomic Theory\n"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex1-pg15"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "#calculate the Molecular weight of carbon dioxide\n",
      "dco= 1.9635 ##gms/lit\n",
      "do= 1.4277 ##gms/lit\n",
      "mo= 32. ##gms\n",
      "##CALCULATIONS\n",
      "mwt= dco*mo/do\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Molecular weight of carbon dioxide =  ',mwt,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Molecular weight of carbon dioxide =   44.01 \n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex2-pg16"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "#calculate the atomic weight of lead\n",
      "shl= 0.031 ##cal deg^-1 g^-1\n",
      "ewlc= 103.605 ##gms\n",
      "n= 2.\n",
      "##CALCULATIONS\n",
      "aw= n*ewlc\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Atomic weight of lead = ',aw,' gms')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Atomic weight of lead =  207.21  gms\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex3-pg17"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "\n",
      "ewt= 17.337 ##gms\n",
      "n=3.\n",
      "##CALCULATIONS\n",
      "aw= ewt*n\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Atomic weight of chromium = ',aw,' gms')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Atomic weight of chromium =  52.01  gms\n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}