summaryrefslogtreecommitdiff
path: root/Electronic_Devices_and_Circuits_by_D._C._Kulshreshtha/Chapter02.ipynb
blob: 6a53266d794e0bdaf30f8c526037f8e2f68134e3 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:b73ef6216a642d72e71cacf5b5b61b6bfffda60f0becbd024d7e5a916e6cf6d4"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter02:Semiconductor Physics"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E1 - pg 35"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Calculate the conductivity and resistivity of germanium\n",
      "#!/usr/bin/env/ python\n",
      "#-*- coding: utf-8 -*-\n",
      "q=1.6*10.**-19.#Coulomb        #charge of an electron\n",
      "ni=2.5*10.**19.#per m**3        #concentration\n",
      "un=0.36#m**2/Vs              #mobility of electron\n",
      "up=0.17#m**2/Vs             #mobility of holes\n",
      "con=q*ni*(un+up);           #conductivity\n",
      "res=(1./con);                #resistivity\n",
      "print '%s %.2f %s' %(\"The conductivty is =\",con,'S/m');\n",
      "print '%s %.2f %s' %(\"The resistivity is =\",res,'ohm m');\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The conductivty is = 2.12 S/m\n",
        "The resistivity is = 0.47 ohm m\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ecample E2 - pg 44"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Determine the conductivity of extrinsic semiconductor\n",
      "#given\n",
      "e=1.6*10.**-19.;#Coulomb        #charge of an electron\n",
      "ni=1.5*10.**16.;#per m**3        #concentration\n",
      "un=0.13;#m**2/Vs             #mobility of electron\n",
      "up=0.05;#m**2/Vs            #mobility of holes\n",
      "Si=5.*10.**28.;#per m**3        #atomic density in silicon\n",
      "dop=(1./(2.*10.**8.));          #concentration of an antimony per silicon atoms\n",
      "Nd=dop*Si;#per m**3       #donor concentraion\n",
      "n=Nd;#per m**3           #free electron concentration\n",
      "p=(ni**2/Nd);#per m **3   # hole concentration\n",
      "con=e*(n*un+p*up);\n",
      "print '%s %.1f %s' %(\"The conductivty is=\",con, 'S/m');\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The conductivty is= 5.2 S/m\n"
       ]
      }
     ],
     "prompt_number": 3
    }
   ],
   "metadata": {}
  }
 ]
}