summaryrefslogtreecommitdiff
path: root/Engineering_Physics/chapter9.ipynb
blob: d92ff5fa95b5ed0cc9b7e09dd73bd82562597fd5 (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:5dfcc3b8a36b2e69e76da78cbe3cbbcd618d029b3ed8c322ee0560bc514169c3"

 },

 "nbformat": 3,

 "nbformat_minor": 0,

 "worksheets": [

  {

   "cells": [

    {

     "cell_type": "heading",

     "level": 1,

     "metadata": {},

     "source": [

      "Chapter9:DIELECTRIC PROPERTIESOF MATERIALS"

     ]

    },

    {

     "cell_type": "heading",

     "level": 2,

     "metadata": {},

     "source": [

      "Ex9.1:pg-269"

     ]

    },

    {

     "cell_type": "code",

     "collapsed": false,

     "input": [

      "import math\n",

      "#to calculate dielectric constant of the liquid\n",

      "#capacitance of the air filled dielectric Cair=Q/Vo-----------eq(1)\n",

      "#when dielectric is filled between the plates ,Cliquid=Q/V\n",

      "#then Cliquid=epsilonr*Q/Vo------eq(2)\n",

      "Vo=60\n",

      "                  #voltage in volts\n",

      "V=30\n",

      "#from eq(1) and eq(2),we get\n",

      "epsilon0=Vo/V\n",

      "print \"the dielectric constant of the liquid is epsilon0=\",epsilon0,\"unitless\"\n"

     ],

     "language": "python",

     "metadata": {},

     "outputs": [

      {

       "output_type": "stream",

       "stream": "stdout",

       "text": [

        "the dielectric constant of the liquid is epsilon0= 2 unitless\n"

       ]

      }

     ],

     "prompt_number": 1

    },

    {

     "cell_type": "heading",

     "level": 2,

     "metadata": {},

     "source": [

      "Ex9.2:pg-269"

     ]

    },

    {

     "cell_type": "code",

     "collapsed": false,

     "input": [

      "import math\n",

      "#to calculate charge on the capacitance\n",

      "epsilon0=8.854*10**-12 #permittivity\n",

      "epsilonr=6 #relative permittivity\n",

      "V=100 #voltage in volts\n",

      "d=1.5*10**-3 #distance in m\n",

      "A=4*10**-4#area in m**2\n",

      "Q=epsilon0*epsilonr*A*V/d\n",

      "print \"the charge on the capacitance is Q=\",\"{:.2e}\".format(Q),\"Coulomb\"\n"

     ],

     "language": "python",

     "metadata": {},

     "outputs": [

      {

       "output_type": "stream",

       "stream": "stdout",

       "text": [

        "the charge on the capacitance is Q= 1.42e-09 Coulomb\n"

       ]

      }

     ],

     "prompt_number": 1

    },

    {

     "cell_type": "heading",

     "level": 2,

     "metadata": {},

     "source": [

      "Ex9.3:pg-269"

     ]

    },

    {

     "cell_type": "code",

     "collapsed": false,

     "input": [

      "import math\n",

      "#to calculate voltage\n",

      "A=6.50*10**-4 #area in m**2\n",

      "Q=2*10**-10 #charge in C\n",

      "d=4*10**-3 #plate separation in m\n",

      "epsilon0=8.854*10**-12\n",

      "epsilonr=3.5 #dielectric constant\n",

      "V=Q*d/(epsilon0*epsilonr*A)\n",

      "print \"the resultant voltage across the capacitor is V=\",round(V,1),\"volt\"\n"

     ],

     "language": "python",

     "metadata": {},

     "outputs": [

      {

       "output_type": "stream",

       "stream": "stdout",

       "text": [

        "the resultant voltage across the capacitor is V= 39.7 volt\n"

       ]

      }

     ],

     "prompt_number": 2

    }

   ],

   "metadata": {}

  }

 ]

}