summaryrefslogtreecommitdiff
path: root/sample_notebooks/kapiljain/Chapter12.ipynb
blob: c62ab5b1e1971c593cf0b71dd6ab021fc82e0c71 (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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "# Chapter 12 : Integrated circuits and micro electromechanical Systems "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 12.1, Page Number 144"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Effective Resistance= 10.17 k-ohm \n"
     ]
    }
   ],
   "source": [
    "#importing modules \n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "l=100                 #length of resistor in micro-m\n",
    "w=10                  #width of resistor in micro-m\n",
    "R=0.9                 #sheet resistance in k-ohm/n \n",
    "End_points=0.65*2     #Total contribution of two end points\n",
    "\n",
    "#Calculations\n",
    "Total_squares=l/w\n",
    "T=Total_squares+End_points  #Total effective sqaures\n",
    "Reff=T*R\n",
    "\n",
    "#Result\n",
    "print \"Effective Resistance= %0.2f k-ohm \" %Reff"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 12.2, Page Number 144"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Capacitance per unit area= 6.90e-11 F/cm^2 \n"
     ]
    }
   ],
   "source": [
    "#importing modules \n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "epsilon_0=8.85*10**-14   #in F/cm\n",
    "epsilon_i=3.9            #in F/cm\n",
    "tox=0.5*10**-4           #in cm\n",
    "\n",
    "#Calculations\n",
    "C=(epsilon_0*epsilon_i)/tox\n",
    "C=C/10**2                 #converting from pF to F\n",
    "\n",
    "#Result\n",
    "print \"Capacitance per unit area= %.2e F/cm^2 \" %C"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 12.3, Page Number 145"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Sheet resistance= 250 ohm\n",
      "\n",
      "average resistivity= 0.025 ohm-cm\n"
     ]
    }
   ],
   "source": [
    "#importing modules \n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Length=4             #in micro-m\n",
    "Width=1              #in micro-m\n",
    "R=1000               #in ohm\n",
    "xj=1*10**-4          #junction depth in cm\n",
    "\n",
    "#Calculations\n",
    "N=Length/Width\n",
    "R0=R/N\n",
    "rho=R0*xj\n",
    "\n",
    "#Result\n",
    "print\"Sheet resistance= %i ohm\\n\" %R0\n",
    "print\"average resistivity= %0.3f ohm-cm\" %rho"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}