summaryrefslogtreecommitdiff
path: root/The_Elements_of_Physical_Chemistry_by_S._Glasstone/Chapter6.ipynb
blob: b1bfa74b16b6a78c2505511f2ee0a598fe45ee01 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:7aa25b464c07cc6381670ed4a3ac6f07d6ca4219d76404fd382eba97021cbd12"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter6-The Solid state"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex1-pg177"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "\n",
      "d1= 5.9 ##deg\n",
      "d2= 5.3 ##deg\n",
      "##CALCULATIONS\n",
      "r= math.sin(d1/57.3)/math.sin(d2/57.3)\n",
      "vr= r**3\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Ratio of inter planar distance = ',r,'')\n",
      "print'%s %.2f %s'% ('\\n Ratio of volumes = ',vr,'')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Ratio of inter planar distance =  1.11 \n",
        "\n",
        " Ratio of volumes =  1.38 \n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex2-pg191"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "##Intitalisation of variables\n",
      "svl= 1.0001 ##cc/gram\n",
      "svi= 1.0907 ##cc/gram\n",
      "T= 0.##C\n",
      "Hf= 79.8 ##cal/gram\n",
      "p= 76. ##mm\n",
      "sp= 13.595\n",
      "g= 980.7 ##cm/sec^2\n",
      "##CALCULATIONS\n",
      "r= -(273.2+T)*(svl-svi)*p*sp*g/(Hf*4.184*10**7)\n",
      "##RESULTS\n",
      "print'%s %.2f %s'% ('Decrease in melting point = ',r,' per atm')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Decrease in melting point =  0.01  per atm\n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}