summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter1.ipynb29
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter11.ipynb28
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter12.ipynb43
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter13.ipynb11
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter14.ipynb20
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter15.ipynb30
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter17.ipynb19
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter2.ipynb46
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter3.ipynb12
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter4.ipynb792
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter5.ipynb630
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter7.ipynb557
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter8.ipynb621
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Ac-resistance-and-Dc-resistance-of-semiconductor-devices-ConvertImage.pngbin0 -> 106119 bytes
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Fixed-Bias-Configuration-of-BJT-with-different-Parameters-ConvertImage.pngbin0 -> 164655 bytes
-rw-r--r--Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Output-Waveform-of-Astable-Multivibrator-ConvertImage.pngbin0 -> 56997 bytes
16 files changed, 2717 insertions, 121 deletions
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter1.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter1.ipynb
index 6b40d1a4..c0f5f1b3 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter1.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter1.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.1"
+ "## Example 1.1 Page Number-13"
]
},
{
@@ -45,7 +45,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2 (a)"
+ "## Example 1.2 (a) Page Number-18"
]
},
{
@@ -80,7 +80,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2 (b)"
+ "## Example 1.2 (b) Page Number-18"
]
},
{
@@ -115,7 +115,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2 (c)"
+ "## Example 1.2 (c) Page Number-18"
]
},
{
@@ -150,7 +150,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2 (d)"
+ "## Example 1.2 (d) Page Number-18"
]
},
{
@@ -186,7 +186,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2 (e)"
+ "## Example 1.2 (e) Page Number-18"
]
},
{
@@ -237,7 +237,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2(a)"
+ "## Example 1.2(a) Page Number-22"
]
},
{
@@ -266,7 +266,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2(b)"
+ "## Example 1.2(b) Page Number-22"
]
},
{
@@ -295,7 +295,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.2(c)"
+ "## Example 1.2(c) Page Number-22"
]
},
{
@@ -326,7 +326,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.3(a)"
+ "## Example 1.3(a) Page Number-24"
]
},
{
@@ -360,7 +360,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.3(b)"
+ "## Example 1.3(b) Page Number-24"
]
},
{
@@ -394,7 +394,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.3(c)"
+ "## Example 1.3(c) Page Number-24"
]
},
{
@@ -440,7 +440,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.4"
+ "## Example 1.4 Page Number-40"
]
},
{
@@ -473,7 +473,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example 1.5"
+ "## Example 1.5 Page Number-43"
]
},
{
@@ -501,6 +501,7 @@
}
],
"metadata": {
+ "anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [Root]",
"language": "python",
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter11.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter11.ipynb
index 4f097148..aa3d39dd 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter11.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter11.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.1"
+ "## Example-11.1 Page Number-642"
]
},
{
@@ -43,7 +43,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.2"
+ "## Example-11.2 Page Number-642"
]
},
{
@@ -75,7 +75,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.3"
+ "## Example-11.3 Page Number-643"
]
},
{
@@ -111,7 +111,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.4"
+ "## Example-11.4 Page Number-644"
]
},
{
@@ -155,7 +155,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.5"
+ "## Example-11.5 Page Number-645"
]
},
{
@@ -190,7 +190,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.6"
+ "## Example-11.6 Page Number-646"
]
},
{
@@ -227,7 +227,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.7"
+ "## Example-11.7 Page Number-647"
]
},
{
@@ -261,7 +261,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.8"
+ "## Example-11.8 Page Number-647"
]
},
{
@@ -295,7 +295,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.10(a)"
+ "## Example-11.10(a) Page Number-651"
]
},
{
@@ -329,7 +329,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.10(b)"
+ "## Example-11.10(b) Page Number-651"
]
},
{
@@ -361,7 +361,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.11"
+ "## Example-11.11 Page Number-654"
]
},
{
@@ -391,7 +391,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.12"
+ "## Example-11.12 Page Number-656"
]
},
{
@@ -423,7 +423,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.13"
+ "## Example-11.13 Page Number-657"
]
},
{
@@ -456,7 +456,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-11.14"
+ "## Example-11.14 Page Number-658"
]
},
{
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter12.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter12.ipynb
index 424a5907..4089560e 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter12.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter12.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.1"
+ "## Example-12.1 Page Number-676"
]
},
{
@@ -62,7 +62,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.2"
+ "## Example-12.2 Page Number-678"
]
},
{
@@ -97,7 +97,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.3"
+ "## Example-12.3 Page Number-679"
]
},
{
@@ -132,7 +132,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.5"
+ "## Example-12.5 Page Number-682"
]
},
{
@@ -175,7 +175,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.6(a)"
+ "## Example-12.6(a) Page Number-683"
]
},
{
@@ -212,7 +212,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.6(b)"
+ "## Example-12.6(b) Page Number-683"
]
},
{
@@ -250,7 +250,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.6(c)"
+ "## Example-12.6(c) Page Number-683"
]
},
{
@@ -288,7 +288,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.7"
+ "## Example-12.7 Page Number-686"
]
},
{
@@ -332,7 +332,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.8"
+ "## Example-12.8 Page Number-687"
]
},
{
@@ -374,7 +374,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.9(a)"
+ "## Example-12.9(a) Page Number-687"
]
},
{
@@ -408,7 +408,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.9(b)"
+ "## Example-12.9(b) Page Number-687"
]
},
{
@@ -442,7 +442,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.10"
+ "## Example-12.10 Page Number-692"
]
},
{
@@ -502,7 +502,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.11"
+ "## Example-12.11 Page Number-693"
]
},
{
@@ -547,7 +547,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.12"
+ "## Example-12.12 Page Number-693"
]
},
{
@@ -584,7 +584,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.13"
+ "## Example-12.13 Page Number-694"
]
},
{
@@ -625,7 +625,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.14"
+ "## Example-12.14 Page Number-694"
]
},
{
@@ -665,7 +665,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.15(a)"
+ "## Example-12.15(a) Page Number-696"
]
},
{
@@ -699,7 +699,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.15(b)"
+ "## Example-12.15(b) Page Number-696"
]
},
{
@@ -733,7 +733,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.16"
+ "## Example-12.16 Page Number-696"
]
},
{
@@ -776,7 +776,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.17"
+ "## Example-12.17 Page Number-698"
]
},
{
@@ -810,7 +810,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-12.18"
+ "## Example-12.18 Page Number-700"
]
},
{
@@ -843,6 +843,7 @@
}
],
"metadata": {
+ "anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [Root]",
"language": "python",
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter13.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter13.ipynb
index 0de89910..cd752ea3 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter13.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter13.ipynb
@@ -11,12 +11,12 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-13.1"
+ "## Example-13.1 Page Number-723"
]
},
{
"cell_type": "code",
- "execution_count": 41,
+ "execution_count": 1,
"metadata": {
"collapsed": false
},
@@ -33,7 +33,7 @@
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEKCAYAAAAVaT4rAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEDVJREFUeJzt3XuQZGddxvHvsxmIxHC/GRMS8BJjLMJGJRATKy2KCSCX\nohASoRBEpUQlVViU3GQXy8JCucUCq8RcCCkiUCkSAgQIGBorIEsguyRFEgJeQCkSEBI1AZFlf/7R\nveswZGa6Z+ac7t73+9mamtPdp9/312/3PnP67T7npKqQJLVj26wLkCT1y+CXpMYY/JLUGINfkhpj\n8EtSYwx+SWrM0qwLAEjid0olaUpVlY3cb262+KtqIX927Ngx8xqsf/Z1WP9i/ixy/ZsxN8EvSeqH\nwS9JjTH4N2kwGMy6hE2x/tmy/tla9Po3KpudK9qSIpKahzokaVEkoRb9w11JUj8MfklqjMEvSY0x\n+CWpMQa/JDXG4Jekxhj8ktQYg1+SGmPwS1JjOj8sc5J/Bf4T2Ad8t6pO6rpPSdLq+jge/z5gUFW3\n9dCXJGkdfUz1pKd+JEkT6COQC/hwkmuS/E4P/UmS1tDHVM8pVfXVJA9k9Afgxqq6uod+JUl3ofPg\nr6qvjn9/PcmlwEnADwT/c/KcA8vbx/80G0v3XeLUb5466zI27er7Xc3e2/bOugwt42tr4/aM/22F\nToM/yWHAtqq6I8kPA78KvOqu1n1rvbXLUjSFYYazLmFL7L1tL4MazLoMLeNra+MGfH9/F+bCDbfV\n9Rb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1WODmJH+R5LhNtiWtyqkeLZrl\nb1FPAI4Dbgf+mdFW96MyOj3gHwIvAs4BXl9Vn0jyEOBDwPHAKcC1K9q+T1WdnORJjA7cdXJV3ZDk\n00lOYPT/5ciqOgFgfJjc/XaP27x0ww+sak+ShzM6COC5SfYxOkDau5adjEPaNINfi+yaqvoaQJJ/\nYnQQPYDrGR3UDeBXgJ9Osv+dw+HjKZUjgK+vaO+9y+5/y7Jjnn8OeCjwD8DDkpwDXLGsPxh9BvGj\nm31AVXUncB5w3nir/zzgjcB9Ntu2tJ/Br0X2nWXL+5Zd3sf/v7YDPGp8yswDknwbWL7Fvry95W0d\naK+qbk/yCOB04PnA04Hnjdf5IeDb48Pi/g2jdyavBB4NPGF8+ecZnTSjGL2j2MPoSKMF/HZVXTuu\n7RjgN4Gzxuu8crLhkCZj8GvRTHtu1yuBs4HXAiR5RFV9ltG5Y581TT9J7s/ow9dLk9wMXLTs5mMZ\nTcl8Cjhx2fXvA16x7PLy22B0tqT97R8DnAvcH7gA+IWqWu9cw9LUDH4tmtW+hrba9WcDb07yWeAQ\nRtM1Lxj/fu0a96+7WD4SuGB8bPQCXgIHzlD148CnJ3wMq/ke8NKq2mw70pr8OqealeQNwHur6qpN\ntvMU4MSq2rE1lUnd8uucatmrgcO2oJ1DgNdtQTtSL9zil6TGuMUvSY0x+CWpMQa/JDXG4Jekxhj8\nktSY/wPs7a/5bLlAFgAAAABJRU5ErkJggg==\n",
"text/plain": [
- "<matplotlib.figure.Figure at 0x92c6d68>"
+ "<matplotlib.figure.Figure at 0x3d5b940>"
]
},
"metadata": {},
@@ -41,7 +41,8 @@
}
],
"source": [
- "import matplotlib.pylab as plt\n",
+ "import matplotlib.pyplot as plt\n",
+ "%matplotlib inline\n",
"#for the given Astable multivibrator:\n",
"Ra=7.5*(10**3) #Resistance in ohm\n",
"Rb=Ra\n",
@@ -70,7 +71,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-13.2"
+ "## Example-13.2 Page Number-724"
]
},
{
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter14.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter14.ipynb
index 62fb4bb8..e5dd4d6a 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter14.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter14.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.1(a)"
+ "## Example-14.1(a) Page Number-745"
]
},
{
@@ -54,7 +54,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.1(b)"
+ "## Example-14.1(b) Page Number-745"
]
},
{
@@ -97,7 +97,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.2"
+ "## Example-14.2 Page Number-747"
]
},
{
@@ -130,7 +130,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.3"
+ "## Example-14.3 Page Number-748"
]
},
{
@@ -172,7 +172,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.4"
+ "## Example-14.4 Page Number-749"
]
},
{
@@ -207,7 +207,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.5"
+ "## Example-14.5 Page Number-750"
]
},
{
@@ -250,7 +250,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.6"
+ "## Example-14.6 Page Number-752"
]
},
{
@@ -287,7 +287,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.7"
+ "## Example-14.7 Page Number-758"
]
},
{
@@ -326,7 +326,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.8"
+ "## Example-14.8 Page Number-759"
]
},
{
@@ -358,7 +358,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-14.9"
+ "## Example-14.9 Page Number-760"
]
},
{
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter15.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter15.ipynb
index 54188a98..11c73c3a 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter15.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter15.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.1"
+ "## Example-15.1 Page Number-774"
]
},
{
@@ -43,7 +43,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.1"
+ "## Example-15.2 Page Number-775"
]
},
{
@@ -74,7 +74,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.3"
+ "## Example-15.3 Page Number-777"
]
},
{
@@ -106,7 +106,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.4"
+ "## Example-15.4 Page Number-778"
]
},
{
@@ -140,7 +140,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.5"
+ "## Example-15.5 Page Number-778"
]
},
{
@@ -176,7 +176,7 @@
"collapsed": true
},
"source": [
- "## Example-15.6"
+ "## Example-15.6 Page Number-780"
]
},
{
@@ -211,7 +211,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.7"
+ "## Example-15.7 Page Number-781"
]
},
{
@@ -259,7 +259,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.8"
+ "## Example-15.8 Page Number-782"
]
},
{
@@ -307,7 +307,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.9"
+ "## Example-15.9 Page Number-783"
]
},
{
@@ -341,7 +341,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.10"
+ "## Example-15.10 Page Number-784"
]
},
{
@@ -375,7 +375,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.11"
+ "## Example-15.11 Page Number-786"
]
},
{
@@ -426,7 +426,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.13"
+ "## Example-15.13 Page Number-791"
]
},
{
@@ -469,7 +469,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.14"
+ "## Example-15.14 Page Number-791"
]
},
{
@@ -507,7 +507,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.15"
+ "## Example-15.15 Page Number-792"
]
},
{
@@ -542,7 +542,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-15.16"
+ "## Example-15.16 Page Number-792"
]
},
{
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter17.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter17.ipynb
index ec1a6f79..3771820e 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter17.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter17.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.1(a)"
+ "## Example-17.1(a) Page Number-854"
]
},
{
@@ -52,7 +52,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.1(b)"
+ "## Example-17.1(b) Page Number-854"
]
},
{
@@ -90,7 +90,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.1(c)"
+ "## Example-17.1(c) Page Number-854"
]
},
{
@@ -128,7 +128,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.1(d)"
+ "## Example-17.1(d) Page Number-854"
]
},
{
@@ -173,7 +173,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.1(f)"
+ "## Example-17.1(f) Page Number-854"
]
},
{
@@ -214,7 +214,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.2"
+ "## Example-17.2 Page Number-862"
]
},
{
@@ -253,7 +253,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.3(a)"
+ "## Example-17.3(a) Page Number-864"
]
},
{
@@ -288,7 +288,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.3(b)"
+ "## Example-17.3(b) Page Number-864"
]
},
{
@@ -326,7 +326,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-17.3(c)"
+ "## Example-17.3(c) Page Number-864"
]
},
{
@@ -365,6 +365,7 @@
}
],
"metadata": {
+ "anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [Root]",
"language": "python",
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter2.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter2.ipynb
index 1d6ba377..43c84567 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter2.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter2.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.1(a)"
+ "## Example-2.1(a) Page Number-62"
]
},
{
@@ -48,7 +48,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.1(b)"
+ "## Example-2.1(b) Page Number-62"
]
},
{
@@ -78,7 +78,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.2"
+ "## Example-2.2 Page Number-63"
]
},
{
@@ -109,7 +109,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.3"
+ "## Example-2.3 Page Number-64"
]
},
{
@@ -140,7 +140,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.4"
+ "## Example-2.4 Page Number-67"
]
},
{
@@ -177,7 +177,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.5"
+ "## Example-2.5 Page Number-68"
]
},
{
@@ -215,7 +215,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.6"
+ "## Example-2.6 Page Number-68"
]
},
{
@@ -253,7 +253,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.7"
+ "## Example-2.7 Page Number-69"
]
},
{
@@ -291,7 +291,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.8"
+ "## Example-2.8 Page Number-69"
]
},
{
@@ -330,7 +330,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.9"
+ "## Example-2.9 Page Number-70"
]
},
{
@@ -377,7 +377,7 @@
"collapsed": true
},
"source": [
- "## Example-2.10"
+ "## Example-2.10 Page Number-71"
]
},
{
@@ -420,7 +420,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.11"
+ "## Example-2.11 Page Number-72"
]
},
{
@@ -452,7 +452,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.12"
+ "## Example-2.12 Page Number-73"
]
},
{
@@ -485,7 +485,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.13"
+ "## Example-2.13 Page Number-74"
]
},
{
@@ -528,7 +528,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.14"
+ "## Example-2.14 Page Number-74"
]
},
{
@@ -564,7 +564,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.15"
+ "## Example-2.15 Page Number-75"
]
},
{
@@ -602,7 +602,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.24"
+ "## Example-2.24 Page Number-93"
]
},
{
@@ -649,7 +649,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.25"
+ "## Example-2.25 Page Number-94"
]
},
{
@@ -671,7 +671,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.26(a)"
+ "## Example-2.26(a) Page Number-96"
]
},
{
@@ -715,7 +715,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.26(b)"
+ "## Example-2.26(b) Page Number-96"
]
},
{
@@ -761,7 +761,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.27(a)"
+ "## Example-2.27(a) Page Number-98"
]
},
{
@@ -798,7 +798,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.27(b)"
+ "## Example-2.27(b) Page Number-98"
]
},
{
@@ -827,7 +827,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-2.28"
+ "## Example-2.28 Page Number-99"
]
},
{
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter3.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter3.ipynb
index 5dc4aeac..40635a03 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter3.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter3.ipynb
@@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-3.1(a)"
+ "## Example-3.1(a) Page Number-136"
]
},
{
@@ -42,7 +42,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-3.1(b)"
+ "## Example-3.1(b) Page Number-136"
]
},
{
@@ -75,7 +75,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-3.1(c)"
+ "## Example-3.1(c) Page Number-136"
]
},
{
@@ -108,7 +108,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-3.1(d)"
+ "## Example-3.1(d) Page Number-136"
]
},
{
@@ -141,7 +141,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-3.2(a)"
+ "## Example-3.2(a) Page Number-141"
]
},
{
@@ -172,7 +172,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Example-3.2(b)"
+ "## Example-3.2(b) Page Number-141"
]
},
{
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter4.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter4.ipynb
index 3c0e05d2..a923d73f 100644
--- a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter4.ipynb
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter4.ipynb
@@ -55,13 +55,797 @@
]
},
{
- "cell_type": "code",
- "execution_count": null,
+ "cell_type": "markdown",
"metadata": {
"collapsed": true
},
- "outputs": [],
- "source": []
+ "source": [
+ "## Example-4.2 Page No-167"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The current saturation level= 5.45 mA\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given data:\n",
+ "Vcc=12.0 #supply voltage in volts\n",
+ "Rc=2.2 #collector resistance in kohm\n",
+ "\n",
+ "Icsat= Vcc/Rc #saturation level\n",
+ "print \"The current saturation level=\",round(Icsat,2),\"mA\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.3 Page No-170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector Resistance= 2.0 Kohm\n",
+ "Base Resistance= 772.0 Kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=Vce=20.0 #supply anmd collector emitter voltage in volts\n",
+ "Ic=10 #collector current in mA at Vce=0V\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "Ib=0.025 #base current in mA\n",
+ "#calculations:\n",
+ "Rc=Vcc/Ic\n",
+ "Rb=(Vcc-Vbe)/(Ib)\n",
+ "print \"Collector Resistance=\",Rc,\"Kohm\"\n",
+ "print \"Base Resistance=\",Rb,\"Kohm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.4 Page No-172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base Current= 40.12 microA\n",
+ "collector Current= 2.01 mA\n",
+ "Collector Emitter voltage= 13.98 V\n",
+ "Collector voltage= 15.99 V\n",
+ "emitter voltage= 2.01 V\n",
+ "Base voltage= 2.71 V\n",
+ "Base Collector voltage= -13.28 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=20.0 #supply voltage in volts\n",
+ "Rb=430.0 #base Resistance in kohm\n",
+ "B=50\n",
+ "Rc=2.0 #collector resistance in kohm\n",
+ "Re=1.0 #emitter resistance in kohm\n",
+ "\n",
+ "#calculation:\n",
+ "\n",
+ "Ib=(Vcc-Vbe)/(Rb+(B+1)*Re)\n",
+ "Ic=B*Ib\n",
+ "Vce=Vcc-(Rc+Re)*Ic\n",
+ "Vc=Vcc-Ic*Rc\n",
+ "Ve=Vc-Vce\n",
+ "Vb=Vbe+Ve\n",
+ "Vbc=Vb-Vc\n",
+ "\n",
+ "print \"Base Current=\",round(Ib*1000,2),\"microA\"\n",
+ "print \"collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\"\n",
+ "print \"Collector voltage=\",round(Vc,2),\"V\"\n",
+ "print \"emitter voltage=\",round(Ve,2),\"V\"\n",
+ "print \"Base voltage=\",round(Vb,2),\"V\"\n",
+ "print \"Base Collector voltage=\",round(Vbc,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.6 Page No-174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The current saturation level= 6.67 mA\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=20.0 #supply voltage in volts\n",
+ "Rc=2.0 #collector resistance in kohm\n",
+ "Re=1.0 #emitter resistance in kohm\n",
+ "\n",
+ "Icsat= Vcc/(Rc+Re) #saturation level\n",
+ "print \"The current saturation level=\",round(Icsat,2),\"mA\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.8 Page No-178"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "collector Current= 0.84 mA\n",
+ "Collector Emitter voltage= 12.36 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=22.0 #supply voltage in volts\n",
+ "R1=39.0 #base Resistance in kohm\n",
+ "R2=3.9 #base Resistance in kohm\n",
+ "B=100\n",
+ "Rc=10.0 #collector resistance in kohm\n",
+ "Re=1.5 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculation:\n",
+ "Rth=(R1*R2)/(R1+R2) #Thevenin resistance in kohm\n",
+ "Eth=(R2*Vcc)/(R1+R2) #Thevenin voltage in Volts\n",
+ "Ib=(Eth-Vbe)/(Rth+(B+1)*Re) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vce=Vcc-Ic*(Rc+Re) #collector emitter voltage in Volts\n",
+ "\n",
+ "\n",
+ "print \"collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.10 Page No-180"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "collector Current= 0.81 mA\n",
+ "Collector Emitter voltage= 12.66 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=22.0 #supply voltage in volts\n",
+ "R1=39.0 #base Resistance in kohm\n",
+ "R2=3.9 #base Resistance in kohm\n",
+ "B=50\n",
+ "Rc=10.0 #collector resistance in kohm\n",
+ "Re=1.5 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculation:\n",
+ "Rth=(R1*R2)/(R1+R2) #Thevenin resistance in kohm\n",
+ "Eth=(R2*Vcc)/(R1+R2) #Thevenin voltage in Volts\n",
+ "Ib=(Eth-Vbe)/(Rth+(B+1)*Re) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vce=Vcc-Ic*(Rc+Re) #collector emitter voltage in Volts\n",
+ "\n",
+ "\n",
+ "print \"collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.11 Page No-181"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 47,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Exact Analysis:\n",
+ "collector Current= 1.98 mA\n",
+ "Collector Emitter voltage= 4.55 V\n",
+ "\n",
+ "Approximate Analysis:\n",
+ "collector Current= 2.59 mA\n",
+ "Collector Emitter voltage= 3.77 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "#EXACT ANALYSIS\n",
+ "Vcc=18.0 #supply voltage in volts\n",
+ "R1=82.0 #base Resistance in kohm\n",
+ "R2=22 #base Resistance in kohm\n",
+ "B=50\n",
+ "Rc=5.6 #collector resistance in kohm\n",
+ "Re=1.2 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculation:\n",
+ "Rth=(R1*R2)/(R1+R2) #Thevenin resistance in kohm\n",
+ "Eth=(R2*Vcc)/(R1+R2) #Thevenin voltage in Volts\n",
+ "Ib=(Eth-Vbe)/(Rth+(B+1)*Re) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vce=Vcc-Ic*(Rc+Re) #collector emitter voltage in Volts\n",
+ "\n",
+ "print \"Exact Analysis:\"\n",
+ "print \"collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\\n\"\n",
+ "\n",
+ "print \"Approximate Analysis:\"\n",
+ "Vb=Eth=3.81 #base voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "Rc=5.6 #collector resistance in kohm\n",
+ "Re=1.2 #emitter resistance in kohm\n",
+ "Vcc=18.0 #supply voltage in volts\n",
+ "\n",
+ "#calculation:\n",
+ "Ve=Vb-Vbe #emitter voltage in volts\n",
+ "Ic=Ve/Re #collector current in mA\n",
+ "Vce=Vcc-((Ic*(Rc+Re))) #collector emitter voltage in Volts\n",
+ "\n",
+ "print \"collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce*10,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.12 Page No-184"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector Current= 1.07 mA\n",
+ "Collector Emitter voltage= 3.68 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=10.0 #supply voltage in volts\n",
+ "Rb=250 #base Resistance in kohm\n",
+ "B=90\n",
+ "Rc=4.7 #collector resistance in kohm\n",
+ "Re=1.2 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculation:\n",
+ "Ib=(Vcc-Vbe)/(Rb+(Rc+Re)*B) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vce=Vcc-Ic*(Rc+Re) #collector emitter voltage in Volts\n",
+ "\n",
+ "print \"Collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.13 Page No-185"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 48,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector Current= 1.2 mA\n",
+ "Collector Emitter voltage= 2.92 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=10.0 #supply voltage in volts\n",
+ "Rb=250 #base Resistance in kohm\n",
+ "B=135\n",
+ "Rc=4.7 #collector resistance in kohm\n",
+ "Re=1.2 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculation:\n",
+ "Ib=(Vcc-Vbe)/(Rb+(Rc+Re)*B) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vce=Vcc-Ic*(Rc+Re) #collector emitter voltage in Volts\n",
+ "\n",
+ "print \"Collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.14 Page No-186"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 57,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base Current= 35.54 microA\n",
+ "Collector voltage= 9.2 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=18.0 #supply voltage in volts\n",
+ "R1=91.0 #base Resistance in kohm\n",
+ "R2=110.0 #base Resistance in kohm\n",
+ "Rc=3.3 #collector resistance in kohm\n",
+ "Re=0.51 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "B=75.0\n",
+ "\n",
+ "#calculation:\n",
+ "Rb=R1+R2\n",
+ "Ib=(Vcc-Vbe)/(Rb+(Rc+Re)*B) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vc=Vcc-Ic*(Rc) #collector voltage in Volts\n",
+ "\n",
+ "print \"Base Current=\",round(Ib*1000,2),\"microA\"\n",
+ "print \"Collector voltage=\",round(Vc,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.16 Page No-188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 65,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base Current= 45.73 microA\n",
+ "Collector voltage= 11.68 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vee=20.0 #emitter voltage in volts\n",
+ "Rb=240.0 #base Resistance in kohm\n",
+ "Re=2.0 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "B=90.0\n",
+ "\n",
+ "#calculation:\n",
+ "Ib=(Vee-Vbe)/(Rb+(B+1)*Re) #base current in microA\n",
+ "Ie=(B+1)*Ib #emitter current in mA\n",
+ "Vce=Vee-Ie*Re #collector emitter voltage in Volts\n",
+ "\n",
+ "print \"Base Current=\",round(Ib*1000,2),\"microA\"\n",
+ "print \"Collector voltage=\",round(Vce,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.17 Page No-190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 86,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Emitter Current= 2.75 mA\n",
+ "Base Current= 45.08 microA\n",
+ "Collector Emitter voltage= 4.1 V\n",
+ "Collector Base voltage= 3.51 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=10.0 #collector voltage in volts\n",
+ "Vee=4 #emitter voltage in volts\n",
+ "B=60\n",
+ "Rc=2.4 #collector resistance in kohm\n",
+ "Re=1.2 #emitter resistance in kohm\n",
+ "\n",
+ "#calculation:\n",
+ "Ie=(Vee-Vbe)/Re #emitter current in mA\n",
+ "Ib=Ie/(B+1) #base current in microA\n",
+ "Vce=Vee+Vcc-Ie*(Rc+Re) #collector emitter voltage in Volts\n",
+ "Vcb=Vcc-B*Ib*Rc #collector base voltage in Volts\n",
+ "\n",
+ "print \"Emitter Current=\",round(Ie,2),\"mA\"\n",
+ "print \"Base Current=\",round(Ib*1000,2),\"microA\"\n",
+ "print \"Collector Emitter voltage=\",round(Vce,2),\"V\"\n",
+ "print \"Collector Base voltage=\",round(Vcb,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.18 Page No-190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 73,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base Current= 15.51 microA\n",
+ "Collector Current= 1.86 mA\n",
+ "Collector emitter voltage= 11.25 V\n",
+ "Base Voltage= 0.7 V\n",
+ "Collector Voltage= 11.25 V\n",
+ "Emitter Voltage= 0 V\n",
+ "Base-collector Voltage= -10.55 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=20.0 #supply voltage in volts\n",
+ "Rb=680.0 #base Resistance in kohm\n",
+ "Rc=4.7 #collector resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "B=120.0\n",
+ "\n",
+ "#calculation:\n",
+ "Ib=(Vcc-Vbe)/(Rb+(Rc)*B) #base current in microA\n",
+ "Ic=B*Ib #collector current in mA\n",
+ "Vce=Vcc-Ic*(Rc) #collector emitter voltage in Volts\n",
+ "Vb=Vbe #Base voltage in Volts\n",
+ "Vc=Vce #collector voltage in Volts\n",
+ "Ve=0 #emitter voltage in Volts \n",
+ "Vbc=Vb-Vc #base collector voltage in Volts\n",
+ "\n",
+ "print \"Base Current=\",round(Ib*1000,2),\"microA\"\n",
+ "print \"Collector Current=\",round(Ic,2),\"mA\"\n",
+ "print \"Collector emitter voltage=\",round(Vce,2),\"V\"\n",
+ "print \"Base Voltage=\",Vb,\"V\"\n",
+ "print \"Collector Voltage=\",round(Vc,2),\"V\"\n",
+ "print \"Emitter Voltage=\",Ve,\"V\"\n",
+ "print \"Base-collector Voltage=\",round(Vbc,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.19 Page No-191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 87,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector voltage= -4.48 V\n",
+ "Base voltage= -8.3 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vee=9 #emitter voltage in volts\n",
+ "B=45\n",
+ "Rc=1.2 #collector resistance in kohm\n",
+ "Rb=100.0 #Base resistance in kohm\n",
+ "\n",
+ "#calculation:\n",
+ "Ib=(Vee-Vbe)/Rb #base current in microA\n",
+ "Ic=B*Ib #collecotr current in mA\n",
+ "Vc=-Ic*Rc #collector voltage in Volts\n",
+ "Vb=-Ib*Rb #base voltage in Volts\n",
+ " \n",
+ "print \"Collector voltage=\",round(Vc,2),\"V\"\n",
+ "print \"Base voltage=\",round(Vb,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.21 Page No-194"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 88,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base resistance= 482.5 kohm\n",
+ "Collector resistance= 2.5 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=20.0 #supply voltage in volts\n",
+ "Ic=8.0 #collector current in mA\n",
+ "Ib=40.0 #base current in microA\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculation:\n",
+ "Rc=Vcc/Ic #Collector resistance in kohm\n",
+ "Rb=(Vcc-Vbe)/(Ib/1000) #base resistance in kohm\n",
+ "\n",
+ "print \"Base resistance=\",round(Rb,2),\"kohm\"\n",
+ "print \"Collector resistance=\",round(Rc,2),\"kohm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.22 Page No-196"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 85,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "2.4\n",
+ "R1= 86.52 Kohm\n",
+ "Rc= 2.18 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=18.0 #supply voltage in volts\n",
+ "R2=18.0 #base Resistance in kohm\n",
+ "Re=1.2 #emitter resistance in kohm\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "Ic=2 #collector current in mA\n",
+ "\n",
+ "#calculation:\n",
+ "Ve=Ic*Re #emitter voltage in Volts\n",
+ "Vb=Vbe+Ve #base voltage in Volts\n",
+ "R1=((R2*Vcc)/(Vb))-R2 #base resistance in kohm\n",
+ "Vc=Vce+Ve #collector voltage in Volts\n",
+ "Rc=(Vcc-Vc)/Ic #collector resistance in kohm\n",
+ "\n",
+ "print \"R1=\",round(R1,2),\"Kohm\"\n",
+ "print \"Rc=\",round(Rc,2),\"kohm\"\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.26 Page No-201"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 90,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Mirrored current I= 10.27 mA\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=12 #supply voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "Rx=1.1 #resistance in kohm\n",
+ "\n",
+ "Ix=(Vcc-Vbe)/Rx\n",
+ "print \"Mirrored current I=\",round(Ix,2),\"mA\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.27 Page No-201"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 92,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Current I= 4.08 mA\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=6 #supply voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "Rx=1.3 #resistance in kohm\n",
+ "\n",
+ "Ix=(Vcc-Vbe)/Rx\n",
+ "print \"Current I=\",round(Ix,2),\"mA\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-4.29 Page No-204"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 94,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Current I= 3.06 mA\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vz=6.2 #diode voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in Volts\n",
+ "Re=1.8 #emitter resistance in kohm\n",
+ "\n",
+ "I=(Vz-Vbe)/Re\n",
+ "print \"Current I=\",round(I,2),\"mA\""
+ ]
}
],
"metadata": {
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter5.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter5.ipynb
new file mode 100644
index 00000000..4504866b
--- /dev/null
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter5.ipynb
@@ -0,0 +1,630 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 5- BJT AC Analysis"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.1 Page No-256"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 45,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "Case-I\n",
+ "re= 10.6 ohm\n",
+ "Input resistance= 1.07 kohm\n",
+ "Output resistance= 3.0 kohm\n",
+ "Voltage gain= -282.96\n",
+ "\n",
+ "Case-II\n",
+ "Output resistance= 2.83 kohm\n",
+ "Voltage gain= -266.95\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=12 #supply voltage in volts\n",
+ "Vbe=0.7 #base emitterv voltage in volts\n",
+ "Rb=470.0 #base resistor in kohm\n",
+ "B=101\n",
+ "Rc=3.0 #collector resistor in kohm\n",
+ "ro=50.0 #resistance in kohm\n",
+ "\n",
+ "#calculation:\n",
+ "print \"\\nCase-I\"\n",
+ "#Case-I \n",
+ "Ib=(Vcc-Vbe)/Rb #base current in microA\n",
+ "Ie=(B+1)*Ib #emitter current in mA\n",
+ "re=26/Ie #resistance in ohm\n",
+ "X=B*re\n",
+ "X=X/1000\n",
+ "Zi=(Rb*X)/(Rb+X) #input resistance in kohm\n",
+ "Zo=Rc #resistance in kohm\n",
+ "Av=-Rc/re #voltage gain\n",
+ "\n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)\n",
+ "\n",
+ "\n",
+ "#Case-II(ro=50kohm)\n",
+ "Zo=(ro*Rc)/(ro+Rc) #output resistance in kohm\n",
+ "Av=-Zo/re #voltage gain\n",
+ "\n",
+ "print \"\\nCase-II\"\n",
+ "print \"Output resistance=\",round(Zo,2),\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.2 Page No-259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 46,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "Case-I\n",
+ "re= 18.48 ohm\n",
+ "Input resistance= 1.35 kohm\n",
+ "Output resistance= 6.8 kohm\n",
+ "Voltage gain= -367.89\n",
+ "\n",
+ "Case-II\n",
+ "Output resistance= 5.99 kohm\n",
+ "Voltage gain= -323.85\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=22 #supply voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in volts\n",
+ "R1=56.0 #resistor in kohm\n",
+ "R2=8.2 #resistor in kohm\n",
+ "B=90.0\n",
+ "Rc=6.8 #collector resistor in kohm\n",
+ "Re=1.5 #emitter resistance in kohm\n",
+ "\n",
+ "#calculations:\n",
+ "#Case-I\n",
+ "\n",
+ "Vb=(R2*Vcc)/(R1+R2) #Base voltage in volts\n",
+ "Ve=Vb-Vbe #Emitter voltage in volts\n",
+ "Ie=Ve/Re #Emitter current in mA\n",
+ "re=26/Ie #in ohm\n",
+ "R=(R1*R2)/(R1+R2) #in ohm\n",
+ "X=B*re\n",
+ "X=X/1000\n",
+ "Zi=(R*X)/(R+X) #input resistance in kohm\n",
+ "Zo=Rc #output resistance in kohm\n",
+ "Av=-Rc/re #voltage gain\n",
+ "print \n",
+ "print \"Case-I\"\n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)\n",
+ "\n",
+ "#Case-II\n",
+ "Zo=(Rc*ro)/(Rc+ro) #output resistance in kohm\n",
+ "Av=-Zo/re #voltage gain\n",
+ "\n",
+ "print \"\\nCase-II\"\n",
+ "print \"Output resistance=\",round(Zo,2),\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Variation in answer is due to different precision value taken at each step of the answer"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.3 Page No-263"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 47,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "re= 5.99 ohm\n",
+ "Input resistance= 59.34 kohm\n",
+ "Output resistance= 2.2 kohm\n",
+ "Voltage gain= -3.89\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=20 #supply voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in volts\n",
+ "Rb=470.0 #Base resistor in kohm\n",
+ "B=120.0\n",
+ "Rc=2.2 #collector resistor in kohm\n",
+ "Re=0.56 #emitter resistance in kohm\n",
+ "ro=40 #in kohm\n",
+ "\n",
+ "#calculations:\n",
+ "\n",
+ "Ib=(Vcc-Vbe)/(Rb+(B+1)*Re) #base current in microA\n",
+ "Ie=(B+1)*Ib #emitter current in mA\n",
+ "re=26/Ie #in ohm\n",
+ "\n",
+ "Zb=B*(re+Re*1000)\n",
+ "Zb=Zb/1000\n",
+ "Zi=(Rb*Zb)/(Rb+Zb) #input resistance in kohm\n",
+ "Zo=Rc #output resistance in kohm\n",
+ "Av=-(B*Rc)/Zb #voltage gain\n",
+ "\n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av,2)\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.4 Page No-265"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 48,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "re= 5.99 ohm\n",
+ "Input resistance= 717.7 kohm\n",
+ "Output resistance= 2.2 kohm\n",
+ "Voltage gain= -367.28\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the calculation of example 5.3:\n",
+ "re=5.99 #resistance in ohm\n",
+ "Rb=470.0 #Base resistor in kohm\n",
+ "B=120.0\n",
+ "Rc=2.2 #collector resistor in kohm\n",
+ "\n",
+ "#Calculation:\n",
+ "Zb=B*re/1000\n",
+ "Zi=(Rb*Zb)/(Rb+Zb) #input resistance in kohm\n",
+ "Zo=Rc #output resistance in kohm\n",
+ "Av=-Rc/re #voltage gain\n",
+ "\n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi*1000,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.5 Page No-266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 50,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "re= 19.64 ohm\n",
+ "Input resistance= 8.47 kohm\n",
+ "Output resistance= 2.2 kohm\n",
+ "Voltage gain= -3.24\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=16 #supply voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in volts\n",
+ "R1=90.0 #resistor in kohm\n",
+ "R2=10.0 #resistor in kohm\n",
+ "B=210.0\n",
+ "Rc=2.2 #collector resistor in kohm\n",
+ "Re=0.68 #emitter resistance in kohm\n",
+ "ro=50 #resistance in kohm\n",
+ "\n",
+ "#Calculations:\n",
+ "\n",
+ "Vb=(R2*Vcc)/(R1+R2) #Base voltage in volts\n",
+ "Ve=Vb-Vbe #Emitter voltage in volts\n",
+ "Ie=Ve/Re #Emitter current in mA\n",
+ "re=26/Ie #in ohm\n",
+ "Rb=(R1*R2)/(R1+R2) #in ohm\n",
+ "X=B*Re\n",
+ "#X=X/1000\n",
+ "Zi=(Rb*X)/(Rb+X) #input resistance in kohm\n",
+ "Zo=Rc #output resistance in kohm\n",
+ "Av=-Rc/Re #voltage gain\n",
+ " \n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.6 Page No-266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 58,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "re= 19.64 ohm\n",
+ "Input resistance= 2.83 kohm\n",
+ "Output resistance= 2.2 kohm\n",
+ "Voltage gain= -112.02\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the answers obtained in example-5.5\n",
+ "re=19.64\n",
+ "B=210\n",
+ "X=B*re\n",
+ "X=X/1000\n",
+ "Zi=(Rb*X)/(Rb+X) #input resistance in kohm\n",
+ "Zo=Rc #output resistance in kohm\n",
+ "Av=-Rc/re #voltage gain\n",
+ "\n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.8 Page No-272"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 60,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "re= 20.0 ohm\n",
+ "Input resistance= 19.61 kohm\n",
+ "Output resistance= 5 kohm\n",
+ "Voltage gain= 250.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "alpha=0.98 #constant \n",
+ "ro=1 #resistance in Mohm\n",
+ "Rc=5 #collector resistance in kohm\n",
+ "Re=1 #emitter resistance in kohm\n",
+ "Vee=2 #emitter voltage in volts\n",
+ "Vcc=8 #collector voltage in volts\n",
+ "Vbe=0.7 #base emitter voltage in volts\n",
+ "\n",
+ "#calculations:\n",
+ "\n",
+ "Ie=(Vee-Vbe)/Re #emitter current in mA\n",
+ "re=26/Ie #in ohm\n",
+ "Re=Re*1000 #emitter resistance in ohm\n",
+ "Zi=(Re*re)/(Re+re) #input resistance in ohm\n",
+ "Zo=Rc #output resistance in kohm\n",
+ "Av=Rc/re #voltage gain\n",
+ "\n",
+ "\n",
+ "print \"re=\",round(re,2),\"ohm\"\n",
+ "print \"Input resistance=\",round(Zi,2),\"kohm\"\n",
+ "print \"Output resistance=\",Zo,\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av*1000,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.11 Page No-284"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Avl= -170.98\n",
+ "Avs= -133.54\n",
+ "Zi= 1.07 kohm\n",
+ "Zo= 3 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given question:\n",
+ "Rc=3 #collector resistance in kohm\n",
+ "Rl=4.7 #emitter resistance in kohm\n",
+ "re=10.71 #resistance in ohm\n",
+ "Zi=1.07 #input impedance in kohm\n",
+ "Rs=0.3 #source resistance in kohm\n",
+ "\n",
+ "#calculation:\n",
+ "X=(Rc*Rl)/(Rc+Rl) #temporary variable\n",
+ "Avl=(-X/re)*1000 #voltage gain with load\n",
+ "Avs=(Zi*Avl)/(Zi+Rs) #voltage gain with source impedance\n",
+ "Zo=Rc\n",
+ "\n",
+ "print \"Avl=\",round(Avl,2)\n",
+ "print \"Avs=\",round(Avs,2)\n",
+ "print \"Zi=\",Zi,\"kohm\"\n",
+ "print \"Zo=\",Zo,\"kohm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.12 Page No-293"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "a.)\n",
+ "Avl= -170.91\n",
+ "\n",
+ "b.)\n",
+ "Avs= -133.48\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given question:\n",
+ "Avnl=-280 #no load voltage gain\n",
+ "Rl=4.7 #emitter resistance in kohm\n",
+ "Zi=1.07 #input impedance in kohm\n",
+ "Rs=0.3 #source resistance in kohm\n",
+ "Zo=3 #output impedance in kohm\n",
+ "\n",
+ "#calculation:\n",
+ "\n",
+ "print \"a.)\"\n",
+ "Avl=(Avnl*Rl)/(Zo+Rl) #voltage gain with load\n",
+ "print \"Avl=\",round(Avl,2)\n",
+ "\n",
+ "\n",
+ "print \"\\nb.)\"\n",
+ "X=(Avnl*Rl)/(Zo+Rl) #temporary variable\n",
+ "Avs=(Zi*X)/(Zi+Rs) #gain with source impedance\n",
+ "print \"Avs=\",round(Avs,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.17 Page No-300"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base current= 2.6 microA\n",
+ "Emitter current= 20.83 mA\n",
+ "Emitter voltage= 8.12 V\n",
+ "Base voltage= 9.72 V\n",
+ "Collector voltage= 18 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=18 #supply voltage in volts\n",
+ "Rb=3.3 #base resistance in Mohm\n",
+ "B=8000\n",
+ "Vbe=1.6 #base emitter volateg in volts\n",
+ "Re=390 #emitter resistance in ohm\n",
+ "\n",
+ "\n",
+ "#calculatons:\n",
+ "X=B*Re #temporary volateg\n",
+ "X=X/1000000\n",
+ "Ib=(Vcc-Vbe)/(Rb+X) #base current in microA\n",
+ "Ie=(B+1)*Ib #emitter current in mA\n",
+ "Ve=Ie*Re #emitter voltage in volts\n",
+ "Ve=Ve/1000\n",
+ "Vb=Ve/1000+Vbe #base voltage in volts\n",
+ "Vc=Vcc #collector voltage in volts\n",
+ "\n",
+ "print \"Base current=\",round(Ib,2),\"microA\"\n",
+ "print \"Emitter current=\",round(Ie/1000,2),\"mA\"\n",
+ "print \"Emitter voltage=\",round(Ve/1000,2),\"V\"\n",
+ "print \"Base voltage=\",round(Vb,2),\"V\"\n",
+ "print \"Collector voltage=\",Vc,\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "### Variation in answer is due to difference in precision of values taken at each step of the answer"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-5.18 Page No-308"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 54,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base current in Q1= 4.45 microA\n",
+ "Base current in Q2= 0.62 mA\n",
+ "Collector current in Q2= 112.07 mA\n",
+ "Current through in Resistance Rc= 112.69 mA\n",
+ "Emitter voltage in Q1= 9.55 V\n",
+ "Base voltage in Q1= 8.85 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vcc=18 #supply voltage in volts\n",
+ "Rb=2.0 #base resistance in Mohm\n",
+ "B1=140\n",
+ "B2=180\n",
+ "Rc=75.0 #emitter resistance in ohm\n",
+ "Vbe1=0.7 #base emitter voltage in Volts\n",
+ "\n",
+ "#calculations:\n",
+ "X=B1*B2*Rc #temporary variable\n",
+ "X=X/1000000\n",
+ "Ib1=(Vcc-Vbe1)/(Rb+X) #base current in Q1 in microA\n",
+ "Ib2=B1*Ib1 #base current in Q2 in mA\n",
+ "Ie1=Ic1=Ib2\n",
+ "Ic2=B2*Ib2 #collector current in Q2 in mA\n",
+ "Ic=Ie1+Ic2 #current through in Resistance Rc in mA\n",
+ "G=(round((Ic/1000),2)*Rc)/1000 #temporary variable\n",
+ "Ve1=Vcc-G #emitter voltage in volts in Q1\n",
+ "Vb1=Ve1-Vbe1 #base voltage in Q1 in volts\n",
+ "\n",
+ "print \"Base current in Q1=\",round(Ib1,2),\"microA\"\n",
+ "print \"Base current in Q2=\",round(Ib2/1000,2),\"mA\"\n",
+ "print \"Collector current in Q2=\",round(Ic2/1000,2),\"mA\"\n",
+ "print \"Current through in Resistance Rc=\",round(Ic/1000,2),\"mA\"\n",
+ "print \"Emitter voltage in Q1=\",round(Ve1,2),\"V\"\n",
+ "print \"Base voltage in Q1=\",round(Vb1,2),\"V\""
+ ]
+ }
+ ],
+ "metadata": {
+ "anaconda-cloud": {},
+ "kernelspec": {
+ "display_name": "Python [Root]",
+ "language": "python",
+ "name": "Python [Root]"
+ },
+ "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.12"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter7.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter7.ipynb
new file mode 100644
index 00000000..945032bf
--- /dev/null
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter7.ipynb
@@ -0,0 +1,557 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter- 7 FET Biasing"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.1 Page Number-416"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Vgs= -2.0 V\n",
+ "Id= 5.625 mA\n",
+ "Vds= 4.75 V\n",
+ "Vd= 4.75 V\n",
+ "Vg= -2.0 V\n",
+ "Vs= 0 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=16.0 #supply voltage in volts\n",
+ "Idss=10.0 #drain source saturation current in mA\n",
+ "Vp=-8.0 #pinch off voltage in volts\n",
+ "Rd=2.0 #drain resistance in kohm\n",
+ "Vgg=-2.0 #gate voltage in volts\n",
+ "\n",
+ "#calculation:\n",
+ "Vgs=Vgg #gate source voltage in volts\n",
+ "X=(1-Vgs/Vp)**2 #temporary variable\n",
+ "Id=Idss*X #drain current in mA\n",
+ "Vds=Vdd-Id*Rd #drain source voltage in volts\n",
+ "Vd=Vds #drain voltage in volts\n",
+ "Vg=Vgs #gate voltage in volts\n",
+ "Vs=0 #source voltage in volts\n",
+ "\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vds=\",Vds,\"V\"\n",
+ "print \"Vd=\",Vd,\"V\"\n",
+ "print \"Vg=\",Vg,\"V\"\n",
+ "print \"Vs=\",Vs,\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.2 Page Number-419"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 2.6 mA\n",
+ "Vds= 8.82 V\n",
+ "Vs= 2.6 V\n",
+ "Vg= 0 V\n",
+ "Vd= 11.42 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=20.0 #supply voltage in volts\n",
+ "Idss=8.0 #drain source saturation current in mA\n",
+ "Vp=-6.0 #pinch off voltage in volts\n",
+ "Rd=3.3 #drain resistance in kohm\n",
+ "Rg=1.0 #gate resistance in Mohm\n",
+ "Rs=1 #source resistance in kohm\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation:\n",
+ "Id=2.6 #drain current in mA\n",
+ "Vds=Vdd-Id*(Rd+Rs) #drain source voltage in volts\n",
+ "Vs=Id*Rs #source voltage in volts\n",
+ "Vg=0 #gate voltage in volts\n",
+ "Vd=Vds+Vs #drain voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vds=\",Vds,\"V\"\n",
+ "print \"Vs=\",Vs,\"V\"\n",
+ "print \"Vg=\",Vg,\"V\"\n",
+ "print \"Vd=\",Vd,\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.5 Page Number-424"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 2.4 mA\n",
+ "Vgs= -1.8 V\n",
+ "Vd= 10.24 V\n",
+ "Vs= 3.6 V\n",
+ "Vds= 6.64 V\n",
+ "Vdg= 8.42 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=16.0 #supply voltage in volts\n",
+ "Idss=8.0 #drain source saturation current in mA\n",
+ "Vp=-4.0 #pinch off voltage in volts\n",
+ "Rd=2.4 #drain resistance in kohm\n",
+ "R1=2.1 #resistance in Mohm\n",
+ "R2=270.0 #resistance in kohm\n",
+ "Rs=1.5 #source resistance in kohm\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation:\n",
+ "Vg=1.82 #gate voltage in volts \n",
+ "Id=2.4 #drain current in mA\n",
+ "Vgs=-1.8 #gate source voltage in volts\n",
+ "Vd=Vdd-Id*Rd #drain voltage in volts\n",
+ "Vs=Id*Rs #source voltage in volts\n",
+ "Vds=Vdd-Id*(Rd+Rs) #drain source voltage in volts\n",
+ "Vdg=Vd-Vg #drain gate voltage in volts \n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Vd=\",Vd,\"V\"\n",
+ "print \"Vs=\",Vs,\"V\"\n",
+ "print \"Vds=\",Vds,\"V\"\n",
+ "print \"Vdg=\",Vdg,\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.6 Page Number-427"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 3.8 mA\n",
+ "Vgs= -2.6 V\n",
+ "Vd= 6.3 V\n",
+ "Vg= 0 V\n",
+ "Vs= 2.58 V\n",
+ "Vds= 3.72 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=12.0 #supply voltage in volts\n",
+ "Idss=12.0 #drain source saturation current in mA\n",
+ "Vp=-6.0 #pinch off voltage in volts\n",
+ "Rd=1.5 #drain resistance in kohm\n",
+ "Rs=680 #source resistance in ohm\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation:\n",
+ "Vg=0 #gate voltage in volts \n",
+ "Id=3.8 #drain current in mA\n",
+ "Vgs=-2.6 #gate source voltage in volts\n",
+ "Vd=Vdd-Id*Rd #drain voltage in volts\n",
+ "Vs=Id*Rs #source voltage in volts\n",
+ "Vds=Vd-Vs/1000 #drain source voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Vd=\",Vd,\"V\"\n",
+ "print \"Vg=\",Vg,\"V\"\n",
+ "print \"Vs=\",round(Vs/1000,2),\"V\"\n",
+ "print \"Vds=\",round(Vds,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.7 Page Number-430"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 3.1 mA\n",
+ "Vgs= -0.8 V\n",
+ "Vds= 10.1 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=18.0 #supply voltage in volts\n",
+ "Idss=6.0 #drain source saturation current in mA\n",
+ "Vp=-3.0 #pinch off voltage in volts\n",
+ "Rd=1.8 #drain resistance in kohm\n",
+ "R1=110 #resistance in Mohm\n",
+ "R2=10.0 #resistance in Mohm\n",
+ "Rs=750.0 #source resistance in ohm\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation:\n",
+ "Vg=1.5 #gate voltage in volts \n",
+ "Id=3.1 #drain current in mA\n",
+ "Vgs=-0.8 #gate source voltage in volts\n",
+ "Vds=Vdd-Id*(Rd+Rs/1000) #drain source voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Vds=\",round(Vds,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.8 Page Number-431"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 7.6 mA\n",
+ "Vgs= 0.35 V\n",
+ "Vds= 3.18 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=18.0 #supply voltage in volts\n",
+ "Idss=6.0 #drain source saturation current in mA\n",
+ "Vp=-3.0 #pinch off voltage in volts\n",
+ "Rd=1.8 #drain resistance in kohm\n",
+ "R1=110 #resistance in Mohm\n",
+ "R2=10.0 #resistance in Mohm\n",
+ "Rs=150.0 #source resistance in ohm\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation: \n",
+ "Id=7.6 #drain current in mA\n",
+ "Vgs=0.35 #gate source voltage in volts\n",
+ "Vds=Vdd-Id*(Rd+Rs/1000) #drain source voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Vds=\",round(Vds,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.9 Page Number-432"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 22,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 1.7 mA\n",
+ "Vgs= -4.3 V\n",
+ "Vds= 9.46 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=20.0 #supply voltage in volts\n",
+ "Idss=8.0 #drain source saturation current in mA\n",
+ "Vp=-8.0 #pinch off voltage in volts\n",
+ "Rd=6.2 #drain resistance in kohm\n",
+ "Rs=2.4 #source resistance in kohm\n",
+ "Rg=1 #gate resistance in Mohm\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation: \n",
+ "Id=1.7 #drain current in mA\n",
+ "Vgs=-4.3 #gate source voltage in volts\n",
+ "Vds=Vdd-Id*(Rd+Rs/1000) #drain source voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Vds=\",round(Vds,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.10 Page Number-433"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 10 mA\n",
+ "Vgs= 0 V\n",
+ "Vd= 5.0 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=20.0 #supply voltage in volts\n",
+ "Idss=10.0 #drain source saturation current in mA\n",
+ "Vp=-4.0 #pinch off voltage in volts\n",
+ "Rd=1.5 #drain resistance in kohm\n",
+ "Vgs=0 #gate source voltage in volts\n",
+ "\n",
+ "#calculation: \n",
+ "#since Vgs=0V, Id=Idss=10mA \n",
+ "Id=10 #drain current in mA\n",
+ "Vd=Vdd-Id*Rd #drain voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Vd=\",round(Vd,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.14 Page Number-442"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 1.0 mA\n",
+ "Vgs= -2.6 V\n",
+ "Ie= 1.0 mA\n",
+ "Ib= 12.5 microA\n",
+ "Vb= 10.125 V\n",
+ "Ve= 9.43 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=16.0 #supply voltage in volts\n",
+ "Idss=8.0 #drain source saturation current in mA\n",
+ "Vp=-4.0 #pinch off voltage in volts\n",
+ "Rc=3.6 #collector resistance in kohm\n",
+ "Rb=470 #base resistance in kohm\n",
+ "Rs=2.4 #source resistance in kohm\n",
+ "B=80\n",
+ "Vbe=0.7 #base emitter voltage in volts\n",
+ "\n",
+ "#drawing the load line and characterstics curve:\n",
+ "#calculation: \n",
+ "Id=1.0 #drain current in mA\n",
+ "Vgs=-2.6 #gate source voltage in volts\n",
+ "Ie=Ic=Id #emitter current and collector current in mA\n",
+ "Ib=Ic/B #base current in mA\n",
+ "Vb=Vdd-Ib*Rb #base voltage in volts\n",
+ "Ve=Vd=Vb-Vbe #base voltage in volts\n",
+ "\n",
+ "print \"Id=\",Id,\"mA\"\n",
+ "print \"Vgs=\",Vgs,\"V\"\n",
+ "print \"Ie=\",Ie,\"mA\"\n",
+ "print \"Ib=\",round(Ib*1000,2),\"microA\"\n",
+ "print \"Vb=\",round(Vb,3),\"V\"\n",
+ "print \"Ve=\",round(Ve,2),\"V\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.16 Page Number-444"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Id= 2.22 mA\n",
+ "Vg= 5.45 V\n",
+ "Rs= 3.35 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vdd=16.0 #supply voltage in volts\n",
+ "Rd=1.8 #drain resistance in kohm\n",
+ "R1=91.0 #resistance in kohm\n",
+ "R2=47.0 #resistance in kohm\n",
+ "Vd=12 #drain voltage in volts\n",
+ "Vgs=-2 #gate source voltage in volts\n",
+ "\n",
+ "#calculation: \n",
+ "Id=(Vdd-Vd)/Rd #drain current in mA\n",
+ "Vg=(R2*Vdd)/(R2+R1) #gate voltage in volts\n",
+ "Rs=(Vg-Vgs)/Id #source resistance in kohm\n",
+ "\n",
+ "print \"Id=\",round(Id,2),\"mA\"\n",
+ "print \"Vg=\",round(Vg,2),\"V\"\n",
+ "print \"Rs=\",round(Rs,2),\"kohm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-7.17 Page Number-444"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 34,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Vdd= 12.0 V\n",
+ "Rd= 1.5 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Idon=4.0 #drain current in mA\n",
+ "Vgson=6.0 #gate source voltage in volts\n",
+ "Vgsth=3.0 #gate source threshold voltage in volts\n",
+ "\n",
+ "#calculation:\n",
+ "Id=Idon #drain current in mA\n",
+ "Vgs=Vgson #gate voltage in volts\n",
+ "Vdd=Vgs*2 #drain voltage in volts\n",
+ "Vds=Vdd/2 #drain source voltage in volts\n",
+ "Rd=(Vdd-Vds)/Idon #drain resistance in ohm\n",
+ "\n",
+ "print \"Vdd=\",round(Vdd,2),\"V\"\n",
+ "print \"Rd=\",round(Rd,2),\"kohm\""
+ ]
+ }
+ ],
+ "metadata": {
+ "anaconda-cloud": {},
+ "kernelspec": {
+ "display_name": "Python [Root]",
+ "language": "python",
+ "name": "Python [Root]"
+ },
+ "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.12"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter8.ipynb b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter8.ipynb
new file mode 100644
index 00000000..fd2c2e91
--- /dev/null
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/Chapter8.ipynb
@@ -0,0 +1,621 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter-8 FET Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.2 Page Number-475"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "a.)\n",
+ "gm= 3.5 mS\n",
+ "\n",
+ "b.)\n",
+ "gm= 2.5 mS\n",
+ "\n",
+ "c.)\n",
+ "gm= 1.5 mS\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#Studying the transfer characterstics given:\n",
+ "Idss=8 #drain source saturation current in mA\n",
+ "Vp=-4 #pinch voltage in volts\n",
+ "\n",
+ "#calculation:\n",
+ "\n",
+ "gmo=2*Idss/abs(Vp)\n",
+ "\n",
+ "print \"a.)\"\n",
+ "Vgs=-0.5 #gate source voltage in volts\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "print \"gm=\",gm,\"mS\"\n",
+ "\n",
+ "print \"\\nb.)\"\n",
+ "Vgs=-1.5 #gate source voltage in volts\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "print \"gm=\",gm,\"mS\"\n",
+ "\n",
+ "print \"\\nc.)\"\n",
+ "Vgs=-2.5 #gate source voltage in volts\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "print \"gm=\",gm,\"mS\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.3 Page Number-476"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The plot is :\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGf5JREFUeJzt3X/wHXV97/Hni35RqWjUIikGiRWhVHptCDUXQmdy5GL9\nhlpCHTpg20ul2nw7ov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OOuBlJI3n3PSZzg9IWirpM+n67ZKObflstaT3t6xPPyda0q+l\nh8Y+T3J77LIfFGVDzjcftIEm6SaS54TfGhGXSDqP5FDUKpKnI06R/EN8J/CLkTzDYAHwWES8VtIY\nsCgiPtGyzVGSZ2S/IiKOb/u+bwFnxaG3k55LzacA1wAvANcBN0fE/l63Z5aXqj1AySxvNwIbgfPT\n9VtITmQ/RHIb9ftJDke9guR8wYE08V/T/94B/GPbNu8m+a3/061vSjoa2D+fZpHaD7wnIh6d53bM\ncuWEYUNH0ssj4rn0RPd2kkdqdv1HXtItwEci4n/Nst3/AjwTEZ/Nt2KzanDCsGF0u6RXAYcDl2ZI\nBB8jOfk9Y8MAfsShacRsYDhhmJlZJp4lZWZmmbhhmJlZJm4YZmaWiRuGmZll4oZhZmaZuGGYmVkm\n/x+8KJSPXCY+bAAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x3d3e2b0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import matplotlib.pyplot as plt\n",
+ "%matplotlib inline\n",
+ "\n",
+ "print \"The plot is :\"\n",
+ "\n",
+ "y=[0,2,4]\n",
+ "x=[-4,-2,0]\n",
+ "plt.plot(x,y,'r')\n",
+ "plt.xlabel('Vgs(V)---->')\n",
+ "plt.ylabel('gm(S)---->')\n",
+ "plt.xlim(0,-4)\n",
+ "plt.ylim(0,4)\n",
+ "plt.show()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.7 Page Number-482"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gm= 1.875 mS\n",
+ "rd= 25.0 kohm\n",
+ "Zi= 1.0 Mohm\n",
+ "Zo= 1.85 kohm\n",
+ "Voltage gain= -3.47\n",
+ "Voltage gain without rd= -3.75\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#from the given figure:\n",
+ "Idss=10.0 #drain source saturation current in mA\n",
+ "Vp=-8.0 #pinch voltage in volts\n",
+ "Vdd=20.0 #supply voltage in volts\n",
+ "Rd=2.0 #drain resistance in kohm\n",
+ "Rg=1.0 #gate resistance in Mohm\n",
+ "Vgs=-2.0 #gate source voltage in volts \n",
+ "Id=5.625 #drain current in mA\n",
+ "yos=40.0 #in microS\n",
+ "\n",
+ "#calculations:\n",
+ "gmo=2*Idss/abs(Vp) #in mS\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "rd=1/yos #in kohm\n",
+ "Zi=Rg #input impedance in Mohm\n",
+ "rd=rd*1000\n",
+ "Zo=(Rd*rd)/(Rd+rd) #output impedence in kohm\n",
+ "Av=-gm*Zo #Voltage gain\n",
+ "Avw=-gm*Rd #gain ignoring rd\n",
+ "\n",
+ "print \"gm=\",gm,\"mS\"\n",
+ "print \"rd=\",rd,\"kohm\"\n",
+ "print \"Zi=\",round(Zi,2),\"Mohm\"\n",
+ "print \"Zo=\",round(Zo,2),\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av,2)\n",
+ "print \"Voltage gain without rd=\",Avw"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "## Example-8.8 Page Number-487"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gm= 1.51 mS\n",
+ "rd= 50.0 kohm\n",
+ "Zi= 1.0 Mohm\n",
+ "Zo= 3.3 kohm\n",
+ "Voltage gain= -1.9\n",
+ "Voltage gain without rd= -1.99\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#from the given figure:\n",
+ "Idss=8.0 #drain source saturation current in mA\n",
+ "Vp=-6.0 #pinch voltage in volts\n",
+ "Vdd=20.0 #supply voltage in volts\n",
+ "Rd=3.3 #drain resistance in kohm\n",
+ "Rg=1.0 #gate resistance in Mohm\n",
+ "Rs=1 #source reisitance in kohm\n",
+ "Vgs=-2.6 #gate source voltage in volts \n",
+ "Id=2.6 #drain current in mA\n",
+ "yos=20.0 #in microS\n",
+ "\n",
+ "#calculations:\n",
+ "gmo=2*Idss/abs(Vp) #in mS\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "rd=1/yos #in kohm\n",
+ "Zi=Rg #input impedance in Mohm\n",
+ "rd=rd*1000\n",
+ "#rd>10Rd\n",
+ "Zo=Rd #output impedence in kohm\n",
+ "X=-gm*Rd #temporary variable \n",
+ "Y=1+gm*Rs #temporary variable\n",
+ "Av=X/Y+((Rd+Rs)/rd) #Voltage gain\n",
+ "Avw=-gm*Rd/Y #gain ignoring rd\n",
+ "\n",
+ "print \"gm=\",round(gm,2),\"mS\"\n",
+ "print \"rd=\",rd,\"kohm\"\n",
+ "print \"Zi=\",round(Zi,2),\"Mohm\"\n",
+ "print \"Zo=\",round(Zo,2),\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av,3)\n",
+ "print \"Voltage gain without rd=\",round(Avw,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.9 Page Number-492"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gm= 2.25 mS\n",
+ "rd= 20.0 kohm\n",
+ "Zi (with rd) = 0.35 kohm\n",
+ "Zi (without rd) = 0.32 kohm\n",
+ "Zo (with rd) = 3.05 kohm\n",
+ "Zo (without rd) = 3.6 kohm\n",
+ "Voltage gain (with rd) = 7.02\n",
+ "Output voltage (with rd) = 280.68 mV\n",
+ "Voltage gain (without rd) = 8.1\n",
+ "Output voltage (without rd) = 324.0 mV\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#from the given figure:\n",
+ "Idss=10.0 #drain source saturation current in mA\n",
+ "Vp=-4.0 #pinch voltage in volts\n",
+ "Vdd=12.0 #supply voltage in volts\n",
+ "Rd=3.6 #drain resistance in kohm\n",
+ "Rs=1.1 #source reisitance in kohm\n",
+ "Vgs=-2.2 #gate source voltage in volts \n",
+ "Id=2.03 #drain current in mA\n",
+ "yos=50.0 #in microS\n",
+ "Vi=40 #inputvoltage in mV\n",
+ "\n",
+ "#calculations:\n",
+ "gmo=2*Idss/abs(Vp) #in mS\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "rd=1/yos #in kohm\n",
+ "rd=rd*1000\n",
+ "\n",
+ "#CASE-I (with rd)\n",
+ "Y=(rd+Rd)/(1+gm*rd) #temporary variable\n",
+ "Zi=(Rs*Y)/(Rs+Y) #input impedance in kohm\n",
+ "Zo=(Rd*rd)/(Rd+rd) #output impedence in kohm\n",
+ "X= gm*Rd #temporary variable \n",
+ "Av=(X+(Rd/rd))/(1+(Rd/rd)) #Voltage gain\n",
+ "Vo=Av*Vi #output voltage in mV\n",
+ "\n",
+ "#CASE-II (without rd)\n",
+ "p=1/gm #temporary variable\n",
+ "Zir=(Rs*p)/(Rs+p) #input impedance in kohm\n",
+ "Zor=Rd #output impedence in kohm\n",
+ "Avr=gm*Rd #Voltage gain\n",
+ "Vor=Avr*Vi #output voltage in mV\n",
+ "\n",
+ "print \"gm=\",round(gm,2),\"mS\"\n",
+ "print \"rd=\",rd,\"kohm\"\n",
+ "print \"Zi (with rd) =\",round(Zi,2),\"kohm\"\n",
+ "print \"Zi (without rd) =\",round(Zir,2),\"kohm\"\n",
+ "print \"Zo (with rd) =\",round(Zo,2),\"kohm\"\n",
+ "print \"Zo (without rd) =\",round(Zor,2),\"kohm\"\n",
+ "print \"Voltage gain (with rd) =\",round(Av,2)\n",
+ "print \"Output voltage (with rd) =\",round(Vo,2),\"mV\"\n",
+ "print \"Voltage gain (without rd) =\",round(Avr,2)\n",
+ "print \"Output voltage (without rd) =\",round(Vor,2),\"mV\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.10 Page Number-496"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gm= 2.28 mS\n",
+ "rd= 40.0 kohm\n",
+ "Zi = 1.0 Mohm\n",
+ "Zo (with rd) = 362.38 kohm\n",
+ "Zo (without rd) = 365.69 kohm\n",
+ "Voltage gain (with rd) = 0.83\n",
+ "Voltage gain (without rd) = 0.83\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#from the given figure:\n",
+ "Idss=16.0 #drain source saturation current in mA\n",
+ "Vp=-4.0 #pinch voltage in volts\n",
+ "Vdd=9.0 #supply voltage in volts\n",
+ "Rs=2.2 #source reisitance in kohm\n",
+ "Vgs=-2.86 #gate source voltage in volts \n",
+ "Id=4.56 #drain current in mA\n",
+ "yos=25.0 #in microS\n",
+ "\n",
+ "#calculations:\n",
+ "gmo=2*Idss/abs(Vp) #in mS\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "rd=1/yos #in kohm\n",
+ "rd=rd*1000\n",
+ "Zi=Rg #input impedance in Mohm\n",
+ "\n",
+ "#CASE-I (with rd)\n",
+ "X= (rd*Rs)/(rd+Rs) #temporary variable \n",
+ "y=1/gm #temporary variable\n",
+ "Zo=(X*y)/(X+y) #output impedence in kohm\n",
+ "Av=(gm*X)/(1+gm*X) #Voltage gain\n",
+ "\n",
+ "#CASE-II (without rd)\n",
+ "p=1/gm #temporary variable\n",
+ "Zor=(Rs*p)/(Rs+p) #output impedence in kohm\n",
+ "Avr=(gm*Rs)/(1+gm*Rs) #Voltage gain\n",
+ "\n",
+ "print \"gm=\",round(gm,2),\"mS\"\n",
+ "print \"rd=\",rd,\"kohm\"\n",
+ "print \"Zi =\",round(Zi,2),\"Mohm\"\n",
+ "print \"Zo (with rd) =\",round(Zo*1000,2),\"kohm\"\n",
+ "print \"Zo (without rd) =\",round(Zor*1000,2),\"kohm\"\n",
+ "print \"Voltage gain (with rd) =\",round(Av,2)\n",
+ "print \"Voltage gain (without rd) =\",round(Avr,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.11 Page Number-497"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gm= 4.47 mS\n",
+ "rd= 100.0 kohm\n",
+ "Zi = 9.17 Mohm\n",
+ "Zo= 1.77 kohm\n",
+ "Voltage gain= -8.04\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#from the given figure:\n",
+ "Idss=6.0 #drain source saturation current in mA\n",
+ "Vp=-3.0 #pinch voltage in volts\n",
+ "Vdd=18.0 #supply voltage in volts\n",
+ "Rs=150 #source reisitance in ohm\n",
+ "Vgs=0.35 #gate source voltage in volts \n",
+ "Id=7.6 #drain current in mA\n",
+ "yos=10.0 #in microS\n",
+ "Rd=1.8 #drain resistance in kohm\n",
+ "R1=110.0 #resistance in Mohm\n",
+ "R2=10.0 #resistance in Mohm\n",
+ "\n",
+ "#calculations:\n",
+ "gmo=2*Idss/abs(Vp) #in mS\n",
+ "gm=gmo*(1-(Vgs/Vp)) #in mS\n",
+ "rd=1/yos #in kohm\n",
+ "rd=rd*1000\n",
+ "Zi=(R1*R2)/(R1+R2) #input impedance in Mohm\n",
+ "Zo= (rd*Rd)/(rd+Rd) #output impedence in kohm\n",
+ "Av=-gm*Rd #Voltage gain\n",
+ "\n",
+ "print \"gm=\",round(gm,2),\"mS\"\n",
+ "print \"rd=\",rd,\"kohm\"\n",
+ "print \"Zi =\",round(Zi,2),\"Mohm\"\n",
+ "print \"Zo=\",round(Zo,2),\"kohm\"\n",
+ "print \"Voltage gain=\",round(Av,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.12 Page Number-501"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gm= 1.63 mS\n",
+ "rd= 50.0 kohm\n",
+ "Zi (with rd) = 2.42 Mohm\n",
+ "Zi (without rd) = 2.35 Mohm\n",
+ "Zo (with rd) = 1.92 kohm\n",
+ "Zo (without rd) = 2.0 kohm\n",
+ "Voltage gain (with rd) = -3.14\n",
+ "Voltage gain (without rd) = -3.26\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "k=0.24*10**-3 #constant in A/V2\n",
+ "Vgsq=6.4 #gate source voltage in volts at Q-point\n",
+ "Idq=2.75 #drain current in mA at Q-point\n",
+ "Idon=6.0 #drain current in mA\n",
+ "Vgson=8.0 #gate source voltage in volts\n",
+ "Vgsth=3.0 #gate source threshold voltage in voltage\n",
+ "yos=20.0 #in microS\n",
+ "Rd=2.0 #drain resistance in kohm\n",
+ "Rf=10.0 #gate resistance in Mohm\n",
+ "\n",
+ "#Calculation:\n",
+ "gm=2*k*(Vgsq-Vgsth) #in mS\n",
+ "rd=1/yos #in kohm\n",
+ "rd=rd*1000\n",
+ "\n",
+ "#CASE-I (with rd)\n",
+ "Y=(rd*Rd)/(Rd+rd) #temporary variable\n",
+ "Y=Y/1000\n",
+ "W=gm*Y*10**6 #converting values to ohm\n",
+ "Zi=(Rf+Y)/(1+W) #input impedance in Mohm\n",
+ "Zo=(Rf*Y)/(Rf+Y) #output impedence in kohm\n",
+ "Av=-gm*1000*Zo #Voltage gain\n",
+ "\n",
+ "#CASE-II (without rd)\n",
+ "Zir=Rf/(1+gm*Rd*1000) #input impedance in Mohm\n",
+ "Zor=Rd #output impedence in kohm\n",
+ "Avr=-gm*Rd #Voltage gain\n",
+ "\n",
+ "print \"gm=\",round(gm*1000,2),\"mS\"\n",
+ "print \"rd=\",rd,\"kohm\"\n",
+ "print \"Zi (with rd) =\",round(Zi,2),\"Mohm\"\n",
+ "print \"Zi (without rd) =\",round(Zir,2),\"Mohm\"\n",
+ "print \"Zo (with rd) =\",round(Zo*1000,2),\"kohm\"\n",
+ "print \"Zo (without rd) =\",round(Zor,2),\"kohm\"\n",
+ "print \"Voltage gain (with rd) =\",round(Av*1000,2)\n",
+ "print \"Voltage gain (without rd) =\",round(Avr*1000,2)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Variation in results obtained may be due to different precision of answers taken at each step"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.13 Page Number-503"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Rd= 2.08 kohm\n",
+ "Vds= 9.17 V\n",
+ "Zi = 10.0 Mohm\n",
+ "Zo = 2.0 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import *\n",
+ "#from the given figure:\n",
+ "Idss=10.0 #drain source saturation current in mA\n",
+ "Vp=-4.0 #pinch voltage in volts\n",
+ "Vdd=30.0 #supply voltage in volts\n",
+ "Rg=10.0 #source reisitance in Mohm\n",
+ "yos=20.0 #in microS\n",
+ "Av=-10 #voltage gain\n",
+ "\n",
+ "#calculations:\n",
+ "#At Vgs=0V, gm=gmo\n",
+ "gmo=2*Idss/abs(Vp) #in mS\n",
+ "Y=-Av/gmo #temprary variable\n",
+ "rd=1/yos #in kohm\n",
+ "Rd=(50*Y)/(50-Y) #drain resistance in kohm\n",
+ "Vds=Vdd-Idss*Rd #drain source voltage in volts\n",
+ "Zi=Rg #input impedance in Mohm\n",
+ "rd=round(rd*1000,2) #converting rd to kohm\n",
+ "Zo=(Rd*rd)/(Rd+rd) #output impedence in kohm\n",
+ "\n",
+ "print \"Rd=\",round(Rd,2),\"kohm\"\n",
+ "print \"Vds=\",round(Vds,2),\"V\"\n",
+ "print \"Zi =\",round(Zi,2),\"Mohm\"\n",
+ "print \"Zo =\",round(Zo,2),\"kohm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example-8.15 Page Number-505"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 35,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Rs= 180.0 ohm\n",
+ "Rd= 3.6 kohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#from the given figure:\n",
+ "Vgsq=-1 #gate source voltage in volts at Qpoint\n",
+ "Idq=5.625 #drain current in mA\n",
+ "gm=3.75*10**-3 #in S\n",
+ "Av=8 #voltage gain\n",
+ "#since the equation, Vgs=-Id*Rs has not changed,\n",
+ "Rs=180.0 #source resistance in ohm\n",
+ "\n",
+ "Rd=(Av*(1+gm*Rs))/gm #drain resistance in kohm\n",
+ "\n",
+ "print \"Rs=\",Rs,\"ohm\"\n",
+ "print \"Rd=\",round(Rd/1000,1),\"kohm\"\n"
+ ]
+ }
+ ],
+ "metadata": {
+ "anaconda-cloud": {},
+ "kernelspec": {
+ "display_name": "Python [Root]",
+ "language": "python",
+ "name": "Python [Root]"
+ },
+ "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.12"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Ac-resistance-and-Dc-resistance-of-semiconductor-devices-ConvertImage.png b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Ac-resistance-and-Dc-resistance-of-semiconductor-devices-ConvertImage.png
new file mode 100644
index 00000000..f7e4ea5c
--- /dev/null
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Ac-resistance-and-Dc-resistance-of-semiconductor-devices-ConvertImage.png
Binary files differ
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Fixed-Bias-Configuration-of-BJT-with-different-Parameters-ConvertImage.png b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Fixed-Bias-Configuration-of-BJT-with-different-Parameters-ConvertImage.png
new file mode 100644
index 00000000..25d17484
--- /dev/null
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Fixed-Bias-Configuration-of-BJT-with-different-Parameters-ConvertImage.png
Binary files differ
diff --git a/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Output-Waveform-of-Astable-Multivibrator-ConvertImage.png b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Output-Waveform-of-Astable-Multivibrator-ConvertImage.png
new file mode 100644
index 00000000..8e7ffb04
--- /dev/null
+++ b/Electronic_Devices_and_Circuit_Theory_by_R_L_Boylestad_and_Louis_Nashlesky/screenshots/Output-Waveform-of-Astable-Multivibrator-ConvertImage.png
Binary files differ