summaryrefslogtreecommitdiff
path: root/Engineering_Physics_by_D._K._Bhattacharya_&_A._Bhaskaran/Chapter10.ipynb
blob: e90b7dfe5890ac94d7a294c7efdefce907936066 (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
{
 "metadata": {
  "name": "Chapter10"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": "Dielectric Materials"
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": "Example number 10.1, Page number 289"
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": "#To calculate the electronic polarizability of He atoms\n\n#importing modules\nimport math\n\n#Variable declaration\nepsilon_r = 1.0000684;            #dielectric constant\nN = 2.7*10**25;                   #number of atoms(per m**3)\nepsilon0 = 8.85*10**-12;          #permittivity of free space\n\n#Calculation\nalpha_e = epsilon0*(epsilon_r-1)/N;       #electronic polarizability(Fm**2)\n\n#Result\nprint \"electronic polarizability is\",alpha_e,\"Fm**2\"",
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": "electronic polarizability is 2.242e-41 Fm**2\n"
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": "Example number 10.2, Page number 290"
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": "#To calculate the electronic polarizability of Argon gas\n\n#importing modules\nimport math\n\n#Variable declaration\nepsilon_r = 1.0024;            #relative permittivity\nN = 2.7*10**25;                   #number of atoms(per m**3)\nepsilon0 = 8.85*10**-12;          #permittivity of free space\n\n#Calculation\nalpha_e = epsilon0*(epsilon_r-1)/N;       #electronic polarizability(Fm**2)\n\n#Result\nprint \"electronic polarizability is\",alpha_e,\"Fm**2\"",
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": "electronic polarizability is 7.86666666667e-40 Fm**2\n"
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": "",
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}