summaryrefslogtreecommitdiff
path: root/Semiconductor_circuit_approximations_by_A.P._Malvino/ch11.ipynb
blob: 072fab6afbd82853c1b4cd42318fb3d417853018 (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
162
163
164
165
166
167
168
169
170
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Chapter 11 More Amplifier Theory"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example 11.1 Page No 274"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The closed loop voltage gain = 47.81\n"
     ]
    }
   ],
   "source": [
    "# given data\n",
    "r_F= 220##  Ω\n",
    "r_E= 4.7##in Ω\n",
    "# The closed loop voltage gain \n",
    "A_CL= r_F/r_E+1#\n",
    "print \"The closed loop voltage gain = %.2f\"%A_CL"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example 11.2 Page No 287"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The value of alpha = 0.99\n",
      "The value of r''e = 29.17 Ω\n",
      "The value of r''c = 14.12 MΩ\n"
     ]
    }
   ],
   "source": [
    "# given data\n",
    "h_ie= 3.5*10**3##in Ω\n",
    "h_fe= 120.0#\n",
    "h_re= 1.3*10**-4#\n",
    "h_oe= 8.5*10**-6##  S\n",
    "bita= h_fe## unit less\n",
    "# The value of alpha \n",
    "alpha= h_fe/(h_fe+1)#\n",
    "print \"The value of alpha = %.2f\"%alpha\n",
    "# The value of r'e\n",
    "r_desh_e= h_ie/h_fe##  Ω\n",
    "r_desh_c= h_fe/h_oe##  Ω\n",
    "print \"The value of r''e = %.2f Ω\"%r_desh_e\n",
    "# The value of r'c\n",
    "r_desh_c= r_desh_c*10**-6##  Mohm\n",
    "print \"The value of r''c = %.2f MΩ\"%r_desh_c"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example 11.3 Page No 288"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The value of r''b = 175.00 Ω\n"
     ]
    }
   ],
   "source": [
    "# given data\n",
    "h_rb= 1.75*10**-4#\n",
    "h_ob= 10**-6##  S\n",
    "r_desh_b= h_rb/h_ob##  Ω\n",
    "print \"The value of r''b = %.2f Ω\"%r_desh_b"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example 11.4 Page No 289"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The voltage gain = 68.02\n"
     ]
    }
   ],
   "source": [
    "# given data\n",
    "h_fe= 120## unit less\n",
    "h_ie= 3.5*10**3##in Ω\n",
    "r_L= 2*10**3##  Ω\n",
    "h_oe= 8.5*10**-6##  S\n",
    "h_re= 1.3*10**-4## unit less\n",
    "# The voltage gain \n",
    "A= h_fe*r_L/(h_ie*(1+h_oe*r_L)-h_re*h_fe*r_L)\n",
    "print \"The voltage gain = %.2f\"%A"
   ]
  }
 ],
 "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.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}