summaryrefslogtreecommitdiff
path: root/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta
diff options
context:
space:
mode:
Diffstat (limited to 'Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta')
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter1.ipynb111
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter10.ipynb934
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter13.ipynb844
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter14.ipynb196
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter15.ipynb394
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter2.ipynb81
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter3.ipynb1099
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter4.ipynb878
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter5.ipynb1355
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter6.ipynb1078
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter7.ipynb2175
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter8.ipynb1134
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter9.ipynb122
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(88).pngbin14440 -> 0 bytes
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(89).pngbin14972 -> 0 bytes
-rw-r--r--Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(90).pngbin11631 -> 0 bytes
16 files changed, 0 insertions, 10401 deletions
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter1.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter1.ipynb
deleted file mode 100644
index d34682ed..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter1.ipynb
+++ /dev/null
@@ -1,111 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# Chapter 1 , Introductory Concepts"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 1.4 , Page Number 23"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Equivalent voltage source is 100.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IS = 4.0 #Current (in Ampere)\n",
- "Rin = 25.0 #Resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Voc = IS * Rin #Voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Equivalent voltage source is \",Voc,\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 1.5 , Page Number 23"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current in 28 ohm resistor is 2.0 A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "R1 = 4.0 #Resistance (in ohm)\n",
- "R2 = 8.0 #Resistance (in ohm)\n",
- "RS = 28.0 #Resistance (in ohm)\n",
- "V1 = 40.0 #Voltage (in volts)\n",
- "V2 = 40.0 #Voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rnet = R1 + R2 + RS #Net resistance (in ohm)\n",
- "Vnet = V1 + V2 #Net voltage (in volts) \n",
- "I = Vnet / Rnet #Current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current in 28 ohm resistor is \",I,\" 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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter10.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter10.ipynb
deleted file mode 100644
index ff782990..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter10.ipynb
+++ /dev/null
@@ -1,934 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 10 , Field Effect Transistors"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.1 , Page Number 344"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Gate-to-source resistance : 100.0 Mega-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VGS = 10.0 #Gate-source voltage (in volts)\n",
- "IG = 0.1 * 10**-6 #Gate current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RGS = VGS/IG #Gate-to-source resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Gate-to-source resistance : \",RGS*10**-6,\"Mega-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.2 , Page Number 344"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "AC drain resistance of the JFET : 12.5 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVDS = 1.5 #Change in drain-source voltage (in volts)\n",
- "dID = 120.0 * 10**-6 #Change in drain current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "rd = dVDS/dID #AC drain resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"AC drain resistance of the JFET : \",rd*10**-3,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.3 , Page Number 344"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Transconductance : 2000.0 micro-siemens.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dID = 0.3 * 10**-3 #Change in drain current (in Ampere)\n",
- "dVGS = 0.15 #Changein gate-to-source voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "gm = dID/dVGS #Transconductance (in siemen) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Transconductance : \",gm*10**6,\"micro-siemens.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.4 , Page Number 345"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 7,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "AC drain resistance : 35.0 kilo-ohm.\n",
- "Transconductance : 2.8 mA/V.\n",
- "Amplification factor : 98.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVDS = 7.0 #Change in drain-source voltage (in volts)\n",
- "dID1 = 0.2 * 10**-3 #Change in drain current1 (in Ampere)\n",
- "dID2 = -0.7 * 10**-3 #Change in drain current2 (in Ampere)\n",
- "dVGS = -0.25 #Changein gate-to-source voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "rd = dVDS/dID1 #AC drain resistance (in ohm)\n",
- "gm = dID2/dVGS #Transconductance (in Ampere per volt)\n",
- "u = rd*gm #Amplification factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"AC drain resistance : \",rd*10**-3,\"kilo-ohm.\"\n",
- "print \"Transconductance : \",gm*10**3,\"mA/V.\"\n",
- "print \"Amplification factor : \",u,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.5 , Page Number 345"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Transconductance : 2.22 mA/V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IDSS = 10.0 * 10**-3 #Drain-source saturation current (in Ampere)\n",
- "Vp = -4.5 #Pinch-off voltage (in volts)\n",
- "IDS = 2.5 * 10**-3 #Drain-source voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VGS = Vp*(1-(IDS/IDSS)**0.5) #Gate-to-source voltage (in volts)\n",
- "gm = -2*IDSS/Vp*(1- VGS/Vp) #Transconductance (in Ampere per volt) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Transconductance : \",round(gm*10**3,2),\"mA/V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.6 , Page Number 345"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VGSoff : -2.0 mV.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "gm = 10.0 * 10**-3 #Transconductance (in siemens)\n",
- "IDSS = 10.0 * 10**-6 #Drain-source saturation current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VGSoff = (-2*IDSS)/gm #Gate-to-source voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VGSoff : \",VGSoff*10**3,\"mV.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.7 , Page Number 345"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Minimum value of VDS : -4.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vp = -4.0 #Pinch-off voltage (in volts)\n",
- "VGS = -2.0 #Gate-source voltage (in volts)\n",
- "IDSS = 10.0 * 10**-3 #Drain-source saturation current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "ID = IDSS*(1 - VGS/Vp)**2 #Drain current (in Ampere)\n",
- "VDSmin = Vp #Minimum drain-source voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Minimum value of VDS : \",VDSmin,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.8 , Page Number 346"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 20,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "ID : 3.8667 mA.\n",
- "gmo : 5.8 mS.\n",
- "gm : 3.867 mS.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IDSS = 8.7 * 10**-3 #Drain-source saturation current (in Ampere)\n",
- "Vp = -3.0 #Pinch-off voltage (in volts)\n",
- "VGS = -1.0 #Gate-source voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "ID = IDSS*(1 - VGS/Vp)**2 #Drain current (in Ampere)\n",
- "gmo = -2*IDSS/Vp #Transconductance for VGS = 0 (in Ampere per volt) \n",
- "gm = gmo*(1 - VGS/Vp) #Transconductance (in Ampere per volt)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"ID : \",round(ID*10**3,4),\"mA.\"\n",
- "print \"gmo : \",round(gmo*10**3,1),\"mS.\"\n",
- "print \"gm : \",round(gm*10**3,3),\"mS.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.9 , Page Number 346"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 21,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "ID : 2.1 mA.\n",
- "gmo : 5.6 mS.\n",
- "gm : 2.8 mS.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IDSS = 8.4 * 10**-3 #Drain-source saturation current (in Ampere)\n",
- "Vp = -3.0 #Pinch-off voltage (in volts)\n",
- "VGS = -1.5 #Gate-source voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "ID = IDSS*(1 - VGS/Vp)**2 #Drain current (in Ampere)\n",
- "gmo = -2*IDSS/Vp #Transconductance for VGS = 0 (in Ampere per volt) \n",
- "gm = gmo*(1 - VGS/Vp) #Transconductance (in Ampere per volt)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"ID : \",round(ID*10**3,4),\"mA.\"\n",
- "print \"gmo : \",round(gmo*10**3,1),\"mS.\"\n",
- "print \"gm : \",round(gm*10**3,3),\"mS.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.10 , Page Number 346"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 24,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VGS : -1.902 V.\n",
- "gm : 2.31 mS.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vp = -4.5 #Pinch-off voltage (in volts)\n",
- "IDSS = 9.0 * 10**-3 #Drain-source saturation current (in Ampere)\n",
- "IDS = 3.0 * 10**-3 #Drain-source current (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VGS = Vp*(1-(IDS/IDSS)**0.5) #Gate-to-source voltage (in volts)\n",
- "gm = -2*IDSS/Vp*(1 - VGS/Vp) #Transconductance (in Ampere per volt) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VGS : \",round(VGS,3),\"V.\"\n",
- "print \"gm : \",round(gm*10**3,2),\"mS.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.11 , Page Number 349"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 26,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Drain-source voltage : 6.2 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VGG = 1.5 #Gate supply voltage (in volts)\n",
- "VDD = 15.0 #Drain supply voltage (in volts)\n",
- "RD = 1.5 * 10**3 #Drain resistance (in ohm)\n",
- "RG = 2.0 * 10**6 #Gate resistance (in ohm)\n",
- "IDSS = 15.0 * 10**-3 #Drain current in saturation (in Ampere)\n",
- "Vp = -4.0 #Pinch-off voltage (in volts)\n",
- "VS = 0.0 #Source voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VGS = -VGG #Gate-to-source voltage (in volts)\n",
- "ID = IDSS*(1 - VGS/Vp)**2 #Drain current (in Ampere)\n",
- "VD = VDD - ID*RD #Drain voltage (in volts)\n",
- "VDS = VD - VS #Drain-to-source voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Drain-source voltage : \",round(VDS,1),\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.12 , Page Number 349"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 35,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "ID = 3.0 mA.\n",
- "VDS = -7.5 V.\n",
- "VD = -7.5 V.\n",
- "VG = -3.0 V.\n",
- "VS = 0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VGS = VGG = -3.0 #Gate-source voltage (in volts)\n",
- "IDSS = 12.0 * 10**-3 #Drain current in saturation (in Ampere)\n",
- "Vp = -6.0 #pinch-off voltage (in volts) \n",
- "VDD = 3.0 #Drain voltage (in volts) \n",
- "RD = 3.5 * 10**3 #Drain resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "ID = IDSS*(1 - VGS/Vp)**2 #Drain current (in Ampere)\n",
- "VDS = VDD - ID*RD #Drain-source voltage (in volts)\n",
- "VD = VDS #Drain voltage (in volts)\n",
- "VG = VGG #Gate voltage (in volts)\n",
- "VS = 0 #Source voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"ID = \",ID*10**3,\"mA.\"\n",
- "print \"VDS = \",VDS,\"V.\" \n",
- "print \"VD = \",VD,\"V.\" \n",
- "print \"VG = \",VG,\"V.\" \n",
- "print \"VS = \",VS,\"V.\" \n",
- "\n",
- "#Calculation error in the value of VDS and VD in the book."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.13 , Page Number 350"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 36,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Drain-source voltage : 18.2 V.\n",
- "Gate-source voltage : -0.8 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VDD = 25.0 #Drain Supply (in volts)\n",
- "RD = 3.0 * 10**3 #Drain resistance (in ohm)\n",
- "RS = 400.0 #Source resistance (in ohm)\n",
- "ID = 2.0 * 10**-3 #Drain current (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VDS = VDD - ID*(RD + RS) #Drain-source voltage (in volts)\n",
- "VGS = -ID*RS #Gate-source voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Drain-source voltage : \",VDS,\"V.\"\n",
- "print \"Gate-source voltage : \",VGS,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.14 , Page Number 350"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 46,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "RS : 2.5 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VDD = 25.0 #Drain voltage (in volts)\n",
- "RG1 = 1.2 * 10**6 #Gate1 resistance (in ohm)\n",
- "RG2 = 0.6 * 10**6 #Gate2 resistance (in ohm)\n",
- "ID = 4.0 * 10**-3 #Drain current (in Ampere)\n",
- "VDS = 8.0 #Drain-source voltage (in volts) \n",
- "Vp = -4.0 #Pinch-off voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VGS = Vp*(1 - (ID/IDSS)**0.5) #Gate-source voltage (in volts)\n",
- "VG = VDD*RG2/(RG1 + RG2) #Gate voltage (in volts)\n",
- "RS = (VG - VGS)/ID #Source voltage (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"RS : \",round(RS*10**-3,1),\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.15 , Page Number 350"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 52,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Drain current at operating point : 4.46 mA.\n",
- "Since , value of ID at operating point is almost equal to previously computed value of Id. Therefore , FET is operated in pinch-off region.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vp = -2.0 #pinch-off voltage (in volts)\n",
- "IDSS = 5.0 * 10**-3 #Drain current in saturation (in Ampere)\n",
- "RL = 910.0 #Load resistance (in ohm)\n",
- "RF = 2.29 * 10**3 #Resistance (in ohm)\n",
- "R1 = 12.0 * 10**6 #Resistance1 (in ohm)\n",
- "R2 = 8.57 * 10**6 #Resistance2 (in ohm)\n",
- "VDD = 24.0 #Drain supply voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VG = VDD*R2/(R1 + R2) #Gate voltage (in volts)\n",
- "ID = 4.46 * 10**-3 #Drain current (in Ampere) \n",
- "VGS = VG - ID*RF #Gate-source voltage (in volts)\n",
- "ID1 = (VG - VGS)/RF #Drain current at operating point (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Drain current at operating point : \",round(ID1*10**3,3),\"mA.\"\n",
- "print \"Since , value of ID at operating point is almost equal to previously computed value of Id. Therefore , FET is operated in pinch-off region.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.16 , Page Number 353"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 55,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voltage gain : -30.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "gm = 2500.0 * 10**-6 #Transconductance (in siemens)\n",
- "RL = 12.0 * 10**3 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "A = -gm*RL #Voltage gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voltage gain : \",A,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.17 , Page Number 353"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 57,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VOltage gain : -59.9 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "gm = 4000.0 * 10**-6 #Transconductance (in siemens)\n",
- "RL = 15.0 * 10**3 #Load resistance (in ohm)\n",
- "RD = 10.0 * 10**6 #Drain resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "A = -gm*RD*RL/(RD + RL) #Voltage gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VOltage gain : \",round(A,1),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.18 , Page Number 353"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 62,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "RD : 5.0 kilo-ohm.\n",
- "RS : 1.0 kilo-ohm.\n",
- "Av : -20.0 .\n",
- "Rin : 500.0 kilo-ohm.\n",
- "Rout : 4.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VGS = -1.0 #Gate-source voltage (in volts)\n",
- "VDS = 4.0 #Drain-source voltage (in volts)\n",
- "IDS = 1.0 * 10**-3 #Drain-source current (in Ampere)\n",
- "gm = 5.0 * 10**-3 #Transconductance (in siemens)\n",
- "RDS = 20.0 * 10**3 #Drain-source resistance (in ohm)\n",
- "RG = 500.0 * 10**3 #Gate resistance (in ohm) \n",
- "VDD = 10.0 #Drain supply voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RS = abs(VGS/IDS) #Source resistance (in ohm)\n",
- "RD = (VDD - VDS)/IDS - RS #Drain resistance (in ohm) \n",
- "Av = -gm*(RD*RDS/(RD + RDS)) #Voltage gain\n",
- "Rin = RG #Input impedance (in ohm)\n",
- "Rout = RD*RDS/(RD + RDS) #Output impedance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"RD : \",RD*10**-3,\"kilo-ohm.\"\n",
- "print \"RS : \",RS*10**-3,\"kilo-ohm.\"\n",
- "print \"Av : \",Av,\".\"\n",
- "print \"Rin : \",Rin*10**-3,\"kilo-ohm.\"\n",
- "print \"Rout : \",Rout*10**-3,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.19 , Page Number 355"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 64,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input impedance : 1.33 Mega-ohm.\n",
- "Output impedance : 345.0 ohm.\n",
- "Voltage gain : 0.85 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RL = 25.0 * 10**3 #Load resistance (in ohm)\n",
- "RS = 2.5 * 10**3 #Source Resistance (in ohm)\n",
- "R1 = 4.0 * 10**6 #Resistance1 (in ohm)\n",
- "R2 = 2.0 * 10**6 #Resistance2 (in ohm)\n",
- "gm = 2500.0 * 10**-6 #Transconductance (in siemens)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Zin = R1*R2/(R1 + R2) #Input impedance (in ohm)\n",
- "Zout = RS*1/gm/(RS + 1/gm) #Output impedance (in ohm)\n",
- "Av = gm*RS*RL/(RS + RL)/(1 + gm*(RS*RL)/(RS + RL)) #Voltage gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input impedance : \",round(Zin*10**-6,2),\"Mega-ohm.\"\n",
- "print \"Output impedance : \",round(Zout),\"ohm.\"\n",
- "print \"Voltage gain : \",round(Av,2),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.20 , Page Number 369"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 69,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Drain current : 1.25 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IDon = 5.0 * 10**-3 #Drain current in on state (in Ampere)\n",
- "VGS = 8.0 #Gate-source voltage (in volts)\n",
- "VGST = 4.0 #Gate-source T voltage (in volts)\n",
- "VGS1 = 6.0 #Gate-source voltage1 (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "K = IDon/(VGS - VGST)**2 #K (in Ampere per volt-square) \n",
- "ID = K*(VGS1 - VGST)**2 #Drain current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Drain current : \",round(ID*10**3,2),\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 10.21 , Page Number 369"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 83,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VGS : 6.0 V.\n",
- "ID : 0.001 A.\n",
- "VDS : 9.0 V.\n",
- "Av : 12.0 .\n",
- "Vout : 0.96 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IDon = 4.0 * 10**-3 #Drain current in on state (in Ampere)\n",
- "VGS = 8.0 #Gate-source voltage (in volts)\n",
- "VGST = 4.0 #Gate-source T voltage (in volts)\n",
- "gm = 2000.0 * 10**-6 #Transconductance (in siemens)\n",
- "VDD = 15.0 #Drain supply voltage (in volts)\n",
- "RD = 6.0 * 10**3 #Drain resistance (in ohm)\n",
- "RD2 = 40.0 * 10**3 #Resistance (in ohm)\n",
- "RD1 = 60.0 * 10**3 #Resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VGS = VDD/(RD1 + RD2)*RD2 #Gate-source voltage (in volts)\n",
- "K = IDon/4**2 #K (in Ampere per volt-square)\n",
- "ID = K*(VGS - VGST)**2 #Drain current (in Ampere)\n",
- "VDS = VDD - ID*RD #Drain-source voltage (in volts)\n",
- "Av = gm*RD #Voltage gain\n",
- "Vout = Av*0.08 #Output voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VGS : \",VGS,\"V.\"\n",
- "print \"ID : \",ID,\"A.\"\n",
- "print \"VDS : \",abs(VDS),\"V.\"\n",
- "print \"Av : \",Av,\".\"\n",
- "print \"Vout : \",Vout,\"V.\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter13.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter13.ipynb
deleted file mode 100644
index 273bc5aa..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter13.ipynb
+++ /dev/null
@@ -1,844 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 13 , Operational Amplifiers (Op-Amps)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.1 , Page Number 481"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "CMRR : 80.0 db.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "Ad = 100.0 #Differential mode gain\n",
- "Acm = 0.01 #Common-mode gain\n",
- "\n",
- "#Calculation\n",
- "\n",
- "CMRR = Ad/Acm #CMRR\n",
- "CMRR1 = 20*math.log10(CMRR) #CMRR (in db)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"CMRR : \",CMRR1,\"db.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.2 , Page Number 481"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Common mode gain : 10.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Ad = 1.0 * 10**5 #Differential mode gain\n",
- "CMRR = 1.0 * 10**4 #CMRR\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Acm = Ad/CMRR #Common-mode gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Common mode gain : \",Acm,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.3 , Page Number 482"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage : 2.537125 V.\n",
- "Percentage error : 1.4633 %.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "V1 = 745.0 * 10**-6 #Input voltage1 (in volts)\n",
- "V2 = 740.0 * 10**-6 #Input voltage2 (in volts)\n",
- "Vcm = (V1 + V2)/2 #Commonn mode signal (in volts)\n",
- "Vd = V1 - V2 #Differential voltage (in volts)\n",
- "Ad = 5 * 10**5 #Differential voltage gain\n",
- "CMRR = 1.0 * 10**4 #CMRR\n",
- " \n",
- "#Calculation\n",
- "\n",
- "Vout = Ad*Vd*(1 + 1/CMRR*Vcm/Vd) #output voltage (in volts)\n",
- "error = Vout - Ad*Vd #Error voltage (in volts)\n",
- "Percerror = error/Vout*100 #Percentage error\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage :\",round(Vout,6),\"V.\"\n",
- "print \"Percentage error : \",round(Percerror,4),\"%.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.4 , Page Number 483"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage : + (or) - 5.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "A = 200000.0 #Open loop voltage gain\n",
- "Vd = 25.0 * 10**-6 #Input differential voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vout = A*Vd #output voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage : + (or) - \",Vout,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.5 , Page Number 486"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Rf : 27.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Af = 10.0 #Voltage gain\n",
- "R1 = 3.0 * 10**3 #Resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rf = (Af - 1)*R1 #Resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Rf : \",Rf*10**-3,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.6 , Page Number 486"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 8,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Maximum closed loop voltage gain 51.0 .\n",
- "Minimum closed loop voltage gain 1.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "R1 = 2.0 * 10**3 #Resistance (in ohm) \n",
- "Rfmin = 0.0 #Resistance (in ohm) \n",
- "Rfmax = 100.0 * 10**3 #Resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Afmin = 1 + Rfmin/R1 #Minimum voltage gain\n",
- "Afmax = 1 + Rfmax/R1 #Maximum voltage gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum closed loop voltage gain\",Afmax,\".\"\n",
- "print \"Minimum closed loop voltage gain\",Afmin,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.7 , Page Number 488"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 10,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voltage gain : -100.0 .\n",
- "Input resistance : 5.0 kilo-ohm.\n",
- "Output resistance : 0 ohm.\n",
- "Output voltage : -10.0 V.\n",
- "Input current : 0.02 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "R1 = 5.0 * 10**3 #Resistance (in ohm) \n",
- "Rf = 500.0 * 10**3 #Feedback resistance (in ohm)\n",
- "Vin = 0.1 #Input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Af = -Rf/R1 #Voltage gain\n",
- "Rin = R1 #Input resistance (in ohm)\n",
- "Rout = 0 #Output resistance (in ohm)\n",
- "Vout = Af*Vin #Output voltage (in volts)\n",
- "Iin = Vin/R1 #Input current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voltage gain : \",Af,\".\"\n",
- "print \"Input resistance : \",Rin*10**-3,\"kilo-ohm.\"\n",
- "print \"Output resistance : \",Rout,\"ohm.\"\n",
- "print \"Output voltage : \",Vout,\"V.\"\n",
- "print \"Input current : \",Iin*10**3,\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.8 , Page Number 488"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "O/P voltage when switch is open : -2.0 V.\n",
- "O/P voltage when switch is closed : -2.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Rf = 2.0 * 10**3 #Feedback resistance when S is open (in ohm)\n",
- "Vin = 1.0 #Input voltage when S is open (in volts)\n",
- "R1 = 1.0 * 10**3 #Resistance (in ohm)\n",
- "R2 = R3 = 1.0 * 10**3 #Resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vout = -Vin*Rf/R1 #Output voltage when S is open (in volts)\n",
- "Af = -(R3 + R2)/R1 #gain\n",
- "Vout1 = Af*Vin #Output voltage when S is closed (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"O/P voltage when switch is open : \",Vout,\"V.\"\n",
- "print \"O/P voltage when switch is closed : \",Vout1,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.9 , Page Number 489"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voltage gain : -1.0 .\n",
- "Current gain : 1 .\n",
- "Power gain : 1.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Rf = 1.0 * 10**6 #Feedback resistance (in ohm)\n",
- "Ri = 1.0 * 10**6 #Input resistance (in ohm)\n",
- "Vi = 1 #Input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vo = -Rf/Ri*Vi #Output voltage (in volts)\n",
- "Av = Vo/Vi #Voltage gain \n",
- "Ai = 1 #Current gain\n",
- "Ap = abs(Av*Ai) #Power gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voltage gain : \",Av,\".\"\n",
- "print \"Current gain : \",Ai,\".\"\n",
- "print \"Power gain : \",Ap,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.13 , Page Number 492"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 15,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Amplifier gain when S is open : 1.0 .\n",
- "Amplifier gain when S is closed : -2.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Rf = 20.0 * 10**3 #Feedback resistance (in ohm)\n",
- "R1 = 10.0 * 10**3 #Resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Aoffnoninv = 1 + Rf/R1 #Amplifier gain when S open and non inverted\n",
- "Aoffinv = -Rf/R1 #Amplifier gain when S open and inverted\n",
- "Aoff = Aoffinv + Aoffnoninv #Amplifier gain when S open\n",
- "Aon = -Rf/R1 #Amplifier gain when S is closed \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Amplifier gain when S is open : \",Aoff,\".\"\n",
- "print \"Amplifier gain when S is closed : \",Aon,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.14 , Page Number 494"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 16,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 : 100.0 kilo-ohm.\n",
- "R3 : 10.0 kilo-ohm.\n",
- "R3 : 1.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Rf = 100.0 #Feedback resistance (in kilo-ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R1 = Rf #Resistance1 (in ohm)\n",
- "R2 = Rf/10 #Resistance2 (in ohm)\n",
- "R3 = Rf/100 #Resistance3 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",R1,\"kilo-ohm.\\nR3 : \",R2,\"kilo-ohm.\\nR3 : \",R3,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.15 , Page Number 494"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 22,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage : 13.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Rf = 12.0 * 10**3 #Feedback resistance (in ohm)\n",
- "R1 = 12.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 2.0 * 10**3 #Resistance2 (in ohm)\n",
- "R3 = 3.0 * 10**3 #Resistance3 (in ohm)\n",
- "Vi1 = 9.0 #Input voltage1 (in volts)\n",
- "Vi2 = -3.0 #Input voltage2 (in volts)\n",
- "Vi3 = -1.0 #Input voltage3 (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vout = -Rf*(Vi1/R1 + Vi2/R2 + Vi3/R3) #Output voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage : \",Vout,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.16 , Page Number 495"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 23,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 : 6.0 kilo-ohm.\n",
- "R3 : 3.0 kilo-ohm.\n",
- "R3 : 2.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Rf = 6.0 #Feedback resistance (in kilo-ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R1 = Rf #Resistance1 (in ohm)\n",
- "R2 = Rf/2 #Resistance2 (in ohm)\n",
- "R3 = Rf/3 #Resistance3 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",R1,\"kilo-ohm.\\nR3 : \",R2,\"kilo-ohm.\\nR3 : \",R3,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.17 , Page Number 495"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 25,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Rf : 40.0 kilo-ohm.\n",
- "R2 : 13.33 kilo-ohm.\n",
- "R1 : 20.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "R3 = 10.0 #Resistance (in kilo-ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rf = 4*R3 #Feedback resistance (in ohm)\n",
- "R2 = Rf/3 #Resistance2 (in ohm)\n",
- "R1 = Rf/2 #Resistance1 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Rf : \",Rf,\"kilo-ohm.\\nR2 : \",round(R2,2),\"kilo-ohm.\\nR1 : \",R1,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.18 , Page Number 495"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 26,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage : 1.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "V1 = 2.0 #Voltage1 (in volts)\n",
- "V2 = -1.0 #Voltage2 (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vs1 = V1*(1.0/2/(1+1.0/2)) #I/P at non-inverting I/P terminal (in volts)\n",
- "V1o = Vs1*(1 + 2/1) #O/P voltage1 (in volts)\n",
- "Vs2 = V2*(1.0/2/(1+1.0/2)) #I/P voltage2 (in volts)\n",
- "V2o = Vs2*(1 + 2/1) #O/P voltage2 (in volts)\n",
- "Vout = V1o + V2o #Output voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage : \",Vout,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.19 , Page Number 496"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 27,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Feedback resistor : 100.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "R = 10.0 #Resistance (in kilo-ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rf = 10*R #feedback resistance (in kilo-ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Feedback resistor : \",Rf,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.20 , Page Number 498"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 29,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "-10.0\n",
- "Output voltage : 0.0113(cos(4000*t)-1) mV.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "C = 2.0 * 10**-6 #Capacitance (in Farad)\n",
- "R = 50.0 * 10**3 #Resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "scale_factor = -1/(C*R) #Scale factor (in second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage : 0.0113(cos(4000*t)-1) mV.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.21 , Page Number 499"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 30,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage : 13.56*cos(4000*math.pi*t).\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "C = 2.0 * 10**-6 #Capacitance (in Farad)\n",
- "R = 50.0 * 10**3 #Resistance (in ohm) \n",
- "f = 2.0 * 10**3 #Frequency (in Hertz)\n",
- "Vpeak = 10.0 * 10**-6 #Peak voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "scale_factor = (C*R) #Scale factor (in second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage : 13.56*cos(4000*math.pi*t).\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.22 , Page Number 505"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 31,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input bias current : 8.75 micro-Ampere.\n",
- "Input offset current : 2.5 micro-Ampere.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IB1 = 10.0 * 10**-6 #Base current1 (in Ampere)\n",
- "IB2 = 7.5 * 10**-6 #Base current2 (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Iinbias = (IB1 + IB2)/2 #Input bias current (in Ampere)\n",
- "Iinoffset = IB1 - IB2 #Input offset current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input bias current : \",round(Iinbias*10**6,2),\"micro-Ampere.\"\n",
- "print \"Input offset current : \",round(Iinoffset*10**6,2),\"micro-Ampere.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 13.23 , Page Number 505"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 32,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Slew rate : 5.0 V/micro-second.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVout = 20.0 #Output voltage (in volts)\n",
- "dt = 4.0 #time (in micro-seconds) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "SR = dVout/dt #Slew rate (in volt per micro-second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Slew rate : \",SR,\" V/micro-second.\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter14.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter14.ipynb
deleted file mode 100644
index e1196f92..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter14.ipynb
+++ /dev/null
@@ -1,196 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 14 , Electronics Instruments"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 14.1 , Page Number 516"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Value of shunt resistance required for the instrument : 0.0500025 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Im = 50.0 * 10**-6 #Full scale deflection current (in Ampere) \n",
- "Rm = 1.0 * 10**3 #Instrument resistance (in ohm)\n",
- "I = 1.0 #Total current to be measured (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RS = Rm/(1/Im - 1) #Resistance of ammeter shunt required (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Value of shunt resistance required for the instrument : \",round(RS,7),\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 14.2 , Page Number 518"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Required series resistance 99900.0 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Im = 1.0 * 10**-3 #Full scale deflection current (in Ampere) \n",
- "Rm = 1.0 * 10**2 #Instrument resistance (in ohm)\n",
- "V = 100.0 #Voltage to be measured (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R = V/Im - Rm #Required series resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Required series resistance \",R,\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 14.3 , Page Number 528"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 8,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Resolution for full scale of range 1 V : 0.001 V.\n",
- "Resolution for full scale of range 10 V : 0.01 V.\n",
- "Total possible error : 0.015 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "num = 3.0 #Number of full digits on display\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R = 1/10**num #Resolution\n",
- "V1 = 1 * R #Resolution for full scale of range 1 V (in volts) \n",
- "V10 = 10 * R #Resolution for full scale of range 10 V (in volts)\n",
- "dig = 5.0 * 1/10**3 #Least significant digit\n",
- "toterror = 0.5/100 * 2 + dig #total possible error (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Resolution for full scale of range 1 V :\",V1,\"V.\"\n",
- "print \"Resolution for full scale of range 10 V : \",V10,\"V.\"\n",
- "print \"Total possible error : \",round(toterror,3),\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 14.4 , Page Number 528"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Resolution of 1 V range is 0.0001 V.\n",
- "Any reading upto 4th decimal can be displayed.\n",
- "Hence 0.5243 will be displayed as 0.5243.\n",
- "Resolution of 10 V range is 0.001 V.\n",
- "Any reading upto 3rd decimal can be displayed.\n",
- "Hence 0.5243 will be displayed as 0.524 instead of 0.5243.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "num = 4.0 #Number of full digits on display\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R = 1/10**num #Resolution\n",
- "V1 = 1 * R #Resolution for full scale of range 1 V (in volts) \n",
- "V10 = 10 * R #Resolution for full scale of range 10 V (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Resolution of 1 V range is \",V1,\"V.\\nAny reading upto 4th decimal can be displayed.\\nHence 0.5243 will be displayed as 0.5243.\"\n",
- "print \"Resolution of 10 V range is \",V10,\"V.\\nAny reading upto 3rd decimal can be displayed.\\nHence 0.5243 will be displayed as 0.524 instead of 0.5243.\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter15.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter15.ipynb
deleted file mode 100644
index 242a7d17..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter15.ipynb
+++ /dev/null
@@ -1,394 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 15 , Cathode Ray Oscilloscope"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.1 , Page Number 537"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 15,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Deflection sensitivity : 0.167 mm/V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "l = 25.0 * 10**-3 #Length of plates (in meter)\n",
- "d = 5.0 * 10**-3 #Distance between plates (in meter)\n",
- "S = 0.20 #Distance between screen and centre of plates (in meter) \n",
- "Va = 3000.0 #Accelerating voltage (in volts)\n",
- "tracelen = 0.1 #Trace length (in meter)\n",
- "y = tracelen/2 #vertical distance (in meter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vd = 2*d*Va*y/(l*S) #Deflecting voltage (in volts)\n",
- "Vrms = Vd/2**0.5 #RMS value of voltage (in volts)\n",
- "defsen = l*S/(2*d*Va) #Deflection sensitivity (in meter per volt)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Deflection sensitivity : \",round(defsen * 10**3,3),\"mm/V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.2 , Page Number 537"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Maximum velocity of electrons : 18.75 e+6 m/s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Va = 1000.0 #Accelerating voltage (in volts)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "m = 9.1 * 10**-31 #Mass of electron (in kilogram) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "v = (2*Va*e/m)**0.5 #Maximum velocity of electrons (in meter per second) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum velocity of electrons : \",round(v*10**-6,2),\"e+6 m/s.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.3 , Page Number 538"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Applied voltage : 100.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "defsen = 0.05 * 10**-3 #Deflection Sensitivity (in meter per volt)\n",
- "spotdef = 5.0 * 10**-3 #Deflection factor (in volt per meter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "V = spotdef/defsen #Applied voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Applied voltage : \",V,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.4 , Page Number 538"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 10,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Deflection sensitivity : 0.1667 mm/V.\n",
- "Deflection factor : 6.0 V/mm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "l = 20.0 * 10**-3 #Length of plates (in meter)\n",
- "d = 5.0 * 10**-3 #Distance between plates (in meter)\n",
- "S = 0.25 #Distance between screen and centre of plates (in meter) \n",
- "Va = 3000.0 #Accelerating voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "defsen = l*S/(2*d*Va) #Deflection Sensitivity (in meter per volt)\n",
- "deffact = 1/defsen #Deflection factor (in volt per meter)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Deflection sensitivity : \",round(defsen*10**3,4),\"mm/V.\"\n",
- "print \"Deflection factor : \",deffact*10**-3,\"V/mm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.6 , Page Number 549"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Ratio of freqency of vertical and horizontal signals : 1.5 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "tangv = 3.0 #Positive of Y - peak to vertical line\n",
- "tangh = 2.0 #Positive of X - peak to horizontal line \n",
- "\n",
- "#Calculation\n",
- "\n",
- "ratio = tangv/tangh #Ratio of freq. of vertical and horizontal signals \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Ratio of freqency of vertical and horizontal signals : \",ratio,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.7 , Page Number 549"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Frequency of vertical input : 7500.0 Hz.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "fx = 3.0 * 10**3 #Frequency of horizontal input (in Hertz)\n",
- "tangv = 2.5 #Positive of Y - peak to vertical line\n",
- "tangh = 1.0 #Positive of X - peak to horizontal line \n",
- "\n",
- "#Calculation\n",
- "\n",
- "fy = fx*tangv/tangh #Frequency of vertical input (in Hertz)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Frequency of vertical input : \",fy,\"Hz.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.8 , Page Number 549"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Frequency of vertical input : 2500.0 Hz.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "fx = 1000.0 #Frequency of horizontal input (in Hertz)\n",
- "tangv = 2.0 #Points of tangency to vertical line\n",
- "tangh = 5.0 #Points of tangency to horizontal line \n",
- "\n",
- "#Calculation\n",
- "\n",
- "fy = fx*tangh/tangv #Frequency of vertical input (in Hertz)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Frequency of vertical input : \",fy,\"Hz.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.9 , Page Number 549"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Mark to Space ratio : 0.25 .\n",
- "Pulse frequency : 50.0 kHz.\n",
- "Magnitude of pulse voltage : 0.43 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "div = 1.0 #One division = one cm (in cm)\n",
- "mark = 0.4 #One mark (in cm)\n",
- "space = 1.6 #One space (in cm)\n",
- "Amp = 2.15 #Amplitude \n",
- "Ampctrl = 0.2 #Signal amplitude control (in volt per division) \n",
- "tbctrlset = 10.0 * 10**-6 #Time based control setting (in seconds)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "MtoS = mark/space #Mark to space ratio\n",
- "T = (space + mark)*tbctrlset #Pulse time period (in seconds)\n",
- "f = 1/T #Pulse frequency (in Hertz)\n",
- "Vp = Amp * Ampctrl #Magnitude of pulse voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Mark to Space ratio : \",round(MtoS,2),\".\"\n",
- "print \"Pulse frequency : \",(f*10**-3),\"kHz.\"\n",
- "print \"Magnitude of pulse voltage : \",Vp,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 15.10 , Page Number 550"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "RMS value of ac voltage : 17.678 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "L = 10 #Length of trace (in cm)\n",
- "S = 5 #Deflection sensitivty (in volt per cm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vpktopk = L*S #Voltage peak-to-peak (in volts)\n",
- "Vpeak = Vpktopk/2 #Peak value of voltage (in volts)\n",
- "Vrms = Vpeak/2**0.5 #RMS of peak value (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"RMS value of ac voltage : \",round(Vrms,3),\"V.\"\n",
- "\n",
- "#Slight variations due to higher precision."
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter2.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter2.ipynb
deleted file mode 100644
index 45a48172..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter2.ipynb
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 2 , Energy Levels and Electron Emission"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 2.1 , Page Number 33 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- " Emission current is 0.0166 A.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "phi = 3.4 #Voltage (in electron-volt)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "A = 6.0 * 10**4 #Emission constant (in Ampere per meter-square per kelvin-square)\n",
- "T = 2000.0 #Temperature (in kelvin)\n",
- "l = 40.0 * 10**-3 #Length (in meter)\n",
- "D = 0.2 * 10**-3 #Diameter (in meter)\n",
- "k = 1.38 * 10**-23 #Boltzmann constant (in meter-square kilogram per second-square per kelvin)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "b = phi * e /k #Constant \n",
- "Js = A*T**2*math.exp(-b/T) #Emission current density (in Ampere per meter-square)\n",
- "S = math.pi * D * l #Emitting surface (in meter-square)\n",
- "I = Js * S #Emission current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Emission current is \",round(I,4),\" A.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter3.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter3.ipynb
deleted file mode 100644
index 170ae72b..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter3.ipynb
+++ /dev/null
@@ -1,1099 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# Chapter 3 , Semiconductor Physics"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.1 , Page Number 54"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Velocity of electron at fermi level is 859007.52 m/s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "m = 9.107 * 10**-31 #Mass of electron (in kilogram)\n",
- "E = 2.1 #Energy associated (in electon-volt)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "E = E * e #Energy associated (in Joules)\n",
- "v = (2 * E / m)**0.5 #Velocity of electron (in meter per second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Velocity of electron at fermi level is \",round(v,2),\" m/s.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.2 , Page Number 63 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Drift velocity is 0.0003 m/s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "J = 2.4 * 10**6 #Current Density (in Ampere per meter-square) \n",
- "n = 5.0 * 10**28 #Electron density \n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "v = J / (e * n) #Drift velocity (in meter per second) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Drift velocity is \",v,\" m/s.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.3 , Page Number 64"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Magnitude of current is 0.24 A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "n = 10**24 #Electron density \n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "v = 1.5 * 10**-2 #Drift velocity (in meter per second)\n",
- "A = 1.0 * 10**-4 #Area of cross-section (in meter-square)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "I = e * n * v * A #Current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Magnitude of current is \",I,\" A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.4 , Page Number 64"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Concentration of electrons is 4.44600943977e+16 /cm**3.\n",
- "Concentration of holes is 14057550000.0 \\cm**3.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "p = 0.039 #Resistivity of doped material (in ohm-centimeter)\n",
- "e = 1.602 * 10**-19 #Charge on electron (in Coulomb)\n",
- "ue = 3600.0 #Carrier mobility (in centimeter-square per volt-second)\n",
- "ni = 2.5 * 10**13 #Intrinsic concentration (in per cubic-centimeter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "\n",
- "sign = 1/p #Conductivity (in per ohm-centimeter)\n",
- "ND = sign /(e * ue) #Concentration of donor atoms (in per cubic-centimeter)\n",
- "n = ND #Concentration of electron (per cubic-centimeter)\n",
- "p = ni**2 / n #Concentration of hole (per cubic-centimeter)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Concentration of electrons is \",n,\" /cm**3.\\nConcentration of holes is \",p,\" \\cm**3.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.5 , Page Number 64 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Resulting donor concentration is 50000000000000000 /cm**3.\n",
- "Resulting mobile electron concentration is 50000000000000000 /cm**3.\n",
- "Resulting hole concentration is 4205.0 /cm**3.\n",
- "Conductivity of doped silicon sample is 10.413 (ohm-cm)**-1.\n",
- "Resistivity is 0.096033803899 ohm-cm and Resistance is 1920.67607798 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "N = 5.0 * 10**22 #Number of silicon atoms (per cubic-centimeter)\n",
- "N1 = 10**-6 #Donor impurity \n",
- "ni = 1.45 * 10**10 #Intrinsic concentration (in per cubic-centimeter) \n",
- "l = 0.5 #Length (in centimeter)\n",
- "A = (50.0 * 10**-4)**2 #Area of cross-section (in centimeter-square)\n",
- "ue = 1300.0 #Mobility of electron (in ) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "ND = 5 * 10**16 #Donor concentration (in per cubic-centimeter)\n",
- "n = ND #Mobile electron concentration (in per cubic-centimeter)\n",
- "p = ni**2 / ND #Hole concentration (in centimeter-square per volt-second)\n",
- "sig = n * e * ue #Conductivity of doped silicon sample (in per ohm-cetimeter)\n",
- "p1 = 1/sig #Resistivity (in ohm-centimeter)\n",
- "R = p1 * l / A #Resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Resulting donor concentration is \",ND,\" /cm**3.\\nResulting mobile electron concentration is \",n,\" /cm**3.\\nResulting hole concentration is \",p,\" /cm**3.\"\n",
- "print \"Conductivity of doped silicon sample is \",sig,\" (ohm-cm)**-1.\\nResistivity is \",p1,\" ohm-cm and Resistance is \",R,\" ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.6 , Page Number 65 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 10,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Ratio of electron to hole concentration is 1e+12 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ni = 1.4 * 10**18 #intrinsic concentration (in per cubic-centimeter)\n",
- "ND = 1.4 * 10**24 #Donor concentration (in per cubic-centimeter)\n",
- "n = ND #Concentration of electrons (in per cubic-centimeter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "p = ni**2 / ND #Concentration of holes (in per cubic-centime) \n",
- "ratio = n / p #Ratio of electron to hole concentration \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Ratio of electron to hole concentration is \",ratio,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.7 , Page Number 65"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 12,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Relaxation time is 4.004e-14 s.\n",
- "Resistivity of conductor is 1.53066222571e-08 ohm-meter.\n",
- "Velocity of electrons with fermi energy is 1390706.99073 m/s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Ef = 5.5 #Fermi energy (in electron-volt)\n",
- "ue = 7.04 * 10**-3 #Mobility of electrons (in meter-square per volt-second)\n",
- "n = 5.8 * 10**28 #Concentration of electrons (in per cubic-centimeter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "m = 9.1 * 10**-31 #Mass of electron (in kilogram) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "tau = ue * m / e #Relaxation time (in seconds)\n",
- "p = 1 / (n * e * ue) #Resistivity (in ohm-meter) \n",
- "vf = (2 * Ef * e / m)**0.5 #Velocity of electron with fermi energy (in meter per second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Relaxation time is \",tau,\" s.\\nResistivity of conductor is \",p,\"ohm-meter.\\nVelocity of electrons with fermi energy is \",vf,\" m/s.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.8 , Page Number 68"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Conductivity is 0.0224 (ohm-cm)**-1.\n",
- "Resistivity is 44.64 ohm-cm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ni = 2.5 * 10**13 #Intrinsic concentration (in per cubic-centimeter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "uh = 1800.0 #Mobility of holes (in per cubic-centimeter)\n",
- "ue = 3800.0 #Mobility of electrons (in per cubic-centimeter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "sigi = ni * e * (ue + uh) #Conductivity (in per ohm-centimeter)\n",
- "pi = 1/sigi #Resistivity (in ohm-centimeter)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Conductivity is \",sigi,\" (ohm-cm)**-1.\\nResistivity is \",round(pi,2),\" ohm-cm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.9 , Page Number 68 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Density of electrons is 2.29273661042e+19 /m**3.\n",
- "Drift velocity of electrons is 3900.0 m/s.\n",
- "Drift velocity of holes is 1900.0 m/s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "pi = 0.47 #intrinsic resistivity (in ohm-meter)\n",
- "ue = 0.39 #Electron mobility (in meter-square per volt-second)\n",
- "uh = 0.19 #Hole mobility (in meter-square per volt-second)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "E = 10**4 #Electric field (in volt per meter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "sigi = 1 / pi #Conductivity (in per ohm-meter)\n",
- "ni = sigi/(e * (ue + uh)) #Intrinsic concentration (in per cubic-meter)\n",
- "vn = ue * E #Drift velocity of electrons (in meter per second)\n",
- "vh = uh * E #Drift velocity of holes (in meter per second) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Density of electrons is \",ni,\" /m**3.\\nDrift velocity of electrons is \",vn,\" m/s.\\nDrift velocity of holes is \",vh,\" m/s.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.10 , Page Number 69 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Conductivity of intrinsic silicon is 4.2e-06 /ohm-cm.\n",
- "Conductivity of P type silicon is 72.0 ohm-cm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ni = 1.5 * 10**10 #Intrinsic concentration (in per cubic-centimeter)\n",
- "uh = 450.0 #mobility of holes (in centimeter-square per volt-second)\n",
- "ue = 1300.0 #mobility of electrons (in centimeter-square per volt-second)\n",
- "NA = 10**18 #Doping level (in per cubic-centimeter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "sigi = ni * e * (ue + uh) #Conductivity of silicon (in per ohm-centimeter)\n",
- "sigp = e * NA * uh #COnductivity of P-type silicon (in per ohm-centimeter)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Conductivity of intrinsic silicon is \",sigi,\" /ohm-cm.\\nConductivity of P type silicon is \",sigp,\" ohm-cm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.11 , Page Number 69 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Conductivity of intrinsic semiconductor is 0.0224 /ohm-cm.\n",
- "Conductivity of N-type semiconductor is 2.68 /ohm-cm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ni = 2.5 * 10**13 #Intrinsic concentration (in per cubic-centimeter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "uh = 1800.0 #mobility of holes (in centimeter-square per volt-second)\n",
- "ue = 3800.0 #mobility of electrons (in centimeter-square per volt-second)\n",
- "ND = 4.41 * 10**22 * 10**-7 #Number of Germanium atoms (in per cubic-centimeter)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "sigi = ni * e * (uh + ue) #Intrinsic concentration (in per ohm-centimeter)\n",
- "n = ND #Concentration of electrons (in per cubic-centimeter)\n",
- "p = ni**2 / ND #Concentration of holes (in per cubic-centimeter)\n",
- "sign = e * ND * ue #Conductivity of N-type germanium semiconductor (in per ohm-meter)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Conductivity of intrinsic semiconductor is \",sigi,\" /ohm-cm.\\nConductivity of N-type semiconductor is \",round(sign,2),\" /ohm-cm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.12 , Page Number 69"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Electron drift velocity is 152.0 m/s.\n",
- "Holes drift velocity is 72.0 m/s.\n",
- "Intrinsic conductivity of Ge is 2.24 /ohm-m.\n",
- "Total current is 5.376 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "V = 10.0 #Voltage (in volts)\n",
- "l = 0.025 #Length (in meter)\n",
- "uh = 0.18 #mobility of holes (in meter-square per volt-second)\n",
- "ue = 0.38 #mobility of electrons (in meter-square per volt-second)\n",
- "ni = 2.5 * 10**19 #Intrinsic concentration (in per cubic-imeter)\n",
- "a = 4.0 * 1.5 *10**-6 #Area of cross-section (in meter-square)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "E = V / l #Electric field (in volt per meter)\n",
- "ve = ue * E #Drift velocity of electrons (in meter per second)\n",
- "vh = uh * E #Drift velocity of holes (in meter per second)\n",
- "sigi = ni * e * (ue + uh) #Conductivity of intrinsic semiconductor (in per ohm-meter)\n",
- "I = sigi * E * a #Total current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Electron drift velocity is \",ve,\" m/s.\\nHoles drift velocity is \",vh,\" m/s.\\nIntrinsic conductivity of Ge is \",sigi,\" /ohm-m.\\nTotal current is \",I * 10**3,\" mA.\" "
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.13 , Page Number 70 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Diffusion constant of electron is 93.0 cm**2/s.\n",
- "Diffusion constant of holes is 43.9875 cm**2/s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ni = 2.5 * 10**13 #Intrinsic concentration (in per cubic-centimeter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "uh = 1700.0 #mobility of holes (in centimeter-square per volt-second)\n",
- "ue = 3600.0 #mobility of electrons (in centimeter-square per volt-second)\n",
- "k = 1.38 * 10**-23 #Boltzmann constant (in Joule per kelvin)\n",
- "T = 300.0 #Temperature (in kelvin)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "De = ue * k * T / e #Diffusion constant of electrons (in centimeter-square per second)\n",
- "Dh = uh * k * T / e #Diffusion constant of holes (in centimeter-square per second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Diffusion constant of electron is \",round(De),\" cm**2/s.\\nDiffusion constant of holes is \",Dh,\" cm**2/s.\"\n",
- "\n",
- "#Slight variation in Dh due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.14 , Page Number 72"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 15,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Mobility of charge carriers is 4e-08 m**2/V-s.\n",
- "Density of charge carriers is 1.73611111111e+22 /m**3.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "p = 9.0 * 10**3 #Resistivity (in ohm-meter)\n",
- "RH = 3.6 * 10**-4 #Hall coefficient (in cubic-meter per Coulomb) \n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "sig = 1/p #Conductivity (in per ohm-meter)\n",
- "P = 1/ RH #Charge density (in Coulomb per cubic meter)\n",
- "n = P / e #Density of charge carriers (in per cubic-meter)\n",
- "u = sig * RH #Mobility (in meter-square per volt-second)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Mobility of charge carriers is \",u,\" m**2/V-s.\\nDensity of charge carriers is \",n,\" /m**3.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.15 , Page Number 73"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 18,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "The current density in the specimen is 2482.76 A/m**2\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "E = 100.0 #Electric field (in volt per meter)\n",
- "RH = 0.0145 #Hall coefficient (in cubic-meter per Coulomb)\n",
- "un = 0.36 #Mobility of electrons (in meter-square per volt-second)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "n = 1/(e * RH) #Concentration (in per cubic-meter)\n",
- "J = n * e * un * E #Current density (in Ampere per cubic-meter) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"The current density in the specimen is \",round(J,2),\" A/m**2\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.16 , Page Number 73"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 20,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Hall coefficient is 0.00027 m**3/C.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "p = 9.0 * 10**-3 #Resistivity (in ohm-meter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "u = 0.03 #Mobility of carrier ion (in meter-square per volt-second)\n",
- "\n",
- "\n",
- "#Calculation\n",
- "\n",
- "sig = 1/p #Conductivity (in per ohm-meter)\n",
- "RH = u / sig #Hall coefficient (in cubic-meter per Coulomb) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Hall coefficient is \",RH,\" m**3/C.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.17 , Page Number 73"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- " Hall coefficient is 0.0003049 m**3/C.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "p = 9.0 * 10**3 #Resistivity (in ohm-meter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "n = 2.05 * 10**22 #Charge carrier density (in per cubic-meter) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "RH = 1/(n * e) #Hall coefficient (in cubic-meter per Coulomb) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Hall coefficient is \",round(RH,7),\" m**3/C.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.18 , Page Number 73"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 26,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Hall voltage is 76.0 mV.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Ex = 5.0 * 10**2 #Applied Electric field (in volt per meter)\n",
- "ue = 3800.0 * 10**-4 #Mobility of electron (in meter-square per volt-second) \n",
- "Bz = 0.1 #Magnetic flux density (in Weber per meter-square) \n",
- "d = 4.0 * 10**-3 #width (in meter) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "v = ue * Ex #Drift velocity (in meter per second)\n",
- "VH = Bz * v * d #Hall voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Hall voltage is \",VH * 10**3,\" mV.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.19 , Page Number 74"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 30,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Mobility of holes is 0.075 m**2/V-s.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "p = 200.0 * 10 #Bar resistivity (in ohm-meter) \n",
- "VH = 50.0 * 10**-3 #Hall voltage (in volts)\n",
- "BZ = 0.1 #Magnetic flux density (in Weber per meter-square) \n",
- "w = 3.0 * 10**-3 #width (in meter)\n",
- "d = w #length (in meter)\n",
- "I = 10.0 * 10**-6 #Current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RH = VH * w / (BZ * I) #Hall coefficient (in cubic-meter per Coulomb)\n",
- "uh = RH / p #Mobility of holes (in meter-square per volt-second) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Mobility of holes is \",uh,\" m**2/V-s.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.20 , Page Number 74"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 33,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Hall voltage is 3.0 mV.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ND = 1.0 * 10**21 #Concentration of donor atoms (in per cubic-meter)\n",
- "BZ = 0.2 #Magnetic field density (in Tesla)\n",
- "J = 600.0 #Current density (in Ampere per meter-square)\n",
- "n = ND #Concentration of electrons (in per cubic-meter)\n",
- "d = 4.0 * 10**-3 #Length (in meter) \n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VH = BZ * J * d / (n * e) #Hall voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Hall voltage is \",VH * 10**3,\" mV.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.21 , Page Number 82 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 37,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "New position of Fermi level is 0.328 eV\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "T = 300.0 #Temperature (in kelvin)\n",
- "Ec_Ef = 0.3 #Energy level (in electron-volt) \n",
- "T1 = 273 + 55 #New temperature (in kelvin)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "logencbyND = Ec_Ef/T #Value of loge(nc / ND)\n",
- "Ec_Ef1 = T1 * logencbyND #New position of Fermi level (in electron-volt) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"New position of Fermi level is \",Ec_Ef1,\" eV\"\n",
- "\n",
- "#Unit in the book should be eV instead of V."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.22 , Page Number 83"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 41,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Potential barrier is 0.19 eV.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "ND = NA = 8.0 * 10**14 #Concentration (in per cubic-meter)\n",
- "ni = 2.0 * 10**13 #Intrinsic concentration (in per cubic-meter)\n",
- "k = 8.61 * 10**-5 #Boltzmann constant (in electron-volt per kelvin)\n",
- "T = 300.0 #Temperature (in kelvin)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vo = k * T * math.log(ND * NA/ni**2)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Potential barrier is \",round(Vo,2),\" eV.\"\n",
- "\n",
- "#Unit in the book should be eV instead of V."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.23 , Page Number 83"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 44,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 is 250.0 ohm.\n",
- "R2 is 40.0 ohm.\n",
- "R3 is 10.0 Mega-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ID1 = 2.0 * 10**-3 #Diode current1 (in Ampere)\n",
- "VD1 = 0.5 #Diode voltage1 (in volts)\n",
- "ID2 = 20.0 * 10**-3 #Diode current2 (in Ampere)\n",
- "VD2 = 0.8 #Diode voltage2 (in volts)\n",
- "ID3 = -1.0 * 10**-6 #Diode current3 (in Ampere)\n",
- "VD3 = -10.0 #Diode voltage3 (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R1 = VD1 / ID1 #Resistance1 (in ohm)\n",
- "R2 = VD2 / ID2 #Resistance2 (in ohm)\n",
- "R3 = VD3 / ID3 #Resistance3 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 is \",R1,\" ohm.\\nR2 is \",R2,\" ohm.\\nR3 is \",R3 * 10**-6,\" Mega-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.24 , Page Number 83"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Fraction of the total number of electrons in the conduction band at 300 K is 8.85 e-7 .\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "k = 8.61 * 10**-5 #Boltzmann constant (in electron-volt per kelvin)\n",
- "T = 300.0 #Temperature (in kelvin)\n",
- "EG = 0.72 #Energy band gap (in electron-volt) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "EF = 1.0/2 * EG #Fermi level (in electron-volt)\n",
- "ncbyn = 1/(1 + math.exp((EG-EF)/(k*T))) #Ratio\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Fraction of the total number of electrons in the conduction band at 300 K is \",round(ncbyn*pow(10,7),2),\"e-7 .\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 3.25 , Page Number 83"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Since electron concentration 5.32 e+16 is more than hole concentration 1.33 e+16 .Therefore , Si is of n-type.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "Ao = 4.83 * 10**21 #Constant\n",
- "T = 300.0 #Temperature (in kelvin)\n",
- "EG = 1.1 #Energy level (in electron-volt)\n",
- "kT = 0.026 #Product of k and T (in electron-volt)\n",
- "ND = 5.0 * 10**15 #Donor concentration (in per cubic-meter) \n",
- "NA = 2.0 * 10**16 #Acceptor concentration (in per cubic-meter) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "ni = Ao * T**1.5 * math.exp(-EG/(2*kT)) #Intrinsic concentration (in per cubic-meter)\n",
- "h = ni**2 / NA #Hole concentration (in per cubic-meter)\n",
- "n = ni**2 / ND #Electron concentration (in per cubic-meter)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Since electron concentration\",round(n*10**-16,2),\"e+16 is more than hole concentration \",round(h*10**-16,2),\"e+16 .Therefore , Si is of n-type.\"\n",
- "\n",
- "#Slight variations due to higher precision."
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter4.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter4.ipynb
deleted file mode 100644
index 3a80267f..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter4.ipynb
+++ /dev/null
@@ -1,878 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# Chapter 4 , Junction Diode"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.1 , Page Number 103 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current flowing through Germanium diode is 15.0 micro-A.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "Io = 0.15 * 10**-6 #Peak reverse biased current (in Ampere)\n",
- "V = 0.12 #Voltage (in volts)\n",
- "VT = 26.0 * 10**-3 #Volt-equivalent of temperature (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "I = Io * (math.exp(V/VT)-1) #Current flowing (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current flowing through Germanium diode is \",round(I * 10**6),\" micro-A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.2 , Page Number 103 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Forward Voltage = 0.43 V.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "I = 10 * 10**-3 #Forward biased current (in Ampere)\n",
- "Io = 2.5 * 10**-6 #Peak reverse biased current (in Ampere)\n",
- "nVT = 2*26.0 * 10**-3 #Volt-equivalent of temperature (in volts)\n",
- "n = 2 #For Silicon\n",
- "\n",
- "#Calculation\n",
- "\n",
- "V = nVT*math.log(I/Io + 1) #Forward Voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Forward Voltage = \",round(V,2),\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.3 , Page Number 103 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Reverse saturation current density is 0.16 micro Ampere.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ND = 10**21 #Donor concentration (in per cubic meter)\n",
- "NA = 10**22 #Acceptor concentration (in per cubic meter)\n",
- "De = 3.4 * 10**-3 #Diffusion constant for electron (in meter square per second)\n",
- "Dh = 1.2 * 10**-3 #Diffusion constant for holes (in meter square per second)\n",
- "Le = 7.1 * 10**-4 #Diffusion length for electrons (in meter)\n",
- "Lh = 3.5 * 10**-4 #Diffusion length for holes (in meter)\n",
- "ni = 1.6 * 10**16 #intrinsic concentration (in per cubic-meter)\n",
- "e = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Io_by_A = (Dh/(Lh*ND) + De/(Le*NA))*e*ni**2 #Reverse saturation current density (in Ampere per meter-square)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Reverse saturation current density is \",round(Io_by_A * 10**6,2),\"micro Ampere.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.4 , Page Number 107 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Dynamic resistance = 12.5 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "I = 2 * 10**-3 #Forward current (in Ampere)\n",
- "VT = 25 * 10**-3 #Volt equivalent of temperature (in Volts)\n",
- "n = 1 #eeta for the given semiconductor\n",
- "\n",
- "#Calculation\n",
- "\n",
- "r = n*VT/I #Dynamic resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Dynamic resistance = \",r,\" ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.5 , Page Number 107 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "A.C. resistance = 11.86 ohm.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables\n",
- "\n",
- "VT = 26.0 * 10**-3 #Volt equivalent of temperature (in Volts)\n",
- "V = 200 * 10**-3 #Voltage (in volts)\n",
- "Io = 1.0 * 10**-6 #Reverse saturation current (in Ampere)\n",
- "n = 1 #For Germanium\n",
- "\n",
- "#Calculation\n",
- "\n",
- "r = n*VT/(Io*math.exp(V/(n*VT)))\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"A.C. resistance = \",round(r,2),\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.6 , Page Number 108 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 8,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current flowing through the circuit is 0.043 A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vo = 0.7 #Barrier potential (in volts)\n",
- "V = 5 #Voltage (in volts)\n",
- "R = 100 #Resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "I = (V-Vo)/R #Current flowing through circuit (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current flowing through the circuit is \",I,\"A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.7 , Page Number 109"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 15,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voltage drop across 7 ohm resistance is 13.6 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vo = 0.7 #Barrier potential (in volts)\n",
- "V = 15 #Voltage (in volts)\n",
- "R = 7.0 * 10**3 #Resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "I = (V-2*Vo)/R #Current (in Ampere)\n",
- "VA = I * R #Voltage drop (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voltage drop across 7 ohm resistance is \",VA,\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.8 , Page Number 109"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 18,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voltage drop = 14.7 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "V = 15 #Voltage (in volts)\n",
- "Vo = 0.3 #Voltage across parallel connection (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VA = V - Vo #Voltage drop (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voltage drop = \",VA,\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.9 , Page Number 110"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 36,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current flowing is 62.5 mA.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Annotation at 0x4deeef0>"
- ]
- },
- "execution_count": 36,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYVNW19/HvrxFEhIAosZ0xQJhEARWMQGzAgAMxEQ1C\noqKJ3jcRFScuRCG04lWRGwZFkohDAL2CN4JRogGvoaNilICg7UAUI4kTRIO2ICFM6/1jn4ay7aG6\nu6pOddX6PE89Vp2qOmd1qbVqrz3JzHDOOZefCuIOwDnnXHw8CTjnXB7zJOCcc3nMk4BzzuUxTwLO\nOZfHPAk451we8yTgGjxJ6yUNjDuOVJD0C0nj6/C+IyVtlqR0xOVylycBl1aSfi/pxkqOf0fSh5Ia\nSfq1pEnVnOMrkqZL+lv0RbdO0jRJB0YvsegWK0klkn5Un3OY2U/M7OYkrrVe0oCE9/3dzFqYT/xx\nteRJwKXbr4HzKzl+AfCAme2imi9xSU2Ap4HOwGAzawF8A/gYODGVgSpSj1PU6wtYU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9pPfNbGD0d6wlbHH6XBTHNkmXRa/7nPAFW/43TQKmS3qF8IPqr4Q9\nXveQdFDlH9ueX9uvA53NbGVVL6vifmWPyy0AHia0jsrV6vMArgbuT+iMz8vdy/KBLyXtXA0k7W9m\nn0f37wLeNLOk5j9IOhM42sxmpjNG5+rKk4BzNYiGR44EmhA6jS81s23xRuVcangScM65POYdw845\nl8c8CTjnXB7zJOCcc3nMk4BzzuUxTwLOOZfHPAk451we+/8LYPnpnvKTZAAAAABJRU5ErkJggg==\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x4a3f310>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,annotate\n",
- "\n",
- "#Variables\n",
- "\n",
- "VS = 10.0 #Supply voltage (in volts)\n",
- "RL = 160 #Resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "I = VS / RL #Current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current flowing is \",I * 10**3,\" mA.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,10)\n",
- "plot(x,62.5 -62.5/10*x,'b')\n",
- "title(\"VI Characteristics\")\n",
- "xlabel(\"Diode Voltage , v in volts\")\n",
- "ylabel(\"Diode Forward Current , I in A\")\n",
- "annotate(\"Load Line\",xy=(5,35))"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.11 , Page Number 120"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 24,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Temperature coefficient is -0.0533 %.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "V25 = 5 #Initial voltage at 25 degree celsius (in volts)\n",
- "V100 = 4.8 #Voltage at 100 degree celsius (in volts)\n",
- "t1 = 25 #Temperature (in celsius)\n",
- "t2 = 100 #Temperature (in celsius)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "dVZ = V100 - V25 #Change in zener voltage (in volts)\n",
- "dt = t2 - t1 #Change in temperature (in celsius)\n",
- "tc = dVZ/(V25*dt) #Temperature coefficient\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Temperature coefficient is \",round(tc*100,4),\"%.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.12 , Page Number 123"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 39,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output Voltage = 8 V.\n",
- "Voltage across Rs = 12 V.\n",
- "Current through series resistance = 0 A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vs = 12 #Source voltage (in volts)\n",
- "Vout = VZ = 8 #Output voltage (in volts)\n",
- "VRs = VS - Vout #Voltage across resistance in series (in volts)\n",
- "RL = 10 * 10**3 #Load resistance (in ohm) \n",
- "Rs = 5 * 10**3 #Resistance in series (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IL = Vout/RL #Load current (in Ampere)\n",
- "Is = (Vs-Vout)/Rs #Current through series resistance (in Ampere)\n",
- "IZ = Is - IL #Current through zener diode (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output Voltage = \",Vout,\" V.\"\n",
- "print \"Voltage across Rs = \",Vs,\" V.\"\n",
- "print \"Current through series resistance = \",IZ,\" A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.13 , Page Number 123"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 43,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Maximum value of zener diode current is 9.0 mA.\n",
- "Minimum value of zener diode current is 1.0 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vout = VZ = 50 #Output voltage (in volts)\n",
- "RL = 10.0 * 10**3 #Load resistance (in ohm)\n",
- "VSmax = 120 #Maximum voltage (in volts)\n",
- "RS = 5.0 * 10**3 #Resistance in series (in ohm)\n",
- "VSmin = 80 #Minimum voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IL = Vout / RL #Load current (in Ampere)\n",
- "ISmax = (VSmax - Vout)/RS #Maximum series current (in Ampere)\n",
- "IZmax = ISmax - IL #Maximum zener current (in Ampere)\n",
- "ISmin = (VSmin - Vout)/RS #Minumum series current (in Ampere)\n",
- "IZmin = ISmin - IL #Minimum zener current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum value of zener diode current is \",IZmax * 10**3,\" mA.\\nMinimum value of zener diode current is \",IZmin * 10**3,\" mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.14 , Page Number 123"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 46,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Series resistance is 192.3 ohm.\n",
- "When the load current will decrease and become 10 mA, the zener current will increase and become 6 + 10 i.e. 16 mA. Thus the current through the series resistance RS will remain unchanged as 6 + 20 i.e. 26 mA. Thus voltage drop in series resistance RS will remain constant. Consequently the output voltage (Vout = VS - IS*RS) will also remain constant.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IZK = 6 * 10**-3 #Minimum zener current (in Ampere)\n",
- "ILmax = 20.0 * 10**-3 #Maximum load current (in Ampere)\n",
- "VS = 20 #Source voltage (in volts)\n",
- "Vout = 15 #Output voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RS = (VS - Vout)/(IZK + ILmax) #Series resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Series resistance is \",round(RS,1),\" ohm.\"\n",
- "print \"When the load current will decrease and become 10 mA, the zener current will increase and become 6 + 10 i.e. 16 mA. Thus the current through the series resistance RS will remain unchanged as 6 + 20 i.e. 26 mA. Thus voltage drop in series resistance RS will remain constant. Consequently the output voltage (Vout = VS - IS*RS) will also remain constant.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.15 , Page Number 124"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 50,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "The output voltage is 50.0 V.\n",
- "Voltage drop across RS is 70.0 V.\n",
- "Current through zener is 9.0 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VL = VZ = 50.0 #Output voltage (in volts)\n",
- "VS = 120.0 #Source voltage (in volts)\n",
- "RL = 10.0 * 10**3 #Load resistance (in ohm)\n",
- "RS = 5.0 * 10**3 #Resistance in series (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VRS = VS - VZ #Voltage across resistance in series (in volts)\n",
- "IL = VL/RL #Load current (in Ampere)\n",
- "IS = VRS / RS #Current through resistance in series (in Ampere)\n",
- "IZ = IS - IL #Current through zener diode (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"The output voltage is \",VL,\" V.\"\n",
- "print \"Voltage drop across RS is \",VRS,\" V.\"\n",
- "print \"Current through zener is \",IZ * 10**3,\" mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.16 , Page Number 124"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 54,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VL = 8.73 V.\n",
- "IZ = 0 A.\n",
- "PZ = 0.0 W.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VS = 16.0 #Source voltage (in volts)\n",
- "RL = 1.2 * 10**3 #Load resistance (in ohm)\n",
- "RS = 1.0 * 10**3 #Resistance in series (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VL = VS * RL/(RS + RL) #Voltage across load (in volts)\n",
- "IZ = 0 #Current through zener diode (in Ampere) \n",
- "PZ = VZ*IZ #Power across zener diode (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VL = \",round(VL,2),\" V.\"\n",
- "print \"IZ = \",IZ,\" A.\"\n",
- "print \"PZ = \",PZ,\" W.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.17 , Page Number 124"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 60,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VL1 = 15.0 V.\n",
- "IL1 = 47.62 \n",
- "IZ1 = 0 A.\n",
- "IR1 = 47.62 A.\n",
- "VL2 = 3.7 V.\n",
- "IL2 = 74.07 A.\n",
- "IZ2 = 0 A.\n",
- "IR2 = 74.07 A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vin = 20 #input voltage (in volts)\n",
- "RS = 220.0 #Series resistance (in ohm)\n",
- "VZ = 10 #Zener voltage (in volts)\n",
- "RL1 = 200 #Load resistance1 (in ohm)\n",
- "RL2 = 50 #Load resistance2 (in ohm)\n",
- "PZmax = 400 * 10**-3 #Power (in watt)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VL1 = Vin*RL1/(RS + RL1) #Voltage across load1 (in volts)\n",
- "IL1 =IR=Vin/(RS + RL1) #Load1 current (in Ampere)\n",
- "IZ1 = 0 #Zener current 1 (in Ampere)\n",
- "VL2 = Vin*RL2/(RS + RL2) #Voltage across load2 (in volts)\n",
- "IL2 =IR=Vin/(RS + RL2) #Load2 current (in Ampere)\n",
- "IZ2 = 0 #Zener current 2 (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VL1 = \",round(V,2),\" V.\"\n",
- "print \"IL1 = \",round(IL1*10**3,2),\"\"\n",
- "print \"IZ1 = \",IZ1,\" A.\"\n",
- "print \"IR1 = \",round(IL1*10**3,2),\" A.\"\n",
- "\n",
- "print \"VL2 = \",round(VL2,1),\" V.\"\n",
- "print \"IL2 = \",round(IL2*10**3,2),\" A.\"\n",
- "print \"IZ2 = \",IZ2,\" A.\"\n",
- "print \"IR2 = \",round(IL2*10**3,2),\" A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.18 , Page Number 125"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 61,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voltage drop across 5 kilo-ohm resistor is 50 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VS = 100 #Source voltage (in volts)\n",
- "VL = VZ = 50 #Voltage across load (in volts)\n",
- "V = 10.0/(10 + 5) #Voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VR = VS - VL #Voltage across resistance using KVL (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voltage drop across 5 kilo-ohm resistor is \",VR,\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.19 , Page Number 125"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 68,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Ri for minimum voltage is 25.0 ohm.\n",
- "Ri for maximum voltage is 25.0 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "V = 12 #Voltage (in volts)\n",
- "R = 120 #Resistance (in ohm)\n",
- "VDCmin = 15 #Minimum dc voltage (in volts)\n",
- "VZ = 12 #Zener voltage (in volts)\n",
- "VDCmax = 19.5 #Maximum dc voltage (in volts)\n",
- "IZmin = 20 * 10**-3 #Minimum current through zener (in Ampere) \n",
- "IL = 100 * 10**-3 #Current through load (in Ampere)\n",
- "IZmax = 200 * 10**-3 #Maximum current through zener (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VSmin = VDCmin - VZ #Minimum voltage across Ri (in volts)\n",
- "VSmax = VDCmax - VZ #Maximum voltage across Ri (in volts)\n",
- "ISmin = IZmin + IL #Minimum current through Ri (in Ampere)\n",
- "Rimin = VSmin/ISmin #Resistance Ri1 (in ohm)\n",
- "ISmax = IZmax + IL #Minimum current through Ri (in Ampere)\n",
- "Rimax =VSmax/ISmax #Resistance Ri2 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Ri for minimum voltage is \",Rimin,\" ohm.\"\n",
- "print \"Ri for maximum voltage is \",Rimax,\" ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 4.20 , Page Number 126 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 78,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Range of RL : From 250.0 ohm to 1.25 kilo-ohm.\n",
- "Range of IL : From 8.0 mA to 40.0 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vi = 50.0 #Voltage (in volts)\n",
- "R = 1.0 * 10**3 #Resistance (in ohm)\n",
- "VZ = 10.0 #Voltage across zener (in volts)\n",
- "IZmax = 32.0 * 10**-3 #Maximum current across zener (in Ampere)\n",
- "IZmin = 0.0 #Minimum current across zener (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IR = (Vi - VZ)/R #Supply current (in Ampere)\n",
- "ILmax = IR - IZmin #Maximum load current (in Ampere)\n",
- "RLmin = VZ/ILmax #Minimum corresponding load resistance (in ohm)\n",
- "ILmin = IR - IZmax #Minimum load current (in Ampere) \n",
- "RLmax = VZ/ILmin #Maximum corresponding load resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Range of RL : From \",RLmin,\"ohm to \",RLmax*10**-3,\" kilo-ohm.\"\n",
- "print \"Range of IL : From \",ILmin* 10**3,\" mA to \",ILmax*10**3,\" mA.\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter5.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter5.ipynb
deleted file mode 100644
index 8ce58f25..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter5.ipynb
+++ /dev/null
@@ -1,1355 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 5 , Diode Applications - DC Power Supplies and Waveshaping Circuits "
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.1 , Page Number 140"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Idc = 1.957 A.\n",
- "Irms = 3.074 A.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables \n",
- "\n",
- "VSrms = 10 #Supply voltage\n",
- "VSmax = 10* 2**0.5 #Peak value of supply voltage (in volts)\n",
- "RF = 0.3 #Forward resistance (in ohm)\n",
- "RL = 2 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Imax = VSmax/(RL + RF) #Peak value of current in load (in Ampere)\n",
- "Idc = Imax/math.pi #DC ouput current (in Ampere)\n",
- "Irms = Imax/2 #RMS value of output current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Idc = \",round(Idc,3),\" A.\"\n",
- "print \"Irms = \",round(Irms,3),\" A.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.2 , Page Number 141"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 2,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Imax = 148.156 mA.\n",
- "Idc = 47.16 mA.\n",
- "Irms = 74.078 mA.\n",
- "PIV = 311.127 V.\n",
- "Load output voltage = 94.32 V.\n",
- "DC output power = 4.448 W.\n",
- "AC input power = 11.524 W.\n",
- "Ripple factor = 1.21 .\n",
- "Transformer utilisation factor = 0.2724 .\n",
- "Rectification efficiency = 38.6 %.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables \n",
- "\n",
- "VSrms = 220.0 #Supply voltage\n",
- "VSmax = 220.0 * 2**0.5 #Peak value of supply voltage (in volts)\n",
- "RF = 100.0 #Forward resistance (in ohm)\n",
- "RL = 2.0 * 10**3 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Imax = VSmax/(RL + RF) #Maximum value of current (in Ampere)\n",
- "Idc = Imax/math.pi #DC ouput current (in Ampere)\n",
- "Irms = Imax/2 #RMS value of output current (in Ampere) \n",
- "PIV = VSmax #Peak inverse voltage (in volts)\n",
- "Vdc = Idc*RL #Load output voltage (in volts)\n",
- "Pdc = Idc**2 * RL #DC output power (in watt)\n",
- "Pac = Imax**2/4*(RF + RL) #AC input power (in watt)\n",
- "gamma = ((Irms/Idc)**2 - 1)**.5 #Ripple factor \n",
- "TUF = 0.286/(1 + RF/RL) #Transformer utilisation factor\n",
- "eeta = Pdc/Pac * 100 #Rectification efficiency\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Imax = \",round(Imax * 10**3,3),\" mA.\\nIdc = \",round(Idc * 10**3,2),\" mA.\\nIrms = \",round(Irms * 10**3,3),\" mA.\"\n",
- "print \"PIV = \",round(PIV,3),\" V.\"\n",
- "print \"Load output voltage = \",round(Vdc,2),\" V.\"\n",
- "print \"DC output power = \",round(Pdc,3),\" W.\\nAC input power = \",round(Pac,3),\" W.\"\n",
- "print \"Ripple factor = \",round(gamma,2),\".\"\n",
- "print \"Transformer utilisation factor = \",round(TUF,4),\".\"\n",
- "print \"Rectification efficiency = \",round(eeta,1),\"%.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.3 , Page Number 141"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Percentage voltage regulation : 4.76 %.\n"
- ]
- }
- ],
- "source": [
- "#Variables \n",
- "\n",
- "VNL = 44.0 #No load voltage (in volts)\n",
- "VFL = 42.0 #Full load voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Reg = (VNL - VFL)/VFL * 100 #Percentage voltage regulation \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Percentage voltage regulation : \",round(Reg,2),\" %.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.4 , Page Number 141"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "DC output voltage : 4.4 V.\n",
- "PIV : 17.0 V.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables \n",
- "\n",
- "RF = 10 #Forward resistance (in ohm)\n",
- "IL = 100 * 10**-3 #Load current (in Ampere)\n",
- "VSrms = 12 #RMS value of supply voltage (in volts)\n",
- "VSmax = 12 * 2**0.5 #Maximum value of supply voltage (in volts)\n",
- "Idc = 0.1 #DC current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vdc = VSmax/math.pi - Idc*RF #DC output voltage (in volts)\n",
- "PIV = VSmax #Peak inverse voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"DC output voltage : \",round(Vdc,1),\" V.\"\n",
- "print \"PIV : \",round(PIV),\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.5 , Page Number 146 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 19,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Peak value of current : 0.109 A.\n",
- "Average value of current : 0.0694 A.\n",
- "RMS value of current : 0.077 A.\n",
- "Ripple factor : 0.483 .\n",
- "Efficiency of rectifier : 73.82 %.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables \n",
- "\n",
- "VSmax = 60.0 #Maximum value of supply voltage (in volts)\n",
- "RF = 50.0 #Forward resistance (in ohm)\n",
- "RL = 500.0 #Load resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Imax = VSmax/(RL + RF) #Peak current (in Ampere)\n",
- "Idc = 2*Imax/math.pi #Average current (in Ampere)\n",
- "Irms = Imax/2**0.5 #RMS value of current (in Ampere)\n",
- "r = ((Irms/Idc)**2 - 1)**0.5 #Ripple factor \n",
- "n = 0.812/(1 + RF/RL)*100 #Efficiency of rectifier \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Peak value of current : \",round(Imax,3),\" A.\\nAverage value of current : \",round(Idc,4),\" A.\\nRMS value of current : \",round(Irms,3),\" A.\"\n",
- "print \"Ripple factor : \",round(r,3),\".\"\n",
- "print \"Efficiency of rectifier : \",round(n,2),\"%.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.6 , Page Number 147"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "DC output voltage : 10.8 V.\n",
- "DC load current : 108.0 mA.\n",
- "PIV rating required : 33.94 V.\n"
- ]
- }
- ],
- "source": [
- "import math \n",
- "\n",
- "#Variables \n",
- "\n",
- "VSmax = 12 * 2**0.5 #Peak value of supply voltage (in volts)\n",
- "RL = 100.0 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Idc = 2*VSmax/(RL*math.pi) #Average current (in Ampere)\n",
- "Vdc = Idc * RL #Average voltage (in volts)\n",
- "PIV = 2*VSmax #Peak inverse voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"DC output voltage : \",round(Vdc,1),\" V.\"\n",
- "print \"DC load current : \",round(Idc * 10**3),\" mA.\"\n",
- "print \"PIV rating required : \",round(PIV,2),\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.7 , Page Number 153 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 8,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output DC voltage : 25.46 V.\n",
- "Ripple fator : 0.0149 .\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables \n",
- "\n",
- "VLmax = VSmax = 40.0 #Peak value of supply voltage (in volts)\n",
- "f = 50 #Frequency (in Hertz) \n",
- "w = 2*math.pi*50 #Angular frequency (in rad/sec)\n",
- "L = 2.0 #Inductance (in Henry)\n",
- "C = 40 * 10**-6 #Capacitance (in Farad) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vdc = 2*VSmax/math.pi #Average voltage (in bolts)\n",
- "r = 1/(6*2**0.5*w**2*L*C) #Ripple factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output DC voltage : \",round(Vdc,2),\"V.\"\n",
- "print \"Ripple fator : \",round(r,4),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.8 , Page Number 161"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Peak output voltage : 14.3 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables \n",
- "\n",
- "Vo = 0.7 #Barrier potential (in volts)\n",
- "Vinpeak = 15 #Peak input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Voutpeak = Vinpeak - Vo #Peak output voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Peak output voltage : \",Voutpeak,\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.9 , Page Number 161"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage (rms value) : 1.27 V.\n"
- ]
- }
- ],
- "source": [
- "import math\n",
- "\n",
- "#Variables \n",
- "\n",
- "R1 = 2.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 1.0 * 10**3 #Resistance2 (in ohm)\n",
- "Vinpeak = 10 #peak input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RL = R1*R2/(R1+R2) #Load resistance (in ohm)\n",
- "Voutpeak = Vinpeak*RL/(R2+RL) #Peak voltage across load resistance (in ohm)\n",
- "Vrms = Voutpeak/math.pi #RMS value of output voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage (rms value) : \",round(Vrms,2),\" V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.10 , Page Number 162 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 29,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Voutpeak : 8.0 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x6186270>"
- ]
- },
- "execution_count": 29,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEZCAYAAABoy7XpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYFGW2x/HvASOiYFpMKCbMIgaMaKsouIKuuurqLmYx\noawZWAOIAXTNrq4RXROoKFdABfHakiRIDiqYERX1oigCLsK5f7wNtuMw08N0dXVX/z7PMw/dVdVV\np6aY02+99QZzd0REJBnqxB2AiIjkj5K6iEiCKKmLiCSIkrqISIIoqYuIJIiSuohIgiipixQBMzvO\nzGab2Y9m1izueKR0KalLXpnZGWY21cx+MrMvzex+M2tQg89/YmaH5TGeKvdnZu+b2UlZ7w80s2WV\nLPvBzKL8e/kncKG7r+vukyM8jiSckrrkjZldDvQELgfWA/YDtgJeN7PVc9yNA5bHsKrb31vAwVnv\nDwbeq2TZKHdflse4VjAzA7YEZqzi5/V3LCvoP4PkhZmtB3QDOrr7EHdf6u6fAicBTYC/ZbZ73Mx6\nZH0uZWazM6+fJCS3AZlqiCvMrEmm5Hyumc0xsy8yXx6syv4qCX0Yv03gBwG9KixrmdkOM3s+cwfy\nvZm9ZWY7Z5bvm1m+4gskU6UyOfO6jpl1NrMPzOxbM+trZuub2ZrAj0BdYLKZzcpsv5OZpc3sOzOb\nZmbtKpzzA2b2ipktAA7N3JFcYWZTMuf6qJk1MrNXzWy+mb1uZg2ru45S+pTUJV8OANYCXsxe6O4/\nAa8ARyxflPn5HXdvD3wGtM1UQ/wza3UK2A44ErjazA6v5f6WGw7sYmYNMyXevYG+QMOsZQeQSerA\noEwcGwMTgKczxxoD/AQcnrXvU5evBy4GjiF8WWwKfAf8y91/dvf6mW12d/ftM3c1A4DXMse5GHja\nzJpm7fsUoEfmsyMyv4PjM8ffAWgLvAp0Bv5A+Fu/pLLfkySLk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RJXUQkQZTURUQSREldRCRB\nlNSlLJlZAzO7IO44RPJNSV3K1frAhblsaGbrZTqPiBQ9/UeVctUT2DYz0UKvarZtCbxnZtebWeNq\nthWJlXqUSlkys62Age6+W47bbwi0B04HviKMUfI/mbH0RYqGkrqUpcx43QNyTeoVPrs/8BjwX3dv\nlufQRGpF1S8iFZjZhZlqmQlmtmnW8p3N7DbCLDXDgXNiC1JkJVRSl7KUqU4Z7+5Ncth2T+BfwDLg\nEaBv1hRlIkVFSV3Klpk9DexOmPT36iq22xFwd3+/YMGJrCIldRGRBFGduohIgiipi4gkiJK6iEiC\nKKmLiCSIkrqISIIoqYuIJIiSuohIgiipi4gkyP8DfvkGq0AcxjUAAAAASUVORK5CYII=\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x702b130>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "R1 = 20.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 10.0 * 10**3 #Resistance2 (in ohm)\n",
- "Vinpeak = 20 #peak input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RL = R1*R2/(R1+R2) #Load resistance (in ohm)\n",
- "Voutpeak = Vinpeak*RL/(R2+RL) #Peak voltage across load resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Voutpeak : \",Voutpeak,\"V.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,math.pi,100)\n",
- "y = numpy.sin(x)\n",
- "plot(x,8*y,'b')\n",
- "ylim(0,9)\n",
- "xlim(0,math.pi)\n",
- "title(\"Output Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.11 , Page Number 162"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 15,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Peak output voltage : 10.0 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x6dc1210>"
- ]
- },
- "execution_count": 15,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYMAAAEZCAYAAAB1mUk3AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYlOW5x/HvDYiIEDBAKKJijRKDDY0V10bA2LBiYu+x\nJ6KxJNZzbMESY4wJAmpUjJqoWPBY4ioiQaqIgAEVFGxYwALCAvf543nRdbPszu7OzPO+M7/Pde3F\nzOy7s79dYO55urk7IiJS3prFDiAiIvGpGIiIiIqBiIioGIiICCoGIiKCioGIiKBiIJJpZjbAzN41\nsy/MbKvYeSS7VAwkFczsODN7zcy+MrP3zew2M2vXgK+fY2Z75jFPnc9nZm+Y2eHV7u9iZitreexz\nMyvk/7PBwOnu3tbdXy3g95ESp2Ig0ZnZecC1wHnA94AdgQ2AZ8xsjRyfxgHLY6z6nu8FoE+1+32A\nmbU89rK7r8xjrm+YmQHrA9Mb+fX6/y/f0D8GicrMvgdcDpzp7k+7+wp3nwscDvQAjkquu9PMrqr2\ndRVm9m5y+2+EF8XHku6SQWbWI3mnfrKZzTez95KiQ2Oer5boL/LdF/5dgetqPLZbch1m9mDS4llo\nZi+YWc/k8Z8kj39TeJKun1eT283M7EIzm21mH5vZ381sHTNbE/gCaA68amazkuu3MLNKM/vMzKaZ\n2f41fuY/m9mTZvYlsEfSAhpkZlOTn3WomXU2s1FmtsjMnjGz9vX9PUr2qRhIbDsDrYB/Vn/Q3b8C\nngT2WfVQ8vFf3P1o4B1gv6S7ZHC1T1cAmwB9gd+Y2V5NfL5VRgM/MrP2yTvs3sDf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bsPjxwrF7sARwFTzWzVi+lF\n7v5UxEy56Arclcy0aAb8zd2fi5ypMbLSLdoZeDi8d6AFcK+7Px03Us7OAu5N3ly+CRwfOU9OkqK7\nN5C38ZlMTS0VEZHCyFo3kYiIFICKgYiIqBiIiIiKgYiIoGIgIiKoGIiICCoGIg1iZu3M7Jexc4jk\nm4qBSMOsA5yey4Vm9r1k4ZtI6ukfqkjDXAtsnBwqcl091+4GzDSzy8xsvXquFYlKK5BFGsDMNgAe\nz/WQIjPrABwNHAt8QNjr6dHkPA6R1FAxEGmA5FyHxxpzYp2Z7QQMA5a5+1Z5jibSJOomEskTMzs9\n6T6aZGZdqz3e08x+D9wFjAZOihZSZDXUMhBpgKTbZ6K798jh2m2BPxFOLbsD+Hu14zhFUkXFQKSB\nzOxeoBfwpLv/po7rNgfc3d8oWjiRRlIxEBERjRmIiIiKgYiIoGIgIiKoGIiICCoGIiKCioGIiKBi\nICIiqBiIiAjw/wCL3MAebnEQAAAAAElFTkSuQmCC\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x7504050>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vinpeak = 12.0 #Peak input voltage (in volts)\n",
- "Vo = 0.7 #Barrier potential (in volts)\n",
- "RS = 500 #Series resistance (in ohm)\n",
- "RL = 2.5 * 10**3 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Voutpeak = Vinpeak*RL/(RS+RL) #Peak output voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Peak output voltage : \",Voutpeak,\" V.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,math.pi,100)\n",
- "x1 = numpy.linspace(math.pi,2*math.pi,100)\n",
- "x2 = numpy.linspace(math.pi,2*math.pi,100)\n",
- "x3=numpy.linspace(0,8,100)\n",
- "y2 = numpy.sin(x2)\n",
- "y = numpy.sin(x)\n",
- "plot(x,8*y,'b')\n",
- "plot(x1,-0.7+x1-x1,'b')\n",
- "plot(x2,12*y2,'--')\n",
- "plot(x3,0+x3-x3,'k')\n",
- "ylim(-13,9)\n",
- "xlim(0,2*math.pi+1)\n",
- "title(\"Output Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.12 , Page Number 163 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 20,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "PIV of diode : 5 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x7d41190>"
- ]
- },
- "execution_count": 20,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXUAAAEZCAYAAABoy7XpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xd4VGX2wPHvAQQBFV1UbLjYcNddC65trUEREUUs6IKi\ngFhWRd1dXbsSfz4iCq4dBQQUKWIBCzZUCDYsdBDEgiJ2UIo0ieT8/jgTiRDIJLl33pk75/M8PCQz\nN/eegcyZ977lvKKqOOecS4YaoQNwzjkXHU/qzjmXIJ7UnXMuQTypO+dcgnhSd865BPGk7pxzCeJJ\n3bksICKniMh8EflZRPYNHY/LXZ7UXaREpLOIzBCR5SLyrYj0EZEGlfj5L0Tk6Ajj2ej5RGSOiJxR\n5vvDRKSknMeWikic75fewMWqurmqTovxOi7hPKm7yIjIFUBP4ApgC+AQ4I/AqyKySZqnUUAiDKui\n840Hjizz/ZHAR+U89o6qlkQY129ERICdgVlV/Hl/H7vf+C+Di4SIbAEUAt1UdYyqrlHVecA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qKT+NdC4zPeNsda6y0IisgnwNDBEVZ8J\nHU+UUre9LwC5vkXLocBJqf7n4cDRIjI4cEyRUNVvU38vAEZh3be57CvgK1X9IPX9U1iSj0SopD4R\n2ENEmohIbeAfwHOBYnEbISICDABmqerdoeOJgohsLSJbpr6uCxwLVFDQNLup6nWq2lhVdwHaA2NV\n9ZzQcVWXiNQTkc1TX9cHWgI5PbtMVb8D5otI09RDLYAPozp/kFJaSV2YJCLDgaOAhiIyH7hJVdPc\nWTBrHQZ0BKaLSGniu1ZVXw4YU3VtDzwqIjWwhs1jqvp64JiilpQuzkbAKGtbUAsYqqpjwoYUiUuB\noalG7WdAZFWwfPGRc84lSPDt7JxzzkXHk7pzziWIJ3XnnEsQT+rOOZcgntSdcy5BPKk751yCeFJ3\neUlEGojIRaHjcC5qntRdvtoKuDidA0Vki9RCJeeynv+iunzVE9gttfHC7RUcewTwkYh0F5HGFRzr\nXFC+otTlJRH5IzA63c1MRKQhcDbQCfgOq4fzbGo/AOeyhid1l5dSteGfr8oOVSLyd2AgsFpV9404\nNOeqxbtfnFuHiFyc6paZLCLbl3l8LxHpBTwKvAmcFyxI5zbAW+ouL6W6UyapapM0jt0feADbUehh\nYESZ7fCcyyqe1F3eEpGhwD7Ai6p69UaO+xOgqjonY8E5V0We1J1zLkG8T9055xLEk7pzziWIJ3Xn\nnEsQT+rOOZcgntSdcy5BPKk751yCeFJ3zrkE8aTunHMJ8v87OAaDXCzckwAAAABJRU5ErkJggg==\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x7cb4d50>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vi = 10 #Input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vo = Vi * 1.0/2 #Output voltage (in volts)\n",
- "Vdc = 0.636 * Vo #DC output voltage (in volts)\n",
- "PIV = 5 #Peak inverse voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"PIV of diode : \",PIV,\"V.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,math.pi,100)\n",
- "y = numpy.sin(x)\n",
- "x1 = numpy.linspace(math.pi,2*math.pi,100)\n",
- "y1 = numpy.sin(x1)\n",
- "ylim(0,8)\n",
- "xlim(0,2*math.pi)\n",
- "plot(x,5*(y),'b')\n",
- "plot(x1,-5*(y1),'b')\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,0+x1-x1,'k')\n",
- "plot(x,5+x-x,'--',color='g')\n",
- "plot(x1,5+x1-x1,'--',color='g')\n",
- "title(\"Output Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.13 , Page Number 164"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 32,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "PIV rating of diode : 200 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x802a9d0>"
- ]
- },
- "execution_count": 32,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8XPP9x/HXJxJq32KLhlQqtSu/8hOKq0hrjWoRGvtO\nKa0l8UOitQRtSaUSuyArWoJSgkjTEA1BKgjaiIiENCGRhOQmn98fnzM1ubk3mXvvzJyZe97PxyOP\nzJw5c87nzr1zPue7m7sjIiLZ1CrtAEREJD1KAiIiGaYkICKSYUoCIiIZpiQgIpJhSgIiIhmmJCCS\nMLN7zew3acdRKcxsL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5+mbu3d/dv\nEY16z7n7CWnHVQncfQbwoZl1SjYdALyZYkiV5m1gDzNbPfl+HUB0LmhxKmqwWEM0iGyl9gK6A2+Y\n2YRkW093fyrFmCqRqhWXdR4wKLmxeh/QUj8Jd389KTWOJ9qTXgVWMA1b9dJgMRGRDKuW6iARESkB\nJQERkQxTEhARyTAlARGRDFMSEBHJMCUBEZEMUxIQKYCZrWtmZ6cdh0ixKQmIFGZ94JxCdjSzdcxM\n3y2pCvpDFSlMH6BjsjjN9SvZd2/gbTPrZWbtV7KvSKo0YlikAGa2JfB4ssBIIftvCBwPnAjMIOZ2\nejRZD0OkYigJiBQgWafhsUKTQJ33dgbuBha5+85FDk2kWVQdJNJMZnZOUk30qpltlrd9OzO7ERgI\n/A04LbUgRRqgkoBIAZLqnVfcvUMB++4K/JGYffJOYJi7LyhthCJNoyQgUiAzG0QsyP4Xd790Bftt\nA7i7v1O24ESaSElARCTD1CYgIpJhSgIiIhmmJCAikmFKAiIiGaYkICKSYUoCIiIZpiQgIpJhSgIi\nIhn2/7EYzCDf36DyAAAAAElFTkSuQmCC\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x86934f0>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vimax = 200 #Peak input voltage (in volts)\n",
- "R = 10 * 10**3 #Resistance (in ohm)\n",
- "RL = 4 * 10**3 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Iimax = Vimax/R #Peak input current (in Ampere) \n",
- "VLmax = Iimax * RL #Peak voltage across load (in volts) \n",
- "PIV = 200 #Peak inverse voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"PIV rating of diode :\",PIV,\"V.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x1 = numpy.linspace(0,math.pi,100)\n",
- "x2 = numpy.linspace(math.pi,2*math.pi,100)\n",
- "x3 = numpy.linspace(2*math.pi,3*math.pi,100)\n",
- "y1 = numpy.sin(x1)\n",
- "y2 = numpy.sin(x2)\n",
- "y3 = numpy.sin(x3)\n",
- "plot(x1,80*(y1),'b')\n",
- "plot(x2,(-1)*80*(y2),'b')\n",
- "plot(x3,80*(y3),'b')\n",
- "plot(x1/2,80+x1-x1,'--',color='g')\n",
- "xlim(0,3*math.pi)\n",
- "ylim(0,200)\n",
- "annotate('80 V',xy=(0.5 ,80))\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.14 , Page Number 165 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 33,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "During positive half , Output voltage Vo = 2 V when Vi < 2 V.\n",
- "Output voltage Vo = Vi when Vi > 2 V.\n",
- "During negative half , Output voltage Vo = 2 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables \n",
- "\n",
- "Vo = 2 #Output voltage when Vi < 2 V (in volts)\n",
- "#Vo1 = Vi #Output voltage when Vi > 2 V (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vo = 2 #Output voltage during negative half (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"During positive half , Output voltage Vo = 2 V when Vi < 2 V.\\nOutput voltage Vo = Vi when Vi > 2 V.\"\n",
- "print \"During negative half , Output voltage Vo = 2 V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.15 , Page Number 166 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 38,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "During positive half , Output voltage : 5.0 V.\n",
- "During negative half , Output voltage : -10 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "(-12, 10)"
- ]
- },
- "execution_count": 38,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEZCAYAAAB4hzlwAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFpxJREFUeJzt3XmYbHV95/H3R66iiGxiwuKVqygqM0bgMT6gAndciCtE\nZ3CLqNGYGY1LJjFBzTyCk5lBx8TJ6swkCkHDFtcBFxTUi6igQcCwXRGVsCMIgmvC8p0/zukfRdPd\nt/re7j5V975fz1NP1zl16pxv1+muz/n9fqfqpKqQJAngfkMXIEmaHIaCJKkxFCRJjaEgSWoMBUlS\nYyhIkhpDQRqR5O+S/PHQdUyKJE9N8p0kP05y6ND1aPkZCtqgJK9OclGSnya5Psn7k2y/iOdfmeTp\nS1jPvOtLsnuSO5I8ao7HPpHkvRtYffU3kqxNcvWmV7x4ST6X5A9HpndPcvc8835pGUv5r8BfVNVD\nqurUZdyOJoShoAUl+X3g3cDvA9sB+wN7AGckuf+YqykgS1jWvOurqmuBLwBHjM5PshPwHODvxlj/\nUta6sc4CDhqZPghYP8e8y6vqB8tYxyOASzfmiUm2WuJatAIMBc0ryXbA0cAbq+rzVXVXVf0z8GJg\nDfCKfrl7dbmMHmEn+TDdG8tpfRfEW5Os6Y9wX5fk2iTX9eHDxqxvjtKPZ1YoAC8FLqmqS5I8Psm6\nJLcmuTjJC2YtW0m2AT4L7NZv5/YkuyR5cpJz+udel+QvR8MxySFJvp3kR0n+OslZSV478vhrklya\n5JYkpyd5xDwv/9nAU0emnwb8GfCkkXkHAl/u1/vnSa5KcluS85I8rZ+/W5KfJdlxpIZ9k9w086Y9\nX01Jvgs8qn+tb09y/359pyb5Yd+t9Fsj6z06yUeTfDjJbcCr+9f5vyX5av86nppk5yQn9LV+I8ke\n87wGGoChoIU8BXgg8PHR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tV9coha0qyTZKH9PcfDBxCN0g4mKq6Abg6yV79rGcClwxY0mwvowv1SbAe2D/J\ng/r/w2cCg3eTJvml/ucjgBcyT1fbqpUsalNV1Z1J3gh8jm6Q8oNVddnAZZHkJOBg4KFJrgbeWVXH\nDVzWU4FXAP+UZOaN9+1VdfqANe0KHJ/kfnQHJB+uqi8MWM9cJqGL8peBT3TvJ6wCTqiqzw9bEgBv\nAk7oD8i+C/zmwPUALTifCUzC2AtV9a2+tXkeXRfN+cDfDFsVAB9N8lC6QfA3VNXtcy3k11xIkppp\n6z6SJC0jQ0GS1BgKkqTGUJAkNYaCJKkxFCRJjaEgLUKS7ZO8fug6pOViKEiLsyPwhnEWTLJd/0E9\naWr4BystzruBPfsLurxnA8seCKxPclSS1RtYVpoIfqJZWoQkewCfqqonjLn8Q4EjgFcBN9B9H9X/\n668HIk0cQ0FahP7aFKeNGwqznnsAcCzwr1X1xCUuTVoSdh9JSyTJG/pupfOT7Doyf+8k76W7nOXZ\nwG8NVqS0AbYUpEXou4O+WVVrxlh2P+Cv6b4p8wPAKSOXI5UmkqEgLVKSE4BfAT5TVUcusNzjgKqq\nOS9mIk0iQ0GS1DimIElqDAVJUmMoSJIaQ0GS1BgKkqTGUJAkNYaCJKkxFCRJzf8HrlMfb6z5gHsA\nAAAASUVORK5CYII=\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x8939390>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vi = 10 #Input voltage (in volts)\n",
- "V1 = 2.5 #Voltage (in volts)\n",
- "Rnet = 3 * 10**3 #Net resistance (in ohm)\n",
- "R1 = 2.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 1.0 * 10**3 #Resistance2 (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "I = (Vi - V1)/Rnet #Current (in Ampere)\n",
- "Vo = I * (R2) + 2.5 #Output voltage positive half (in volts)\n",
- "Voneg = -Vi #Output voltage negative half (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"During positive half , Output voltage : \",Vo,\"V.\"\n",
- "print \"During negative half , Output voltage : \",Voneg,\"V.\" \n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,9,100) \n",
- "x1 = numpy.linspace(0,3,100)\n",
- "x2 = numpy.linspace(3,6,100)\n",
- "x3 = numpy.linspace(6,9,100)\n",
- "y1 = numpy.linspace(-10,5,100)\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,-10+x1-x1,'--',color='g')\n",
- "plot(x1,5-x1+x1,'b')\n",
- "plot(x2,-10+x2-x2,'b')\n",
- "plot(x3,5+x3-x3,'b')\n",
- "plot(3+y1-y1,y1,'b')\n",
- "plot(6+y1-y1,y1,'b')\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")\n",
- "xlim(0,9)\n",
- "ylim(-12,10)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.16 , Page Number 166"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 39,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "During positive half , peak voltage : 12 V.\n",
- "During negative half , peak voltage : -8 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x9864710>"
- ]
- },
- "execution_count": 39,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYMAAAEZCAYAAAB1mUk3AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcFPW57/HPIyAqAu6iiKBGoiRGUePBlYka3MUNNbgh\n6Mk92c81i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56Mn8Cp9mNsDMriM89eoB4LJoQYo0Q3cGIm2Q\nNPs84e79Clj3YOC/gQ2E+v83u/uHpY1QpH2UDETayMxuAr4E3OHuV7aw3n6Eh109V7bgRNpJyUBE\nRNRnICIiSgYiIoKSgYiIoGQgIiIoGYiICEoGIiKCkoGIiKBkICIiwP8Ar9uYYw/8STMAAAAASUVO\nRK5CYII=\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x8f02ef0>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "V1 = 12 #Voltage1 (in volts)\n",
- "V2 = 8 #Voltage2 (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vopos = V1 #Peak Output voltage during positive half (in volts)\n",
- "Voneg = -V2 #Peak Output voltage during negative half (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"During positive half , peak voltage : \",Vopos,\"V.\\nDuring negative half , peak voltage : \",Voneg,\"V.\"\n",
- "\n",
- "#Graph \n",
- "\n",
- "x = numpy.linspace(0,24,100)\n",
- "x1 = numpy.linspace(0,2,100)\n",
- "x2 = numpy.linspace(2,6,100)\n",
- "x3 = numpy.linspace(6,8,100)\n",
- "x4 = numpy.linspace(8,8+8.0/6,100)\n",
- "x5 = numpy.linspace(8+8.0/6,12+8.0/6,100)\n",
- "x6 = numpy.linspace(12+8.0/6,12+2*8.0/6,100)\n",
- "x7 = numpy.linspace(12+2*8.0/6,14+2*8.0/6,100)\n",
- "x8 = numpy.linspace(14+2*8.0/6,18+2*8.0/6,100)\n",
- "x9 = numpy.linspace(18+2*8.0/6,20+2*8.0/6,100)\n",
- "x10 = numpy.linspace(0,8+8.0/6,100)\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,6*x1,'b')\n",
- "plot(x2,12-x2+x2,'b')\n",
- "plot(x3,12-6*(x3-6),'b')\n",
- "plot(x4,-6*(x4-8),'b')\n",
- "plot(x5,-8+x5-x5,'b')\n",
- "plot(x6,-8+6*(x6-(12+8.0/6)))\n",
- "plot(x7,6*(x7-(12+2*8.0/6)),'b')\n",
- "plot(x8,12-x8+x8,'b')\n",
- "plot(x9,12-6*(x9-(18+2*8.0/6)),'b')\n",
- "plot(x10,-8+x10-x10,'--',color='g')\n",
- "plot(x1,12+x1-x1,'--',color='g')\n",
- "ylim(-20,15)\n",
- "xlim(0,20+2*8.0/6)\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.17 , Page Number 167 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 44,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Following is the output wave generated when Vinmax is changed to 60 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x9d5c490>"
- ]
- },
- "execution_count": 44,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEZCAYAAACNebLAAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcVNWd9/HPT1AUFRA3RBAURMEVRQXXFpfgirtxIbhH\nesw4mcxEk5lXJJln1BnzzDM6Iy2uAVlUxCi449KiEbeIoihBUQQUEfe4s/yeP87tWLTVTVd1VZ97\nq77v16tfVN2uuvdLQ9fvnnPuPcfcHRERkcbWiR1ARETSSQVCRETyUoEQEZG8VCBERCQvFQgREclL\nBUJERPJSgRDJYWZ/MLN/i50jLcxsPzN7w8z+ambHxs4jbUsFQtbKzM4ys1fM7EszW2pmY8yscwHv\nX2hmQ0uYp8n9mdnWZrbCzLbL870/mtlVa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n8pkHDDazDZJ//0MJA/9pNQ0YmTweCaTyJCZZnvifgeHu/k3sPPm4+yvuvqW7b5v8Li0hXKyQxqJ7\nNzAUIPl9Ws/dP2rqxZkqEMmZ2UXAQ4RfvtvdPVVXsyT2A84EDk4uH52d/EdPuzR3M/wMmGhmLxOu\nYro8cp41uPvLwHjCSUxDP/T18RJ9z8wmA08DO5jZYjM7G7gSOMzM5hM+MK6MmRHy5jyHsDzxRoTl\niWeb2ZioIVkjZ7+cn2euVPweNZHzZmC75NLXyUCzJ4SaakNERPLKVAtCRETajgqEiIjkpQIhIiJ5\nqUCIiEheKhAiIpKXCoSIiOSlAiFSADPrbGajYucQaQsqECKF2QSobckLzayTmel3TDJL/3lFCnMl\n0Ce5q7fZxVaAA4B5ZnZZslaASKboTmqRAphZL+DeZFGglrx+U2AEYb6j9wlzdN3TMB+/SJqpQIgU\nIFnfY3pLC0Sj9w4hzIXzXbJCmkiqqYtJpETMrDbpenoxmUK7YfsAM7uKsHLbk8B50UKKFEAtCJEC\nJF1Gf3b33i147R7AtYTV+m4kzD78VXkTipSOCoRIgcxsImHK8fvd/ZJmXrcjYcG2v7RZOJESUoEQ\nEZG8NAYhIiJ5qUCIiEheKhAiIpKXCoSIiOSlAiEiInmpQIiISF4qECIikpcKhIiI5PX/Ad/k1W1o\nBU7NAAAAAElFTkSuQmCC\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x9582910>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vinmax1 = 25 #Peak input voltage1 (in volts)\n",
- "Vinmax2 = 60 #Peak input voltage2 (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Voutmax1 = 20 #Peak output voltage1 (in volts)\n",
- "Voutmax2 = 10 #Peak output voltage2 (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Following is the output wave generated when Vinmax is changed to 60 V.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,24,100)\n",
- "x1 = numpy.linspace(0,2,100)\n",
- "x2 = numpy.linspace(2,6,100)\n",
- "x3 = numpy.linspace(6,8,100)\n",
- "x4 = numpy.linspace(8,10,100)\n",
- "x5 = numpy.linspace(10,14,100)\n",
- "x6 = numpy.linspace(14,16,100)\n",
- "x7 = numpy.linspace(0,10,100)\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,10*x1,'b')\n",
- "plot(x2,20-x2+x2,'b')\n",
- "plot(x3,20-10*(x3-6),'b')\n",
- "plot(x4,-10*(x4-8),'b')\n",
- "plot(x5,-20+x5-x5,'b')\n",
- "plot(x6,-20+10*(x6-14))\n",
- "plot(x7,-20+x7-x7,'--',color='g')\n",
- "xlim(0,16)\n",
- "ylim(-22,22)\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.18 , Page Number 168 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 60,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage Vout = Vin/2.\n",
- "Voutmax = 5.0 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Annotation at 0xa9b53f0>"
- ]
- },
- "execution_count": 60,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAEZCAYAAAB/6SUgAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGGlJREFUeJzt3XuYJXV95/H3B4YBERgumh256EQiUeMN1yioQIeLAVSI\nJqISQVdjntWIZL0huo/M7K4LLiYxF9k8iYJoQIgoLhBALtKDF8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8D\nzgHOAi5nmg7PsIb/LcB2A/e3o+n9a5IkGwBfBP6lqr7cdT2D2uGCfwO6Pn3HS4H9kvwQ+Dywe5LP\ndlwTAFX1k/b3HcCpNEOeXboZuLmq/r29fwrNh8Ew2Af4dg3HucBeBHyzqu6qqoeAL9H8nXWuqo6t\nqhdV1W7AvTT7Ah9jWMP/UuAZSZa0n/avB07ruKahkyTAp4FrquoTXdcDkORJSTZvbz8B2Ium99GZ\nqvpQVW1XVb9NM2zw1arq/LslSTZOsml7+4nAK2h21nWmqm4Dbmq/fAnNGPvVHZY06I00H97D4Fpg\npyRPaP8P9wSGYXiTJL/V/n4q8BqmGSbr6kteq1RVDyV5F/AVmh2Gn66qFV3WlOTzwG7AVkluAj5S\nVcd1WRPwMuBNwHeTTATs4VV1doc1PQU4Psl6NJ2Lz1XV+R3WM5VhGVb8T8CpTXawADihqs7ptiQA\nDgFOaDte3wf+S8f1THw47gkMw34Rquo77dbjpTTDKpcB/9RtVY84JclWNDuk31lV90/VyC95SVIP\nDeuwjyRpHhn+ktRDhr8k9ZDhL0k9ZPhLUg8Z/pLUQ4a/NIUki5K8o+s6pPli+EtT2wJ450waJtms\n/VKbNDL8g5WmdhSwfXvxkI+tpu0uwLVJjkiy3WraSkPBb/hKU0jyNOCMqnruDNtvBRwEvBm4jeac\nS/+vvR6FNHQMf2kK7fURTp9p+E967s7AscCDVfX8OS5NmhMO+0izlOSd7XDQZUmeMjD92UmOprkM\n4teAP+usSGk17PlLU2iHcb5dVUtm0PaFwCdpzu74KeDkgUtZSkPJ8JemkeQE4HnAmVV12CraPROo\nqpryohnSMDL8JamHHPOXpB4y/CWphwx/Seohw1+Sesjwl6QeMvwlqYcMf0nqIcNfknro/wPCn7wQ\nQ7x1SgAAAABJRU5ErkJggg==\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0xafafd90>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vinmax = 10.0 #Peak input voltage (in volts)\n",
- "R1 = 5 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 5 * 10**3 #Resistance2 (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vout = Vinmax/(R1 + R2)*R2 #Output voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage Vout = Vin/2.\"\n",
- "print \"Voutmax = \",Vout,'V.'\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,12,100) \n",
- "x1 = numpy.linspace(0,3,100)\n",
- "x2 = numpy.linspace(3,6,100)\n",
- "x3 = numpy.linspace(6,9,100)\n",
- "y1 = numpy.linspace(-5,0,100)\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,0-x1+x1,'b')\n",
- "plot(x2,-5+x2-x2,'b')\n",
- "plot(x3,0+x3-x3,'b')\n",
- "plot(3+y1-y1,y1,'b')\n",
- "plot(6+y1-y1,y1,'b')\n",
- "plot(9+y1-y1,y1,'b')\n",
- "plot(x2,-2+x2-x2,'--',color='g')\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")\n",
- "xlim(0,9)\n",
- "ylim(-6,5)\n",
- "annotate('T/2',xy=(4.25,-2))"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.19 , Page Number 168 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 92,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "OUtput voltage lies in range : -8 V to +6 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0xccf9450>"
- ]
- },
- "execution_count": 92,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw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duDwAAAABJ\nRU5ErkJggg==\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0xcbb18d0>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vinmax = 10 #Peak input voltage (in volts)\n",
- "V1 = 5.3 #Voltage source1 (in volts)\n",
- "V2 = 7.3 #Voltage source2 (in volts) \n",
- "R = 10.0 * 10**3 #Resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vomax = 6 #Peak output voltage in positive half (in volts)\n",
- "Vomin = -8 #Peak output voltage in negative half (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"OUtput voltage lies in range : -8 V to +6 V.\"\n",
- "\n",
- "#Graph \n",
- "\n",
- "x = numpy.linspace(0,24,100)\n",
- "x1 = numpy.linspace(0,3,100)\n",
- "x2 = numpy.linspace(3,5,100)\n",
- "x3 = numpy.linspace(5,7,100)\n",
- "x4 = numpy.linspace(7,10,100)\n",
- "x5 = numpy.linspace(10,14,100)\n",
- "x6 = numpy.linspace(14,15,100)\n",
- "x7 = numpy.linspace(15,16,100)\n",
- "x8 = numpy.linspace(16,20,100)\n",
- "x9 = numpy.linspace(0,5,100)\n",
- "x10 = numpy.linspace(0,14,100)\n",
- "x11 = numpy.linspace(0,15,100)\n",
- "\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,2*x1,'b')\n",
- "plot(x2,2*x2,'--',color='b')\n",
- "plot(x3,10-2*(x3-5),'--',color='b')\n",
- "plot(x4,6-2*(x4-7),'b')\n",
- "plot(x5,-2*(x5-10),'b')\n",
- "plot(x6,-8-2*(x6-14),'--',color='b')\n",
- "plot(x7,-10+2*(x7-15),'--',color='b')\n",
- "plot(x8,-8+2*(x8-16),'b')\n",
- "\n",
- "plot(x1,6-x1+x1,'--',color='g')\n",
- "plot(x2,6-x2+x2,'k')\n",
- "plot(x3,6-x3+x3,'k')\n",
- "plot(x6,-8-x6+x6,'k')\n",
- "plot(x7,-8-x7+x7,'k')\n",
- "plot(x9,10+x9-x9,'--',color='g')\n",
- "plot(x10,-8+x10-x10,'--',color='g')\n",
- "plot(x11,-10+x11-x11,'--',color='g')\n",
- "\n",
- "xlim(0,20)\n",
- "ylim(-12,12)\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "## Example 5.20 , Page Number 173 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 98,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Output voltage in positive half : 35 V.\n",
- "Output voltage in negative half : -5 V.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "(-10, 40)"
- ]
- },
- "execution_count": 98,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEZCAYAAAB4hzlwAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGGZJREFUeJzt3XmYLXV95/H3By6giGyScAEvXCUSdcYIPI4PqECraFxB\nnQGXSDQueUZjJBNNuDAzQmYJqJlMVjNPohAkbOJCwAVBpcEFQQSUVdwIm1xENhVNWL7zR1UX5zbd\nfbvv7b51ivt+PU8/fU6dOnW+51R3fer3+1WdSlUhSRLAJn0XIEkaH4aCJKljKEiSOoaCJKljKEiS\nOoaCJKljKEgjkvxjkv/Zdx3jIslzk3w3yU+THNR3PVp6hoLWKsmbk1yZ5OdJfpTkQ0m2WcDzb0jy\ngkWsZ9blJdklyf1JnjzDY59K8sG1LL7aH5JMJLlp/SteuCSfT/LHI/d3SfLQLNN+dQlL+R/AX1XV\n46vqrCV8HY0JQ0FzSvIe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HgGuq6i/6rgcgyQ5Jtm1vPxZ4Ec0eS2+q\n6qiqWlFVT6LpfvhSVf12nzUl2TLJ49vbjwNeTDNI2Juqug24Kcke7aQDgat7LGm619OE+ji4Dtgn\nyWPb/8MDac696lWSX21/70rzLdUzdrWNwxnN81ZVDyR5F/B5mkHKj1TVtT2XRZJTgQOAJ7Qn5b2v\nqk7ouaznAm8Evp1kasN7ZFWd02NNOwEntl+HvglwUlV9scd6ZjIOXZQ7Ap9qticsA06uqnP7LQmA\n3wdObnfIvg/8Ts/1AF1wHgiMw9gLVfWttrV5KU0XzWXA3/dbFQAfT/IEmkHwd1bVvTPN5MlrkqTO\n0LqPJElLyFCQJHUMBUlSx1CQJHUMBUlSx1CQJHUMBWkBkmyT5B191yEtFUNBWpjtgHfOZ8YkW7cn\n6kmD4R+stDDHAbu3F3R5/1rm3Q+4LsnRSVasZV5pLHhGs7QASXYDPl1Vz5jn/E8ADgPeBNxG831U\n/9xeD0QaO4aCtADttSnOnm8oTHvuvsDxwL9V1TMXuTRpUdh9JC2SJO9su5UuS7LTyPSnJ/kgzeUs\nvwy8rbcipbWwpSAtQNsd9M2qWjmPefcG/pbmmzI/DJw+cjlSaSwZCtICJTkZ+A3gs1V1xBzzPRWo\nqprxYibSODIUJEkdxxQkSR1DQZLUMRQkSR1DQZLUMRQkSR1DQZLUMRQkSR1DQZLU+f8JNf15Q00k\nGQAAAABJRU5ErkJggg==\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0xcbb1ad0>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables \n",
- "\n",
- "Vin = 20 #Input voltage (in volts)\n",
- "V1 = 5 #Battery voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Voutp = (2*Vin - V1) #Output voltage in positive half (in volts)\n",
- "Voutn = 0 - V1 #Output voltage in negative half (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Output voltage in positive half : \",Voutp,\"V.\"\n",
- "print \"Output voltage in negative half :\",Voutn,\"V.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,9,100) \n",
- "x1 = numpy.linspace(0,3,100)\n",
- "x2 = numpy.linspace(3,6,100)\n",
- "x3 = numpy.linspace(6,9,100)\n",
- "y1 = numpy.linspace(-5,35,100)\n",
- "plot(x,0+x-x,'k')\n",
- "plot(x1,-10+x1-x1,'--',color='g')\n",
- "plot(x1,35-x1+x1,'b')\n",
- "plot(x2,-5+x2-x2,'b')\n",
- "plot(x3,35+x3-x3,'b')\n",
- "plot(3+y1-y1,y1,'b')\n",
- "plot(6+y1-y1,y1,'b')\n",
- "title(\"Output Voltage Waveform\")\n",
- "xlabel(\"t ->\")\n",
- "ylabel(\"-Vout->\")\n",
- "xlim(0,9)\n",
- "ylim(-10,40)"
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter6.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter6.ipynb
deleted file mode 100644
index 5c00d48c..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter6.ipynb
+++ /dev/null
@@ -1,1078 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 6 , Bipolar Junction Trasistor"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.1 , Page Number 192"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base current : 0.05 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IE = 10 * 10**-3 #Emitter current (in Ampere)\n",
- "IC = 9.95 * 10**-3 #Collector current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = IE - IC #Base current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Base current : \",IB * 10**3,\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.2 , Page Number 192 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain (alphadc) : 0.995 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IB = 0.5 * 10**-3 #Base current (in Ampere)\n",
- "IC = 100.0 * 10**-3 #Collector current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IE = IB + IC #Emitter current (in Ampere)\n",
- "alphadc = IC/IE #Current amplification factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current amplification factor (alphadc) : \",round(alphadc,3),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.3 , Page Number 193 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Emitter current : 2.7 mA.\n",
- "Collector current : 2.65 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IB = 50 * 10**-6 #Base current (in Ampere)\n",
- "ICBO = 4 * 10**-6 #Collector-to-base leakage current (in Ampere)\n",
- "alphadc = 0.98 #Current amplification factor\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = (alphadc*IB + ICBO)/(1-alphadc) #Collector current (in Ampere)\n",
- "IE = IC + IB #Emitter current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Emitter current : \",IE * 10**3,\" mA.\\nCollector current : \",IC * 10**3,\" mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.4 , Page Number 193 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Emitter current : 20.4 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IC = 20.0 * 10**-3 #Collector current (in Ampere)\n",
- "beta = 50 #Current gain \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = IC/beta #Base current (in Ampere)\n",
- "IE = IC + IB #Emitter current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Emitter current : \",IE * 10**3,\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.5 , Page Number 194 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 7,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Emitter current : 1.0 mA.\n",
- "Current Amplification factor : 0.98 .\n",
- "Current gain factor : 49.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IB = 20.0 * 10**-6 #Base current (in Ampere)\n",
- "IC = 0.98 * 10**-3 #Collector current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IE = IB + IC #Emitter current (in Ampere)\n",
- "alphadc = IC/IE #Current amplification factor\n",
- "beta = IC/IB #Current gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Emitter current : \",IE*10**3,\"mA.\\nCurrent Amplification factor : \",alphadc,\".\\nCurrent gain factor : \",beta,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.6 , Page Number 194 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 10,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Collector current : 1.09 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IB = 10 * 10**-6 #Base current (in Ampere)\n",
- "ICBO = 1.0 * 10**-6 #Collector-to-base leakage current (in Ampere)\n",
- "beta = 99 #Current amplification factor\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = beta*IB + (1 + beta)*ICBO #Collector current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Collector current : \",IC*10**3,\" mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.7 , Page Number 199 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 12,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current amplification factor : 0.9697 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IC = -6.4 #Collector current (in milli-Ampere)\n",
- "IE = 6.6 #Emitter current (in milli-Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "alpha = -IC/IE #Current amplification factor \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current amplification factor : \",round(alpha,4),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.8 , Page Number 199 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Dynamic input resistance : 40.0 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVEB = 200 * 10**-3 #Change in emitter voltage \n",
- "dIE = 5 * 10**-3 #Change in emitter current \n",
- "\n",
- "#Calculation\n",
- "\n",
- "rin = dVEB/dIE #Dynamic input resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Dynamic input resistance : \",rin,\" ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.9 , Page Number 199 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base current : 30.0 micro-A.\n",
- "Collector current : 1.97 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ICO = 10 * 10**-6 #Reverse saturation current (in Ampere)\n",
- "IE = 2 * 10**-3 #Emitter current (in Ampere)\n",
- "alpha = 0.98 #Current amplification factor \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = alpha*IE + ICO #Collector current (in Ampere)\n",
- "IB = IE - IC #Base current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Base current : \",IB * 10**6,\" micro-A.\\nCollector current : \",IC * 10**3,\" mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.10 , Page Number 199 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 17,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain : 0.979 .\n",
- "Base current : 0.03 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IE = 2.0 * 10**-3 #Emitter current (in Ampere)\n",
- "IC = 1.97 * 10**-3 #Collector current (in Ampere)\n",
- "ICBO = 12.5 * 10**-6 #Reverse saturation current (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "alpha = (IC-ICBO)/IE #Current amplification factor\n",
- "IB = IE - IC #Base current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain : \",round(alpha,3),\".\\nBase current : \",IB * 10**3,\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.11 , Page Number 199 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 20,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base current : 0.03 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RL = 4.0 * 10**3 #Load resistance (in ohm)\n",
- "VL = 3 #Voltage drop across load (in volts)\n",
- "alpha = 0.96 #Current amplification factor\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = VL/RL #Collector current (in Ampere)\n",
- "IE = IC/alpha #Emitter current (in Ampere)\n",
- "IB = IE - IC #Base current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Base current : \",round(IB * 10**3,2),\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.12 , Page Number 204 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 22,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain in CE configuration : 99.0 .\n",
- "Current gain in CB configuration : 0.988 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "alpha1 = 0.99 #Current gain1 in CB\n",
- "beta2 = 80.0 #Current gain2 in CE \n",
- "\n",
- "#Calculation\n",
- "\n",
- "beta1 = alpha1/(1-alpha1) #Current gain1 in CE \n",
- "alpha2 = beta2/(1 + beta2) #Current gain2 in CB\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain in CE configuration : \",beta1,\".\\nCurrent gain in CB configuration : \",round(alpha2,3),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.13 , Page Number 204 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 23,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base current : 20.0 micro-A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RL = 1.0 * 10**3 #Load resistance (in ohm)\n",
- "VL = 1.2 #Voltage across load (in volts)\n",
- "beta = 60 #Current gain in CE \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = VL/RL #Collector current (in Ampere)\n",
- "IB = IC/beta #Base current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Base current : \",IB * 10**6,\"micro-A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.14 , Page Number 204 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 26,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VCE : 9.2 V.\n",
- "Base current : 41.67 micro-A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 10.0 #Collector supply voltage (in volts)\n",
- "VL = 0.8 #Voltage drop across load (in volts)\n",
- "RL = 800 #Load resistance (in ohm) \n",
- "alpha = 0.96 #Current gain in CB\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VCE = VCC - VL #Collector-emitter voltage (in volts)\n",
- "IC = VL/RL #Collector current (in Ampere)\n",
- "beta = alpha/(1-alpha) #Current gain in CE \n",
- "IB = IC/beta #Base current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VCE : \",VCE,\"V.\"\n",
- "print \"Base current : \",round(IB * 10**6,2),\" micro-A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.15 , Page Number 205 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 27,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Collector current : 11.28 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "ICO = 10.0 * 10**-6 #Reverse saturation current (in Ampere)\n",
- "alpha = 0.98 #Current gain in CB \n",
- "IB = 0.22 * 10**-3 #Base current (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = (alpha*IB + ICO)/(1-alpha) #Collector current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Collector current : \",IC * 10**3,\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.16 , Page Number 205 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 29,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Dynamic input resistance : 250.0 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVBE = 250 * 10**-3 #Change in base-emitter voltage (in volts)\n",
- "dIB = 1.0 * 10**-3 #Change in base current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "rin = dVBE/dIB #Dynamic input resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Dynamic input resistance : \",rin,\" ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.17 , Page Number 205 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 31,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Dynamic output resistance : 6.25 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVCE = 5 #Change in collector-emitter voltage (in volts)\n",
- "dIC = 0.8 * 10**-3 #Change in base current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "rout = dVCE/dIC #Dynamic output resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Dynamic output resistance : \",rout * 10**-3,\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.18 , Page Number 209 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 43,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Operating point Q is ( 5.2 V , 0.6 mA.)\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x642f590>"
- ]
- },
- "execution_count": 43,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEZCAYAAACQK04eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xu8VXWd//HXG6HUgrRwsARHm2ACRBBn/BnYeJpKDtpk\nP/NG1kwCxnghUZtR6yccLC3MC5Mg5X3GKVHpMvpTQcc8Zshocku5BGT+hpNmmhdg5Dc/jc/vj+86\neDiecziXvc7al/fz8dgP91577bU++yGPz17nu77rvRQRmJlZ7ehTdAFmZta73PjNzGqMG7+ZWY1x\n4zczqzFu/GZmNcaN38ysxrjxm/USSTskfbCd9xolTcmenyZpSe9WZ7XEjd8qiqRnJb0uaYukVyQt\nlTRNklqtd4Sk+7J1/iDpcUlfbGebX5T0aK98gfZF9iAivh8REwqux6qYG79VmgA+FREDgAOBbwEX\nAjc1ryDpI8BDwMPAn0XE+4AzgfreL9es/LjxW8WKiK0RcQ9wCvB3kkZkb30buDUivh0RL2frroiI\nU7u6D0njJP1C0quSnsh+VJrfO13S2uyvj19L+lKrz/6DpOckNUma3IV97vIXSDZENE3ShuwvmHmt\n1p+c1fGypMWSDuzq97Ta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uyJiQssPSDofOBv4GfDtiFia27eyquLGb9Xg\ndtKNPXbG3UbE/83u7jVX0lzS/V5Xk+4CNZBsjL/FNr4eET9qtd1o53lbr5v3u17SNuAXEbE9W9wA\n3CxpNeluW83Z7C3vxrQQuEHSdGAScFN2b14B/9TO7KLVwOhqvkOb5cOxzGZmNcZj/GZmNcaN38ys\nxrjxm5nVGDd+M7Ma48ZvZlZj3PjNzGqMG7+ZWY1x4zczqzH/H5khBh3rmLZzAAAAAElFTkSuQmCC\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x6f3ec10>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables\n",
- "\n",
- "VCC = 10.0 #Collector supply voltage (in volts)\n",
- "RC = 8.0 * 10**3 #Load resistance (in ohm)\n",
- "IB = 15.0 * 10**-6 #Base current (in Ampere) \n",
- "beta = 40 #Current gain in CE\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = VCC/RC #Collector current (in Ampere)\n",
- "IC1 = beta * IB #Zero signal collector current (in Ampere)\n",
- "VCE = VCC - IC1*RC #Zero signal collector-emitter voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Operating point Q is (\",VCE,\"V ,\",IC1 * 10**3,\"mA.)\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,10,100)\n",
- "y1 = numpy.linspace(0,0.6,100)\n",
- "x1 = numpy.linspace(0,5.2,100)\n",
- "plot(x,1.25-1.25/10*x,'b')\n",
- "plot(x1,0.6+x1-x1,'--',color='g')\n",
- "plot(5.2+y1-y1,y1,'--',color='g')\n",
- "annotate('Q',xy=(5.2,0.6))\n",
- "xlim(0,11)\n",
- "ylim(0,1.5)\n",
- "title(\"DC Load line\")\n",
- "xlabel(\"-VCE in Volts->\")\n",
- "ylabel(\"-IC in mA->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.19 , Page Number 210"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 48,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Operating point is ( 6.0 V, 1.2 mA ).\n",
- "Changed operating point is ( 3.0 V, 1.2 mA ).\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IC = 1.2 * 10**-3 #Collector current (in Ampere)\n",
- "RL = 5.0 * 10**3 #Load resistance (in ohm)\n",
- "VCC = 12.0 #Collector supply voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VCE = VCC - IC*RL #Zero signal collector-emitter voltage (in volts)\n",
- "RL1 = 7.5 * 10**3 #Changed load resistance (in ohm)\n",
- "VCE1 = VCC - IC*RL1 #Changed zero signal collector-emitter voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Operating point is (\",VCE,\"V,\",IC*10**3,\"mA ).\"\n",
- "print \"Changed operating point is (\",VCE1,\"V,\",IC*10**3,\"mA ).\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.20 , Page Number 210 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 62,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "At cut-off point VCE : 20 V.\n",
- "At saturation point IC : 6.0 mA.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x721b590>"
- ]
- },
- "execution_count": 62,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYAAAAEZCAYAAACervI0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHmRJREFUeJzt3X2UFPWd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dZiZpV3Jm4Dy4SYgM7PCVUMTkJmZVQAHgJlZSjkAzMxSygFgZpZS\nDgAzs5RyAJiZpZQDwMwspRwAZmYp5QAwM0spB4CZWUo5AMzMUsoBYGaWUg4AM7OUcgCYmaWUA8DM\nLKUcAGZmKeUAMDNLKQeAmVlKOQDMzFLKAWBmllIOADOzlHIAmJmllAPAzCylHABmZinlADAzSykH\ngJlZSjkAzMxSygFgZpZSDgAzs5RyAJiZpZQDwMwspRwAZmYpVZUB8MEHHzB27FgiAoBZs2YxbNgw\nhg0bxq233trq52644QaGDx/OyJEjueiiizpcx2GHHUZtbW2TadOmTWPBggUdXraZWbHtVu4C2uP2\n229n0qRJSGLTpk1cdtllPPvsswAcccQRTJ48md69ezf5zLx587jvvvtYsmQJPXr04M033+xQDfX1\n9ey55548/fTTvPfee/Ts2ROAb3/721xwwQWMGTOmQ8s3Myu2qjwCmD17NieddBIADz30EOPHj6d3\n79707t2bL3zhC/zhD3/Y6TM33XQT06dPp0ePHgDsu+++O81TV1fH2LFjmTJlCoMHD+biiy/mtttu\nY/To0RxyyCG88sorTWqora1l/Pjx3HvvvY3Thw4dyurVq9myZUtnf20zs05VlgCQ1FvSbyTVS1ou\n6ah8P/vxxx+zdOlShg0bBsC6desYOHBg4/sDBw7ktdde2+lzL730Ek888QRHHXUUNTU1PPPMMy0u\nf8mSJfz85z+nvr6e2267jZdffpmFCxdyzjnncMMNNzTOd9dddzF16lSmTp3K7Nmzmyxj1KhRPPnk\nk/l+JTOzssgrACTtJeltSeM6ab0/AR6MiOHAIUB9vh/cuHEjvXr1KniFH330EZs3b+app57immuu\nYerUqS3Od+SRR9KvXz923313hgwZwoQJEwAYOXIkq1evBuCZZ55h3333pX///owdO5bFixezefPm\nxmXsv//+jfOamVWqfI8ATgGWAWd3dIWSPgmMiYhfAUTERxHxdiHLyJ78BRgwYABr1qxpfL1mzZom\nRwRZAwcO5OSTTwYyP/LdunXjrbfe2mm+PfbYo/F5t27dGl9369aNjz76CMg0/9T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wj8BxkhYlj4llqMOsZHKDYMkSjz5qlaEsTUC74iYg6+rcNGTFUPFNQGbmpiGrDA4AszJyEFg5\nOQDMKoCDwMrBAWBWQRwEVkoOALMK5CCwUnAAmFUwB4EVkwPArAp4GGorBgeAWRXJjjWU7VDmILCO\ncACYVaERI3YEgZuGrL0cAGZVzOcIrCMcAGZdgIPA2sMBYNaFOAisEA4Asy7IQWD5cACYdWEOAmuL\nA8AsBRwE1hIHgFmKNA8C35gm3RwAZimUDYJ583xEkGYOALMUy+1Q5p7F6eMAMLPGISY81lC6OADM\nrFFuELhpqOtzAJjZToYP9+ijaeAAMLNWVUvT0AcffMDYsWOJCBYvXswxxxzDyJEjOfTQQ7nrrrsa\n51u1ahWf+9znGDp0KKeddhoffvhhk+W899579O3bl3eafcEpU6Y0WU7WFVdcwdChQznooIN4+OGH\nG6cff/zxOy2jIkVExT0yZZlZpVm2LOK00yL23Tfiiisitm4td0UZt9xyS1x99dUREbFy5cr4y1/+\nEhER69ati/79+8fbb78dERGnnHJK3HnnnRER8a1vfStuuummnZb11a9+NWbNmtX4esuWLdG3b994\n//33m8y3bNmyOPTQQ6OhoSFWrVoVgwcPju3bt0dExM033xzXXntt53/RXUh+O/P+rfURgJnlrbUO\nZeXuRzB79mxOOukkAIYOHcrgwYMB6N+/P5/+9Kd58803iQjmzZvHV77yFQDOOOMM5s6du9Oyamtr\nmTNnTuPr3/3ud0ycOJE999yzyXz33nsvtbW19OjRg0GDBjFkyBCefvppACZPntxkGZXKAWBmBWsp\nCMrVoezjjz9m6dKlDBs2bKf3Fi5cSENDA4MHD+att96id+/edOuW+dkbMGAAr7322k6fGT9+PM89\n9xybN28GYM6cOdTW1u4037p16xg4cGDj64EDBzYur1+/fmzcuJF33323U75jsTgAzKzdcjuULV5c\nniDYuHEjvXr12mn6+vXrOf3005k5c2ZBy9t9992ZPHkyd999Nxs3bmTx4sVMmDCh4Lr69evHmjVr\nCv5cKTkAzKzDyh0EmebvHbZu3cqkSZP48Y9/zO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cbD1HA18CrpH0nKQDJX03ubnH80nP35b8h6TH\nJH21eT1m7eEAsKqR3BhnIfDFZNJpwJ3J878lc1OM1oxp1gR0QEuryHk+BPhpRIwEtgD/0ML8jUck\nkvYgM2rrPcClwLMRcSiZ7vm3JvMr+R5Pkhm/5sKIODwiXgEuAg5LPvPNVr7/14HvA8cASyX9h6RD\n2vjOZm1yAFi1yW0GOjV5ndXWf/oLmjUBrdrFelZFxJLk+bPAoOYzRMSzwN6ShpH58X8qGYPm88Bt\nyTzzgD7Zgf2aya13CZmmrK8BH7dWVEQ8FxH/SibwXgYWSjpvF9/FrEUOAKtokv4l57/2/cj853y8\npFFAz4hYlMy6DDiiE1f9Qc7zj8kMyNeSbCDtKoxaGnQrd9qJwM+Aw4E/S+qeND0tknRz40IzJ5on\nkznyOQf4IfCfeXwfs520tlObVYSIuJHMydxGkuYBvwbuyJl8BzBd0hcj4sFkvv8BvFXkEmcD9wO9\ngLOSaQuArwE/klQDvBkR2zIj+DZ6B/hEUqeAz0ZEnaQ/kQmUvSJiQu4HJE0DziUzCuQ1EfGnon0r\nSwUHgFWj2cBvydwAG4CI+H+SJgHXS7oe+BB4HjiPzDDKYyQtylnG5RHx22bLjVaet/Q6u94XJW0D\n/hwR7yeTZwC/kvQ88C47xqrPvVvVHOAXkr5DZgjfWyR9ksyRw09auRrpeeDQ5M5PZh3m4aDNzFLK\n5wDMzFLKAWBmllIOADOzlHIAmJmllAPAzCylHABmZinlADAzSykHgJlZSv1/Q9tY+HeM1pkAAAAA\nSUVORK5CYII=\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x642f370>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables\n",
- "\n",
- "IC = 0 #Collector current (in Ampere)\n",
- "VCE = VCC = 20 #Collector supply (in volts)\n",
- "RC = 3.3 * 10**3 #Resistance in collector branch (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VCE1 = 0 #Saturation point collector-emitter voltage (in volts)\n",
- "IC = VCC/RC #Collector current at saturation point (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"At cut-off point VCE :\",VCE,\"V.\"\n",
- "print \"At saturation point IC :\",round(IC * 10**3),\"mA.\"\n",
- "\n",
- "#Graph \n",
- "\n",
- "x = numpy.linspace(0,25,100)\n",
- "plot(x,6-6.0/20*x,'b')\n",
- "annotate('(0,6 mA)',xy=(0.5,6))\n",
- "annotate('(20 V,0)',xy=(20,0.5))\n",
- "xlim(0,25)\n",
- "ylim(0,10)\n",
- "title(\"DC Load line\")\n",
- "xlabel(\"-VCE in Volts->\")\n",
- "ylabel(\"-IC in mA->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.21 , Page Number 210 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 56,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VC for the network : -4.482 V.\n",
- "VB for the network : 9.7 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 0 #Collector supply (in volts) \n",
- "beta = 45.0 #Current gain in CE\n",
- "VBE = 0.7 #Emitter-base voltage (in volts)\n",
- "VEE = 9 #Emitter supply (in volts) \n",
- "RB = 100 * 10**3 #Resistance in base branch (in ohm)\n",
- "RC = 1.2 * 10**3 #Resistance in collector branch (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VEE - VBE)/RB #Base current (in Ampere)\n",
- "IC = beta * IB #Collector current (in Ampere)\n",
- "VC = VCC - IC * RC #Collector voltage (in volts) \n",
- "VB = VBE + VEE #Base voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VC for the network :\",VC,\"V.\"\n",
- "print \"VB for the network :\",VB,\"V.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.22 , Page Number 211 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 64,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "IB : 0.0167 mA.\n",
- "IC : 1.96 mA.\n",
- "Since, beta * IB < IC , therefore , transistor is in saturation.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 10 #Collector supply (in volts)\n",
- "VBE = 0.8 #Emitter-to-base voltage (in volts)\n",
- "VCE = 0.2 #Collector-to-emitter voltage (in volts)\n",
- "beta = hfe = 100 #Current gain in CE\n",
- "VBB = 5 #base supply (in volts)\n",
- "RB = 50 * 10**3 #Resistance in base branch (in ohm)\n",
- "RE = 2 * 10**3 #Resistance in emitter branch (in ohm)\n",
- "RC = 3 * 10**3 #Resistance in collector branch (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VBB - VBE)/(RB+(1+beta)*RE) #Base current (in Ampere)\n",
- "IC = (VCC - VCE)/(RE + RC) #Collector current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"IB : \",round(IB* 10**3,4),\"mA.\"\n",
- "print \"IC : \",IC* 10**3,\"mA.\"\n",
- "print \"Since, beta * IB < IC , therefore , transistor is in saturation.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 6.23 , Page Number 215 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 68,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Maximum level of collector current : 4.26 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Tf = 105 #Free air temp. (in Celsius degree)\n",
- "Tf1 = 80 #Temp. in excess of 25 degree celsius (in Celsius degree) \n",
- "df = 2.81 #derating factor (in milli-Watt per Celsius degree) \n",
- "VCE = 20 #Collector-to-emitter voltage (in volts)\n",
- "Porig = 310.0 #Original maximum power dissipation (in milli-Watt) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Pcmax = Porig - Tf1 * df #Derated power dissipation (in milli-watt)\n",
- "ICmax = Pcmax/VCE #Device dissipation (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum level of collector current : \",ICmax,\" mA.\"\n",
- "\n",
- "#Calculation error in book."
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter7.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter7.ipynb
deleted file mode 100644
index 3d02cc6c..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter7.ipynb
+++ /dev/null
@@ -1,2175 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 7 , Transistor Amplifiers , Biasing and Thermal Stabilization"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.1 , Page Number 230"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- " Maximum collector current that can be allowd during any part of the input signal is 3.0 mA.\n",
- "Minimum zero signal collector current required : 1.5 mA.\n",
- "Maximum base current 0.03 mA.\n",
- "Signal voltage (VBE) : 0.75 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 10 #Collector supply voltage (in volts)\n",
- "RC = 3.0 * 10**3 #Collector load resistance (in ohm)\n",
- "Vknee = 1 #Knee voltage for silicon transistor (in volts)\n",
- "beta = 100 #Current gain\n",
- "ICperVBE = 4.0 * 10**-3 #Change in IC per volt change in VBE (in Ampere per volt)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VCmax = VCC - Vknee #Maximum voltage drop across resistance RC (in volts)\n",
- "ICmax = VCmax/RC #Maximum allowable collector current (in Ampere)\n",
- "ICzero = ICmax/2 #Zero signal collector current (in Ampere)\n",
- "IBmax = ICmax/beta #Maximum base current (in Ampere)\n",
- "VBE = ICmax/ICperVBE #Base-emitter voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum collector current that can be allowd during any part of the input signal is \",ICmax* 10**3,\"mA.\"\n",
- "print \"Minimum zero signal collector current required : \",ICzero*10**3,\"mA.\"\n",
- "print \"Maximum base current \",IBmax*10**3,\"mA.\"\n",
- "print \"Signal voltage (VBE) : \",VBE,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.2 , Page Number 232 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 7,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Following is the graph showing necessary details : \n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x63c07b0>"
- ]
- },
- "execution_count": 7,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXsAAAEZCAYAAAB2AoVaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHF5JREFUeJzt3Xm4XXV97/H3BwIyJTHMWIEgmDJIwmF6BGs5qZJBxmIr\ng7UEQ8i916rcm1Bl6M3h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1JSb8kxvhERPys7bgzwvL/fi+0+Iekt4MGIeDvd\n3ANcIelh4D95r7Z46V2DrgUWSPoyScndyyWNJvmL4LsDzAp6GJiQ3m3JrC5c4tjMLAc8Zm9mlgMO\n9mZmOeBgb2aWAw72ZmY54GBvZpYDDvZmZjngYG9mlgMO9mZmOfD/AehmWolB7gEbAAAAAElFTkSu\nQmCC\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x615d910>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables\n",
- "\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "RC = 2.0 * 10**3 #Collector load ressitance (in ohm)\n",
- "RE = 3.0 * 10**3 #Emitter resistance (in ohm) \n",
- "IC = 0 #Collector current at saturation point (in Ampere)\n",
- "VCE1 = 0 #Collector-to-emitter voltage at cut-off point (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "VCE = VCC - IC*(RC + RE) #Collector-to-emitter voltage (in volts)\n",
- "IC1 = VCC/(RC + RE) #Cut-off point collector current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Following is the graph showing necessary details : \"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,20,100)\n",
- "y1 = numpy.linspace(0,2,100)\n",
- "x1 = numpy.linspace(0,10,100)\n",
- "plot(x,4-4.0/20*x,'b')\n",
- "plot(x1,2+x1-x1,'--',color='g')\n",
- "plot(10+y1-y1,y1,'--',color='g')\n",
- "annotate('Q - POINT',xy=(10,2))\n",
- "xlim(0,30)\n",
- "ylim(0,6)\n",
- "title(\"DC Load line\")\n",
- "xlabel(\"-VCE in Volts->\")\n",
- "ylabel(\"-IC in mA->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.3 , Page Number 237"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 8,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Q-point will be ICQ = 0.6 mA and VCEQ = 3.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 6 #Collector supply voltage (in volts)\n",
- "VBE = 0 #Emitter-to-base voltage (in volts)\n",
- "RB = 1.0 * 10**6 #base resistance (in ohm)\n",
- "beta = 100 #Current gain in CE \n",
- "RC = 5 * 10**3 #Collector resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = VCC/RB #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "VCE = VCC - IC*RC #Collector-to-emitter voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Q-point will be ICQ = \",IC * 10**3,\"mA and VCEQ = \",VCE,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.4 , Page Number 237 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 12,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base current : 10.0 micro-A.\n",
- "Collector current : 1.0 mA.\n",
- "VC : 8.0 V.\n",
- "VB : 0.7 V.\n",
- "VCB : 7.3 V.\n",
- "Operating point is ICQ : 1.0 mA and VCEQ : 8.0 V.\n",
- "Stability factof : 101 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 12 #Collector supply voltage (in volts)\n",
- "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
- "RB = 1130.0 * 10**3 #base resistance (in ohm)\n",
- "beta = 100 #Current gain in CE \n",
- "RC = 4 * 10**3 #Collector resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VCC-VBE)/RB #Base current (in Ampere)\n",
- "IC = beta * IB #Collector current (in Ampere)\n",
- "VCE = VCC - IC*RC #Collector-to-emitter voltage (in volts)\n",
- "VC = VCE #Collector voltage (in volts)\n",
- "VB = VBE #Base voltage (in volts)\n",
- "VCB = VC - VB #Collector-to-base voltage (in volts)\n",
- "S = beta + 1 #Stability factor \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Base current : \",IB*10**6,\"micro-A.\"\n",
- "print \"Collector current : \",IC * 10**3,\"mA.\"\n",
- "print \"VC : \",VC,\"V.\\nVB : \",VB,\"V.\\nVCB : \",VCB,\"V.\"\n",
- "print \"Operating point is ICQ : \",IC*10**3,\"mA and VCEQ : \",VC,\"V.\"\n",
- "print \"Stability factof : \",S,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.5 , Page Number 237 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Stability factor : 31.37 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dIC = 1.6 * 10**-3 #Change in collector current (in Ampere)\n",
- "dt = 30 #Change in temperature (in Celsius degree)\n",
- "ICO = 1.7 * 10**-6 #Reverse saturation current change (in Ampere per Celsius-degree)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "dICO = dt*ICO #Change in reverse saturation current (in Ampere) \n",
- "S = dIC/dICO #Stability factor \n",
- "\n",
- "#Result\n",
- "print \"Stability factor : \",round(S,2),\".\"\n"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.6 , Page Number 237 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 17,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Base current : 28.2 micro-A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VBB = 10.0 #Base supply voltage (in volts)\n",
- "VBE = 0.7 #Base-to-emitter voltage (in volts)\n",
- "RB = 330 * 10**3 #Base resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VBB - VBE)/RB #Base current (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Base current : \",round(IB*10**6,1),\"micro-A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.7 , Page Number 238 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 24,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Cut-off point : (0, 6.06 mA).\n",
- "Saturation point : ( 20 V ,0).\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x6e21990>"
- ]
- },
- "execution_count": 24,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYAAAAEZCAYAAACervI0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGQZJREFUeJzt3XuYJXWd3/H3RwYvg+iCRhDU5ZJMRCMMuDGIy9rsekFQ\nV92sOLgGUHdN4ooQMco+2TCEi66A4gUT76uuokaUVQEVdFpRUJC7MIIaicwgoCIoYjYo3/3jVM8c\nmu6evp1rvV/PU09X16lz6ltPzZxv/771+/0qVYUkqX0eMOgAJEmDYQKQpJYyAUhSS5kAJKmlTACS\n1FImAElqKROA1CNJ7k2y2yyvTSZ5RbP+0iRf6m90kglAQy7JjUnuTvLLJL9I8s0kr0qSafs9Jcm5\nzT4/T/LtJIfP8pmHJ7mwLycwu2oWqupjVfXsAcejFjIBaNgV8NyqehjwOODNwBuAD0ztkOSpwFeA\ndcDuVfUI4D8BB/Y/XGl0mAA0MqrqV1X1eeAQ4LAkT2heOgX4+6o6papub/a9vKpestBjJNkvyaVJ\n7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Xkhw6PR5pMUwA\nGhnNQ3QuAQ5qNr0E+GSz/kQ6D/yYzf7TSkC7znSIrvV/Cbyrqv4NcAfwZzPsv6lFkuRBdGZ4PQs4\nHrisqvaiM/XAR5r905zHxXTmbDmmqvapqv8DvAFY3bznVbOc/8uA1wP7Ad9N8o4ke85xztKcTAAa\nNd1loEOa36fM9Zf+hdNKQD/awnF+VFVXN+uXAbtM36GqLgMemmQVnS//bzXzrjwN+GizzzrgEVOT\nAE7THe/VdEpZLwV+N1tQVXV5Vf01nYT3Q+CSJEdt4VykGZkANNSS/Oeuv9p3pPOX858k2RtYWVVX\nNLteS2c63OXyT13rv6Mzed9MphLSlpLRTJNudW87GDgD2Ae4NMlWTenpiiTv3fShnRvNz6fT8nkl\n8LfAP8zjfKT7me0ftTQUqurddG7mbpJkHfAh4ONdmz8OHJvkoKo6t9nvj4Cf9zjEM4HPA9sCL2+2\nXQi8FDgxyQTw06q6qzM78Sa/Ah7WxBngcVU1meSbdBLKNlX17O43JPkvwKvpzHB5SlV9s2dnpVYw\nAWgUnQl8hs7DvQGoqv+X5LnA6UlOB+4BrgKOojOd8/5Jruj6jBOq6jPTPrdmWZ/p96njfi/JXcCl\nVfWbZvNa4INJrgJ+zeb52buf0PQJ4H1JXkNneuIPJHk4nZbD22fpjXQVsFfzVCtpyZwOWpJaynsA\nktRSJgBJaikTgCS1lAlAklrKBCBJLWUCkKSWMgFIUkuZACSppf4Zh+4eHrS0UBIAAAAASUVORK5C\nYII=\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x62e3290>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim\n",
- "\n",
- "#Variables\n",
- "\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "RC = 3.3 * 10**3 #Collector resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = VCC/RC #Collector current at cut-off point (in Ampere)\n",
- "VCE = 0 #Collector-to-emitter voltage at cut-off point (in volts) \n",
- "VCE1 = VCC #Collector-to-emitter voltage at saturation point (in volts)\n",
- "IC1 = 0 #Collector current at saturation point (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Cut-off point : (0,\",round(IC*10**3,2),\"mA).\"\n",
- "print \"Saturation point : (\",VCE1,\"V ,0).\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,20,100)\n",
- "plot(x,6-6.0/20*x,'b')\n",
- "xlim(0,30)\n",
- "ylim(0,10)\n",
- "title(\"DC Load line\")\n",
- "xlabel(\"-VCE in Volts->\")\n",
- "ylabel(\"-IC in mA->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.8 , Page Number 238 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 25,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Visualizing that VCE = 0.7 , we can say that transistor is just gone to saturation from active region (not well within saturation).\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "RB = 1.0 * 10**3 #Base resistance (in ohm)\n",
- "VBE = 0.7 #Base-to-emitter voltage (in volts)\n",
- "beta = 100 #Current gain in CE\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VCC - VBE)/RB #Base current (in Ampere)\n",
- "IC = beta *IB #Collector current (in Ampere)\n",
- "VCE = VCC - IC*RC #Collector-to-Emitter voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Visualizing that VCE = 0.7 , we can say that transistor is just gone to saturation from active region (not well within saturation).\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.9 , Page Number 238 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 27,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Maximum value of RC for which transistor remains in saturation is 4.667 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 10 #Collector supply voltage (in volts)\n",
- "VBB = 5 #Base supply votlage (in volts)\n",
- "RB = 200 * 10**3 #Base resistance (in ohm)\n",
- "VBEsat = 0.8 #Base-to-emitter voltage in saturation state (in volts)\n",
- "VCEsat = 0.2 #Collector-to-emitter voltage in saturation state (in volts)\n",
- "beta = 100 #Current gain in CE\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VBB-VBEsat)/RB #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "RC = (VCC - VCEsat)/IC #Collector resistance (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum value of RC for which transistor remains in saturation is \",round(RC*10**-3,3),\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.10 , Page Number 239"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 29,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "IC : 1.98 mA.\n",
- "IB : 0.02 mA.\n",
- "VEE : 2.7 V.\n",
- "VCC : 8.92 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IE = 2.0 * 10**-3 #Emitter current (in Ampere)\n",
- "alpha = 0.99 #Current gain in CB\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm) \n",
- "VBE = 0.7 #Base-emitter voltage (in volts) \n",
- "VCB = 1 #Collector-base voltage (in volts)\n",
- "RC = 4.0 * 10**3 #Collector resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = alpha*IE #Collector current (in Ampere)\n",
- "IB = IE - IC #Base current (in Ampere) \n",
- "VEE = IE*RE + VBE #Emitter supply voltage (in volts)\n",
- "VCC = IC*RC + VCB #Collector supply voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"IC : \",IC * 10**3,\"mA.\\nIB : \",IB * 10**3,\"mA.\\nVEE : \",VEE,\"V.\\nVCC : \",VCC,\"V.\"\n",
- "\n",
- "#Slight variation due to higher precision in the value of VCC."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.11 , Page Number 239 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "IB : 5.3 micro-A and IC : 0.54 mA at 25 Celsius degree.\n",
- "IB : 5.375 micro-A and IC : 0.6183 mA at 55 Celsius degree.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 30 #Collector supply voltage (in volts)\n",
- "VBB = 6 #Base voltage (in volts)\n",
- "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
- "RB = 1.0 * 10**6 #Base resistance (in ohm)\n",
- "beta = 100 #Current gain in CB\n",
- "ICBO = 0.1 * 10**-6 #Reverse saturation current (in Ampere) \n",
- "dt = 55-25 #Change in temperature (in Celsius degree)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VBB - VBE)/RB #Base current (in Ampere)\n",
- "IC = beta*IB + (beta+1)*ICBO #Collector current (in Ampere)\n",
- "ICBO55 = ICBO * 2**(dt/10.0) #ICBO at 55 Celsius degree (in Ampere)\n",
- "VBE55 = 0.7 - 2.5*10**-3*dt #VBE at 55 Celsius degree (in Ampere)\n",
- "IB55 = (VBB - VBE55)/RB #Base current at 55 Celsius degree(in Ampere)\n",
- "IC55 = beta*IB55 + (beta+1)*ICBO55 #Collector current 55 Celsius degree (in Ampere)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"IB : \",round(IB * 10**6,1),\"micro-A and IC :\",round(IC*10**3,2),\"mA at 25 Celsius degree.\"\n",
- "print \"IB : \",round(IB55 * 10**6,3),\"micro-A and IC :\",round(IC55*10**3,4),\"mA at 55 Celsius degree.\"\n",
- "\n",
- "#Slight variation in IC55 due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.12 , Page Number 239 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Since , beta is very less than hfe , therefore it is in saturation region.\n",
- "VC : -2.3365 V.\n",
- "Minimum value of RB for which it operates in active region : 36.27 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hfe = 100 #Current gain in CE\n",
- "VBE = 0.8 #Base-emitter voltage (in volts)\n",
- "VBB = 3.0 #Base supply voltage (in volts)\n",
- "RB = 7.0 * 10**3 #Base resistance (in ohm)\n",
- "RL = 500 #Load resistance (in ohm)\n",
- "RC = 3.0 * 10**3 #Collector resistance (in ohm)\n",
- "VCC = 10 #Collector supply voltage (in volts) \n",
- "VCE = 1 #Collector-emitter voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "# 7500IB + 500IC = 2.2 ----Eq. 1\n",
- "# 500IB + 2500IC = 9.0 ----Eq. 2\n",
- "IC = 2.55 #Collector current (in milli-Ampere)\n",
- "IB = 0.123 #Base current (in milli-Ampere)\n",
- "beta = IC/IB #Current gain in CB\n",
- "VC = -VCE - (IB + IC)*RL*10**-3 #Collector voltage in saturation (in volts)\n",
- "IBmax = IC/hfe #Maximum base current (in milli-Ampere)\n",
- "RB = (VBB - VBE - IC*RL*10**-3 )/IBmax #Base resistance (in kilo-ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Since , beta is very less than hfe , therefore it is in saturation region.\"\n",
- "print \"VC :\",VC,\"V.\"\n",
- "print \"Minimum value of RB for which it operates in active region : \",round(RB,2),\" kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.13 , Page Number 242 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 16,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 : 133.55 kilo-ohm.\n",
- "RC : 4.06 kilo-ohm.\n",
- "S : 18.65 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "R2 = 30.0 * 10**3 #Resistance (in ohm)\n",
- "R1 = 133.55 * 10**3 #Resistance (in ohm) \n",
- "alpha = 0.985 #Current gain in CB\n",
- "VCC = 16 #Collector supply voltage (in volts) \n",
- "VCE = 6 #Collector-emitter voltage (in volts)\n",
- "IE = 2.0 * 10**-3 #Emitter current (in Ampere)\n",
- "IC = alpha*IE #Collector current (in Ampere)\n",
- "IB = IE - IC #Base current (in Ampere)\n",
- "beta = alpha/(1-alpha) #Current gain in CE \n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "VBE = 0.2 #Base-emitter voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "RC = (VCC - VCE - IE*RE)/IC #Collector resistance (in ohm)\n",
- "Vth = R2/(R1 + R2)*VCC #Voltage across R2 (in volts)\n",
- "Rth = R1*R2/(R1+R2) #Thevenin's equivalence resistance (in ohm)\n",
- "S = (1+beta)/(1 + beta*RE/(Rth+RE)) #Stability factor \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",round(R1 * 10**-3,2),\"kilo-ohm.\"\n",
- "print \"RC : \",round(RC * 10**-3,2),\"kilo-ohm.\"\n",
- "print \"S : \",round(S,2),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.14 , Page Number 243 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 20,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "IB : 0.04 mA.\n",
- "IE : 2.04 mA.\n",
- "Rth : 5.765 kilo-ohm.\n",
- "Vth : 3.4826 V.\n",
- "R1 : 33.1 kilo-ohm.\n",
- "R2 : 6.98 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 50.0 #Current gain in CE\n",
- "VBE = 0.6 #Base-emitter voltage (in\n",
- "RC = 4.7 * 10**3 #Collector resistance (in ohm)\n",
- "VCC = 20 #Collector supply voltage (in volts) \n",
- "IC = 2.0 * 10**-3 #Collector current (in Ampere)\n",
- "VCE = 8 #Collector-emitter voltage (in volts)\n",
- "RE = 1.3 * 10**3 #Emitter resistance (in ohm)\n",
- "S = 5 #Stability factor\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = IC/beta #base current (in Ampere) \n",
- "IE = IB + IC #Emitter current (in Ampere)\n",
- "Rth = (S - 1)*RE/(1 -S/(1+beta)) #Thevenin's equivalent resistance (in ohm)\n",
- "Vth = IB * Rth + VBE + IE*RE #Thevenin's equivalent voltage (in volts)\n",
- "R1 = Rth * VCC/Vth #Resistance1 (in ohm)\n",
- "R2 = Vth * R1/(VCC - Vth) #Resistance2 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"IB : \",IB*10**3,\"mA.\"\n",
- "print \"IE : \",IE*10**3,\"mA.\"\n",
- "print \"Rth : \",round(Rth*10**-3,3),\"kilo-ohm.\"\n",
- "print \"Vth : \",round(Vth,4),\"V.\"\n",
- "print \"R1 :\",round(R1*10**-3,1),\"kilo-ohm.\"\n",
- "print \"R2 : \",round(R2*10**-3,2),\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.15 , Page Number 244 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 29,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "RC : 5.376 kilo-ohm.\n",
- "RE : 9.75 kilo-ohm.\n",
- "R1 : 248.0 kilo-ohm.\n",
- "R2 : 141.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dICbyIC = 10 #Percentage change in IC \n",
- "VBE25max = 0.7 #Max VBE at 25 degree Celsius (in volts)\n",
- "VBE25min = 0.6 #Min VBE at 25 degree Celsius (in volts)\n",
- "ICO25 = 5 * 10**-9 #Reverse saturation current at 25 degree celsius (in Ampere)\n",
- "ICO145 = 3 * 10**-6 #Reverse saturation current at 145 degree celsius (in Ampere)\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "VCE = 10 #Collector-emitter voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "dIC = 5.0/100 * 0.6 #Change in collector current (in milli-Ampere)\n",
- "dICO = ICO145 - ICO25 #Change in reverse saturation current (in Ampere)\n",
- "S = dIC/dICO #Stability factor\n",
- "dVBE = -2.5 * (145 - 25) #Change in VBE (in volts)\n",
- "SV = dIC/dVBE #SV\n",
- "beta = hfe = 400 #Current gain in CE\n",
- "#Rth + Re = 99750.6 \n",
- "#RE = 391.0/3609 * Rth\n",
- "RE = 9.75 #Emitter resistance (in kilo-ohm) \n",
- "Rth = 90 #Thevenin's equivalent resistance (in kilo-ohm)\n",
- "dIC1 = S*ICO145 + SV*dVBE #Change in collector current1 (in milli-Ampere) \n",
- "IC = 0.6 + dIC1 #Collector current (in milli- Ampere) \n",
- "IE = IC + IC/beta #Emitter current (in milli-Ampere)\n",
- "RC = (VCC - IE*RE - VCE)/IC #Collector resistance (in ohm)\n",
- "VBE = 0.65 #emitter-base voltage (in volts)\n",
- "Vth = IC/beta*Rth + VBE + IE*RE #Thevenin's equivalent voltage (in volts)\n",
- "R1 = Rth * VCC/Vth #Resistance1 (in kilo-ohm)\n",
- "R2 = Vth * R1/(VCC - Vth) #Resistance2 (in kilo-ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"RC : \",round(RC,3),\" kilo-ohm.\\nRE : \",RE,\" kilo-ohm.\\nR1 : \",round(R1),\" kilo-ohm.\\nR2 : \",round(R2),\" kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.16 , Page Number 245 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 30,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 : 36.238 kilo-ohm.\n",
- "RC : 2.5 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hfe = 100 #Current gain in CE\n",
- "VBE = 0.7 #Emitter-base voltage (in volts)\n",
- "ICO = 0 #Reverse saturation current (in Ampere)\n",
- "IC = 1.0 * 10**-3 #Collector current (in Ampere)\n",
- "VCE = 2.5 #Collector-emitter voltage (in volts) \n",
- "VCC = 5 #Collector supply voltage (in volts) \n",
- "R2 = 10 * 10**3 #Resistance2 (in ohm) \n",
- "\n",
- "\n",
- "#Calculation\n",
- "\n",
- "R1 = 36.238 * 10**3 #Resistance1 (in ohm) \n",
- "RC = (VCC - VCE)/IC #Collector resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",R1*10**-3,\"kilo-ohm.\\nRC : \",RC*10**-3,\"kilo-ohm.\"\n",
- "\n",
- "#Printing mistake in the value of RC in book."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.17 , Page Number 245 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 41,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VCE : 5.0 V.\n",
- "IE : 1.1 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 100 #Current gain in CE\n",
- "R1 = 10.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 2.2 * 10**3 #Resistance2 (in ohm)\n",
- "VCC = 10 #Collector supply voltage (in volts)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RC = 3.6 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "RB = R1*R2/(R1+R2) #Base resistance (in ohm)\n",
- "Vth = VCC*R2/(R1 + R2) #Thevenin's voltage (in volts)\n",
- "IE = (Vth - VBE)/(RE - Rth/(beta + 1)) #Emitter current (in Ampere)\n",
- "IC = beta*1.0/(beta + 1)*IE #Collector current (in Ampere) \n",
- "VCE = VCC - IC*RC - IE*RE #Collector-emitter voltage (in volts) \n",
- "\n",
- "#Result\n",
- "\n",
- "\n",
- "print \"VCE : \",round(VCE),\"V.\\nIE : \",round(IE*10**3,2),\"mA.\"\n",
- "\n",
- "#Slight varaition due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.18 , Page Number 246 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 43,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VC : -14.25 V.\n",
- "IB : -17.62 micro-A\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 200 #Current gain in CE\n",
- "R1 = 82.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 16.0 * 10**3 #Resistance2 (in ohm)\n",
- "VCC = -22 #Collector supply voltage (in volts)\n",
- "RE = 750 #Emitter resistance (in ohm)\n",
- "RC = 2.2 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = -0.7 #Base-emitter voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vth = VCC*R2/(R1 + R2) #Thevenin's equivalent voltage (in volts)\n",
- "Rth = R1*R2/(R1+R2) #Thevenin's equivalent resistance (in ohm)\n",
- "IB = (Vth - VBE)/(Rth +(beta+1)*RE)#Base current (in Ampere) \n",
- "IC = beta * IB #Collector current (in Ampere)\n",
- "VC = VCC - IC*RC #Output voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VC : \",round(VC,2),\"V.\"\n",
- "print \"IB : \",round(IB * 10**6,2),\" micro-A\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.19 , Page Number 246"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 44,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "IB : 0.04 mA.\n",
- "IC : 2.0 mA.\n",
- "VCE : 14.0 V.\n",
- "VE : 2.0 V.\n",
- "VB : 2.8 V.\n",
- "VC : 16.0 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 20 #collector supply voltage (in volts)\n",
- "beta = 50 #Current gain in CE\n",
- "RB = 430.0 * 10**3 #Base resistance (in ohm) \n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RC = 2.0 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts) \n",
- "IC = 2 * 10**-3 #Collector current (in Ampere)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VCE = VCC - IC*(RC+RE) #Collector-emitter voltage (in volts) \n",
- "VC = VCC - RC*IC #Output voltage (in volts)\n",
- "VE = VC - VCE #Emitter voltage (in volts)\n",
- "IB = 0.04 * 10**-3 #Base current (in Ampere)\n",
- "IE = (1+beta)*IB #Emitter current (in Ampere)\n",
- "VB = VCC - 430*10**3*IB #Base voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"IB : \",IB*10**3,\"mA.\\nIC : \",IC*10**3,\"mA.\\nVCE : \",VCE,\"V.\\nVE : \",VE,\"V.\\nVB : \",VB,\"V.\\nVC : \",VC,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.20 , Page Number 246 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 52,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Operating point will be ICQ : 2.23 mA , VCEQ : 8.85 V.\n",
- "Stability factor : 7.35 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "alpha = 0.985 #Current gain in CB\n",
- "R1 = 50.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 20.0 * 10**3 #Resistance2 (in ohm)\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "RE = 2.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RC = 3.0 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Vth = VCC*R2/(R1 + R2) #Thevenin's equivalent voltage (in volts)\n",
- "Rth = R1*R2/(R1+R2) #Thevenin's equivalent resistance (in ohm)\n",
- "beta = alpha/(1-alpha) #Current gain in CE\n",
- "IB = (Vth - VBE)/(Rth +(beta+1)*RE)#Base current (in Ampere) \n",
- "IC = beta * IB #Collector current (in Ampere)\n",
- "VCE = VCC - IC*(RE + RC) #Collector-emitter voltage (in volts)\n",
- "S = (1 + beta)/(1 + beta*(RE/(Rth + RE))) #Stability factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Operating point will be ICQ : \",round(IC*10**3,2),\"mA , VCEQ : \",round(VCE,2),\"V.\"\n",
- "print \"Stability factor : \",round(S,2),\".\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.21 , Page Number 247 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 53,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 : 81.54 kilo-ohm.\n",
- "R2 : 26.5 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RL = 1.0 * 10**3 #Load resistance (in ohm) \n",
- "RE = 200 #Emitter resistance (in ohm)\n",
- "beta = 100 #Current gain in CE\n",
- "VCC = 9 #Collector supply voltage (in volts)\n",
- "ICQ = 3.75 * 10**-3 #Q-point Collector current (in Ampere)\n",
- "VCEQ = 4.5 #Q-point collector-emitter voltage (in volts)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = ICQ/beta #Base current (in Ampere)\n",
- "IE = (1 + beta)*IB #Emitter current (in Ampere)\n",
- "Rth = 20.0 * 10**3 #Thevenin's eq. resistance (in ohm)\n",
- "Vth = IB*Rth + VBE +IE*RE #Thevenin's equivalent voltage (in volts)\n",
- "R1 = Rth*VCC/Vth #Resistance1 (in ohm)\n",
- "R2 = R1*Vth/(VCC - Vth) #Resistance2 (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",round(R1*10**-3,2),\"kilo-ohm.\\nR2 : \",round(R2*10**-3,1),\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.22 , Page Number 248 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 59,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Operating point , Q will be ICQ = 1.9 mA and VCEQ = 9.9 V.\n",
- "Stability factor : 8.62 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 22.5 #collector supply voltage (in volts)\n",
- "beta = 55 #Current gain in CE\n",
- "RB = 430.0 * 10**3 #Base resistance (in ohm) \n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RC = 5.6 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = 0 #Base-emitter voltage (in volts) \n",
- "IC = 2 * 10**-3 #Collector current (in Ampere)\n",
- "R1 = 90 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 10 * 10**3 #Resistance2 (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rth = R1*R2/(R1+R2) #Thevenin's eq. resistance (in ohm) \n",
- "Vth = VCC * R2/(R1 + R2) #Thevenin's eq. voltage (in volts)\n",
- "IB = (Vth - VBE)/(Rth +(beta + 1)*RE) #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "IE = (beta + 1)*IB #Emitter current (in Ampere)\n",
- "VCE = VCC - IC*RC - IE*RE #Collector-emitter voltage (in volts)\n",
- "S = (1 + beta)/(1 + beta*RE/(Rth + RE)) #Stability factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Operating point , Q will be ICQ =\",round(IC*10**3,2),\"mA and VCEQ =\",VCE,\"V.\"\n",
- "print \"Stability factor : \",round(S,2),\".\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 7.23 , Page Number 248"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 69,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "beta : 153.4 .\n",
- "VCC : 17.6842 V.\n",
- "RB : 779.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RC = 2.7 * 10**3 #Collector resistance (in ohm)\n",
- "RE = 0.68 * 10**3 #Emitter resistance (in ohm)\n",
- "IB = 20.0 * 10**-6 #Base current (in Ampere)\n",
- "VCE = 7.3 #Collector-emitter voltage (in volts)\n",
- "VE = 2.1 #Emitter voltage (in volts)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IE = VE/RE #Emitter current (in Ampere)\n",
- "beta = IE/IB - 1 #Current gain in CE\n",
- "VCC = beta*IB*RC + VCE + IE*RE #Collector supply voltage (in volts)\n",
- "RB = (VCC - VE)/IB #Base resistance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"beta : \",round(beta,1),\".\\nVCC : \",round(VCC,4),\"V.\\nRB : \",round(RB*10**-3),\"kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.24 , Page Number 249"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R1 : 45.0 kilo-ohm.\n",
- "R2 : 9.14 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta=hfe = 100.0 #Current gain in CE\n",
- "VBE = .6 #Base-emitter voltage (in volts)\n",
- "IC = 1.0 * 10**-3 #Collector current (in Ampere)\n",
- "S = 8 #Stability factor\n",
- "VCC = 10 #Collector supply voltage (in volts)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm) \n",
- "VCE = 5 #Collector-emitter resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = IC/beta #Base current (in Ampere)\n",
- "IE = IC + IB #Emitter current (in Ampere)\n",
- "RC = (VCC - VCE - IE*RE)/IC #Collector resistance (in ohm)\n",
- "Rth = RE*(beta*S/(1+beta-S) -1) #Thevenin's resistance(in ohm)\n",
- "Vth = IB*Rth + VBE + IE*RE #Thevenin's eq. voltage (in volts)\n",
- "R1 = Rth*VCC/Vth #Resistance1 (in ohm)\n",
- "R2 = (Vth*R1)/(VCC-Vth) #Resistance2 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",round(R1*10**-3),\"kilo-ohm.\\nR2 : \",round(R2*10**-3,2),\"kilo-ohm.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.25 , Page Number 249"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VCEQ : 3.2 V.\n",
- "ICQ : 1.8 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 100 #Current gain in CE\n",
- "R1 = 2.2 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 2.2 * 10**3 #Resistance2 (in ohm)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "VCC = 5 #Collector supply voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VA = VCC * R2/(R1 + R2) #Voltage at A (in volts)\n",
- "IE = (VA - VBE)/RE #Emitter current (in Ampere)\n",
- "VCEQ = VCC - IE*RE #Q-point VCE (in volts)\n",
- "ICQ = IE #Q-point IC (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VCEQ : \",VCEQ,\"V.\"\n",
- "print \"ICQ : \",ICQ * 10**3,\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.26 , Page Number 250"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 15,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "VCEQ : 9.74 V.\n",
- "ICQ : 1.13 mA.\n",
- "IB : 11.3 micro-A.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 100 #current gain in CE \n",
- "VCC = 12 #Collector supply voltage (in volts)\n",
- "R1 = 15.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 2.7 * 10**3 #Resistance2 (in ohm)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RC = 1.0 * 10**3 #Collector resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VA = VCC*R2/(R1 + R2) #Potential at A (in volts)\n",
- "IE = (VA - VBE)/RE #Emitter current (in Ampere)\n",
- "IC = IE #Collector current (in Ampere) \n",
- "VCEQ = VCC - IC*(RC + RE) #VCE at Q (in volts)\n",
- "ICQ = IE #IC at Q (in volts)\n",
- "IB = IC/beta #Base current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"VCEQ : \",round(VCEQ,2),\"V.\\nICQ : \",round(ICQ*10**3,2),\"mA.\"\n",
- "print \"IB : \",round(IB * 10**6,1),\"micro-A.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.27 , Page Number 250"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 18,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Operation point : ICQ = 1.955 mA , VCQ = 6.224 V.\n",
- "Stability factor : 7.54 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 16 #Collector supply voltage (in volts)\n",
- "RC = 3.0 * 10**3 #Collector resistance (in ohm)\n",
- "RE = 2.0 * 10**3 #Emitter resistance (in ohm)\n",
- "R1 = 56.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 20.0 * 10**3 #Resistance2 (in ohm)\n",
- "alpha = 0.985 #Current gain in CB \n",
- "\n",
- "#Calculation\n",
- "\n",
- "beta = alpha/(1-alpha) #Current gain in CE\n",
- "VBE = 0.3 #Base-emitter voltage (in volts)\n",
- "VB = VCC * R2/(R1 + R2) #Base voltage (in volts)\n",
- "IC = (VB - VBE)/RE #Collector current (in Ampere)\n",
- "VCE = VCC - IC*(RE + RC) #Collector-emitter voltage (in volts)\n",
- "Rth = R1*R2/(R1 + R2) #Thevenin's eq. resistance (in ohm)\n",
- "S = (1 + beta)*(1 + Rth/RE)/(1 + beta + Rth/RE) #Stability factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Operation point : ICQ = \",round(IC*10**3,3),\"mA , VCQ = \",round(VCE,3),\"V.\"\n",
- "print \"Stability factor : \",round(S,2),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.28 , Page Number 251"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 21,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "0.002 8.95e-05 0.0018795 3192.33838787 20000.0 8.49\n",
- "R1 : 47.1 kilo-ohm.\n",
- "R2 : 34.75 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "RL = 4.0 * 10**3 #Load resistance (in ohm)\n",
- "VCE = 6.0 #Collector-emitter voltage (in volts)\n",
- "IC = 2.0 * 10**-3 #Collector current (in Ampere)\n",
- "beta=hfe = 20 #Current gain in CE\n",
- "ICO = 10 * 10**-6 #Reverse saturation current (in Ampere)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (IC - (1 + beta)*ICO)/beta #Base current (in Ampere)\n",
- "IC = beta*IB + (1 + beta)*ICO #Collector current (in Ampere)\n",
- "IE = (beta + 1)*IB #Emitter current (in Ampere)\n",
- "RE = (VCC - IC*RL - VCE)/IE #Emitter resistance (in ohm)\n",
- "Rth = 20.0 * 10**3 #Thevenin's eq. resistance (in ohm)\n",
- "Vth = IB*Rth + VBE + IE*RE #Thevenin's eq. voltage (in volts)\n",
- "R1 = Rth*VCC/Vth #Resitance1 (in ohm)\n",
- "R2 = R1*Vth/(VCC - Vth) #Resistance2 (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"R1 : \",round(R1*10**-3,1),\"kilo-ohm.\\nR2 : \",round(R2*10**-3,2),\"kilo-ohm.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.29 , Page Number 252"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 26,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Following is the graph: \n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x637cf70>"
- ]
- },
- "execution_count": 26,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYFOW5/vHvwy4CgijqGRUlgEIiOmwCURlcQQ3kSBRw\n+Ym7JxGjARcSEgcxIj80IR7cEHEPAhKJiopHpREFZBFUFheCEBAPqGg0EhOE5/zxFmQcZulhuqd6\nuT/X1Zfd1dVVd18h83S99S7m7oiISH6qFXcAERGJj4qAiEgeUxEQEcljKgIiInlMRUBEJI+pCIiI\n5DEVAZEaYmY7zKxVOe8lzOyS6Pl5ZjarZtNJvlIRkKxiZmvNbKuZfWlmn5vZ62Z2hZlZqf26mtlz\n0T6fmdkbZja4nGMONrO5NfIFyufRA3d/3N1PizmP5AkVAck2Dpzp7k2AQ4HbgBuAB3buYGbdgZeB\n2cD33L058F9A75qPK5LZVAQka7n7V+7+DDAAuNDM2kdvjQUecvex7r4l2vdNdx9Y1XOYWQ8zW2Rm\nX5jZwqjA7HzvIjNbGV2V/MXMLi/12evMbKOZbTCzi6twzu9cmUTNSFeY2fvRlc34UvtfHOXYYmYv\nmNmhVf2ekr9UBCTrufsiYANwvJk1BLoBT1b3uGa2LzATGAfsC/wOmBltB9gEnBFdlVwE/N7MCqPP\n9gaGAicDbaP/VscZQGegA3COmZ0WnacfMBz4T2A/YC4wuZrnkjyiIiC5YiPhD3Uzwr/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lFRUCyipn9tMSv9wMJv6BPMrNCoGE0\n/z2EWRM7pfDU/yzxfDvlT764syhVVpDKmrSr5LYzgLsIUwAvsrDW76zoe0/YddBw87kv4QroUuDX\nwGNJfB8RIINnERUpi7vfTbjBu4uZzQYeBP5YYvMfgeFmdrq7PxftdwLwWZojTgaeARoDF0fb5gLn\nAbdEC8984u5/j2aw3OkroEmU04BD3T1hZq8Tisre7n5ayQ9E6//+DHgVGOvur6ftW0nOUhGQXDAZ\n+BNwzs4N7v5NtDrWODMbB2wD3gKuAfYjuidQ4hij3P1PpY7r5Twv6/XO875rZn8HFrn7P6LNxcAk\nM3uLsMrThSWOsfM4TwD3m9kQYBDwQLRWrAF/KKeX0lvA0bm2YpvULE0lLSKSx3RPQEQkj6kIiIjk\nMRUBEZE8piIgIpLHVARERPKYioCISB5TERARyWMqAiIieez/AFxLh/rVOECrAAAAAElFTkSuQmCC\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x5e39390>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables\n",
- "\n",
- "beta = 100\n",
- "\n",
- "#Calculation\n",
- "\n",
- "ICQ = 1.07 #Collector current at Q-point (in milli-Ampere)\n",
- "VCQ = 5.067 #Collector-emitter voltage at Q-point (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Following is the graph: \"\n",
- "\n",
- "x = numpy.linspace(0,5.07,100)\n",
- "y1 = numpy.linspace(0,1.07/2,100)\n",
- "x1 = numpy.linspace(0,5.067/2,100)\n",
- "plot(x,1.07-1.07/5.07*x,'b')\n",
- "plot(x1,1.07/2+x1-x1,'--',color='g')\n",
- "plot(5.067/2+y1-y1,y1,'--',color='g')\n",
- "annotate('Q - POINT',xy=(5.067/2,1.07/2))\n",
- "xlim(0,6)\n",
- "ylim(0,1.1)\n",
- "title(\"DC Load line\")\n",
- "xlabel(\"-VCE in Volts->\")\n",
- "ylabel(\"-IC in mA->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.30 , Page Number 253"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 36,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Value of RB : 61.43 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 50 #current gain in CE \n",
- "VCC = 12 #Collector supply voltage (in volts)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "RB = 100.0 * 10**3 #Base resistance (in ohm)\n",
- "RC = 2.0 * 10**3 #Collector resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VCC - VBE)/(beta*RC + RB) #Base current (in Ampere) \n",
- "IC = beta * IB #Collector current (in Ampere)\n",
- "VCE = VCC - IC*RC #Collector-emitter voltage (in volts)\n",
- "VCE1 = 5 #New collector-emitter voltage (in volts) \n",
- "IC1 = (VCC - VCE1)/RC #Collector current1 (in Ampere)\n",
- "IB1 = IC1/beta #Base current1 (in Ampere)\n",
- "RB1 = (VCC - VBE - beta*IB1*RC)/IB1 #Base resistance1 (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Value of RB :\",round(RB1*10**-3,2),\" kilo-ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.31 , Page Number 254"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 41,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "0.016 0.0158415841584 0.000158415841584\n",
- "Value of collector to base resistance : 25.25 kilo-ohm.\n",
- "Stability factor : 21.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 100.0 #Current gain in CE\n",
- "RC = 1.0 * 10**3 #Collector resistance (in ohm)\n",
- "VCC = 20.0 #Collector supply voltage (in volts)\n",
- "VBE = 0 #Base-emitter voltage (in volts)\n",
- "VCEQ = 4 #VCE at Q-point (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "I1C = (VCC - VCEQ)/RC #Collector current1 (in Ampere)\n",
- "IC = I1C/(1+1/beta) #Collector current (in Ampere)\n",
- "IB = I1C - IC #base current (in Ampere)\n",
- "RB = (VCEQ + VBE)/IB #Base resistance (in ohm)\n",
- "S = (1 + beta)/(1 + beta*RC/(RB + RC)) #Stability factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Value of collector to base resistance :\",RB*10**-3,\"kilo-ohm.\"\n",
- "print \"Stability factor :\",S,\".\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.32 , Page Number 254"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 16,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "ICQ : 2.475 mA , VCEQ : 4.95 V.\n",
- "Stability factor : 25.75 .\n"
- ]
- }
- ],
- "source": [
- "#Variables \n",
- "\n",
- "beta = 50 #Current gain in CB\n",
- "VCC = 10 #Collector supply voltage (in volts)\n",
- "RC = 2.0 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = 0 #Base-emitter voltage (in volts)\n",
- "RB = 100 * 10**3 #Base resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = VCC/(RB + (1 + beta)*RC) #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "VCE = VCC - (IC + IB)*RC #Collector-emitter voltage (in volts)\n",
- "ICQ = IC #IC at Q-point (in Ampere)\n",
- "S = (1 + beta)/(1 + beta*RC/(RC + RB)) #Stability factor\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"ICQ : \",round(ICQ * 10**3,3),\"mA , VCEQ : \",round(VCE,2),\"V.\"\n",
- "print \"Stability factor : \",round(S,2),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.33 , Page Number 255"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 43,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Maximum collector current : 3.66 mA.\n",
- "Minimum collector current : 2.13 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "betamax = 180 #Current gain max. in CE\n",
- "betamin = 60 #Current gain min. in CE\n",
- "VCC = 15 #Collector supply voltage (in volts)\n",
- "RB = 250.0 * 10**3 #Base resistance (in ohm)\n",
- "RC = 2.5 * 10**3 #Collector resistance (in ohm) \n",
- "VBE = 0.7 #Base-collector voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "#IC = (VCC - VBE)/(RC + RC/beta + RB/beta) #Collector current (in Ampere)\n",
- "ICmax = (VCC - VBE)/(RC + RC/betamax + RB/betamax) #Max. collector current (in Ampere)\n",
- "ICmin = (VCC - VBE)/(RC + RC/betamin + RB/betamin) #Min. collector current (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Maximum collector current : \",round(ICmax*10**3,2),\"mA.\"\n",
- "print \"Minimum collector current : \",round(ICmin*10**3,2),\"mA.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.34 , Page Number 256"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 44,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "When beta increases due to temperature , VCE will decrease.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 90 #Current gain in CE\n",
- "VCC = 18 #Collector supply voltage (in volts)\n",
- "RB = 510.0 * 10**3 #Base resistance (in ohm)\n",
- "RC = 2.2 * 10**3 #Collector resistance (in ohm) \n",
- "RE = 1.8 * 10**3 #Emitter resistance (in ohm) \n",
- "VBE = 0.7 #Base-collector voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = VCC/(RB + (1 + beta)*(RC+RE)) #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "VCE = VCC - (IC + IB)*RC -IE*RE #Collector-emitter voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"When beta increases due to temperature , VCE will decrease.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.35 , Page Number 257"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 55,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Old ICQ : 1.06 mA and new ICQ : 1.2 mA.\n",
- "Old VCEQ : 3.65 V and new VCEQ : 2.85 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = 90.0 #Current gain in CE\n",
- "VCC = 10 #Collector supply voltage (in volts)\n",
- "RB = 250.0 * 10**3 #Base resistance (in ohm)\n",
- "RC = 4.7 * 10**3 #Collector resistance (in ohm) \n",
- "RE = 1.2 * 10**3 #Emitter resistance (in ohm) \n",
- "VBE = 0.7 #Base-collector voltage (in volts)\n",
- "beta1 = 135 #New current gain in CE\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = (VCC-VBE)/((RE+RC)*(1/beta + 1) + RB/beta)#Collector current (in Ampere)\n",
- "ICQ = IC #Collector current at Q-point (in Ampere)\n",
- "IB = IC/beta #Base current (in Ampere)\n",
- "VCE = VCC - (IC + IB)*(RC+RE) #Collector-emitter voltage (in volts)\n",
- "VCEQ = VCE #Collector-emitter voltage at Q-point (in volts)\n",
- "ICQ1 = (VCC-VBE)/((RE+RC)*(1/beta1 + 1) + RB/beta1) #Collector current1 at Q-point (in Ampere)\n",
- "IB1 = ICQ1/beta #Base current1 (in Ampere) \n",
- "VCEQ1 = VCC - (ICQ1 + IB)*(RC+RE) #Collector-emitter voltage (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "\n",
- "print \"Old ICQ :\",round(ICQ*10**3,2),\"mA and new ICQ :\",round(ICQ1*10**3,3),\"mA.\"\n",
- "print \"Old VCEQ :\",round(VCEQ,2),\"V and new VCEQ :\",round(VCEQ1,2),\"V.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.36 , Page Number 258"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 60,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Vo : 13.9 V.\n",
- "RF : 110.91 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 15 #Collector supply voltage (in volts) \n",
- "IE = 1.0 * 10**-3 #Emitter current (in Ampere)\n",
- "beta = 99 #Current gain in CE\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "R1 = 17.0 * 10**3 #Resistance1 (in ohm)\n",
- "RC = 1.0 * 10**3 #Collector resistance (in ohm)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (IE)/(beta + 1) #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "IR1 = (VBE + IE*RE)/R1 #Current through R1 (in Ampere)\n",
- "IRF = IR1 + IB #Current through RF (in Ampere)\n",
- "I1C = IC + IRF #Current through RC (in Ampere)\n",
- "Vo = VCC - I1C*RC #Output voltage (in volts)\n",
- "RF = (Vo - VBE - IE*RE)/IRF #Resistance RF (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Vo : \",round(Vo,1),\"V.\"\n",
- "print \"RF : \",round(RF*10**-3,2),\"kilo-ohm.\"\n",
- "\n",
- "#Calculation error in book for value of RF."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.37 , Page Number 258"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 65,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "R : 106.9 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 24 #Collector supply voltage (in volts)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "RC = 10.0 * 10**3 #Collector resistance (in ohm)\n",
- "RE = 270.0 #Emitter resistance (in ohm)\n",
- "VCE = 5 #Collector-emitter voltage (in volts) \n",
- "beta = 45 #Current gain in CE\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IE = (VCC - VCE )/(RC + RE) #Emitter current (in Ampere)\n",
- "IB = IE/(beta + 1) #Base current (in Ampere)\n",
- "RB = (VCC - VBE - IE*(RE + RC))/IB #Base resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "\n",
- "print \"R : \",round(RB*10**-3,1),\"kilo-ohm.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.38 , Page Number 259"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 71,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Rth : 9989.0 ohm.\n",
- "IB : 20.0 micro-A.\n",
- "IE : 2.0 mA.\n",
- "Vth : 2.9 V.\n",
- "R1 : 68.4 kilo-ohm.\n",
- "R2 : 11.7 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 20 #Collector supply voltage (in volts)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "beta = 100 #Current gain in CE\n",
- "IC = 2.0 * 10**-3 #Collector current (in Ampere) \n",
- "S = 10 #Stability factor\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = IC/beta #Base current (in Ampere)\n",
- "IE = IB + IC #Emitter current (in Ampere)\n",
- "Rth = beta*S*RE/(1 + beta - S) - RE #Thevenin's eq. resistance (in ohm)\n",
- "Vth = IB*Rth + VBE + IE*RE #Thevenin's eq. voltage (in volts) \n",
- "R1 = Rth*VCC/Vth #Resitance1 (in ohm)\n",
- "R2 = R1*Vth/(VCC - Vth) #Resistance2 (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Rth : \",round(Rth),\"ohm.\"\n",
- "print \"IB : \",round(IB*10**6),\"micro-A.\"\n",
- "print \"IE : \",round(IC*10**3,2),\"mA.\"\n",
- "print \"Vth : \",round(Vth,1),\"V.\"\n",
- "print \"R1 : \",round(R1*10**-3,1),\"kilo-ohm.\"\n",
- "print \"R2 : \",round(R2*10**-3,1),\"kilo-ohm.\"\n",
- "\n",
- "#Slight variations due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.39 , Page Number 266"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 94,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Following is the graph of ac and dc load lines.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "<matplotlib.text.Text at 0x858b350>"
- ]
- },
- "execution_count": 94,
- "metadata": {},
- "output_type": "execute_result"
- },
- {
- "data": {
- "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXsAAAEZCAYAAAB2AoVaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl8FHXS+PFPgQICQVFhxYOHsI/KDYZDDoW4qOAiLgZF\nwDWAByuI16qoeJCgP8XFRVdgXQ8CqBwqIOK16ipRBAQERAgocuRRFIQF5FBQCfX749sJQ8gxk8yk\n56j365UXk5me7pox1vRUV1eLq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2wF6glhenAPVVNVtEFuA+PGqoarfAJ4jIX4GbcJMOx6jqgoi9KpMw\nLNmbaDYdmA30yb9DVQ+IyKXAkyLyJO5izCuB23Ajdc8XkRUB63hIVWcXWq8Wc7uo3/O3+6WI7AOW\nqup+7+4MIEtEVgI/cXi2eOBVg2YAz4nIzUA/YKKIHI/7RvCPYrqCVgItveuNGhMWNuLYGGMSgNXs\njTEmAViyN8aYBGDJ3hhjEoAle2OMSQCW7I0xJgFYsjfGmARgyd4YYxKAJXtjjEkA/x/jhVRx3OeC\nBwAAAABJRU5ErkJggg==\n",
- "text/plain": [
- "<matplotlib.figure.Figure at 0x8721e70>"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- }
- ],
- "source": [
- "import math\n",
- "import numpy\n",
- "%matplotlib inline\n",
- "from matplotlib.pyplot import plot,title,xlabel,ylabel,ylim,xlim,annotate\n",
- "\n",
- "#Variables\n",
- "\n",
- "RC = 3.0 * 10**3 #Collector resistance (in ohm)\n",
- "RL = 12.0 * 10**3 #Load resistance (in ohm)\n",
- "R1 = 16.0 * 10**3 #Resitance1 (in ohm)\n",
- "R2 = 4.0 * 10**3 #Resistance2 (in ohm)\n",
- "RE = 2.0 * 10**3 #Emitter Resistance (in ohm)\n",
- "VCEcutoff = VCC = 20 #Collector supply voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "IC = VCC/(RC + RE) #Collector current(in Ampere) \n",
- "VE = VCC*R2/(R1 + R2) #Voltage across R2 (in volts)\n",
- "IE = VE/RE #Emitter current (in Ampere)\n",
- "ICQ = IE #IC at Q-point (in Ampere)\n",
- "VCEQ = VCC - ICQ*(RC + RE) #VCE at Q-point (in Ampere)\n",
- "Rac = RC*RL/(RC + RL) #AC resistance (in ohm)\n",
- "ICsat = ICQ + VCEQ/Rac #IC saturation (in Ampere)\n",
- "VCEoff = VCEQ + ICQ*Rac #VCE cut-off for ac load line (in volts)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Following is the graph of ac and dc load lines.\"\n",
- "\n",
- "#Graph\n",
- "\n",
- "x = numpy.linspace(0,20,100)\n",
- "x2 = numpy.linspace(0,14.8,100)\n",
- "y1 = numpy.linspace(0,2,100)\n",
- "x1 = numpy.linspace(0,10,100)\n",
- "plot(x,4-4/20.0*x,'b')\n",
- "plot(x2,6.17-6.17/14.8*x2,'r')\n",
- "plot(x1,2+x1-x1,'--',color='g')\n",
- "plot(10+y1-y1,y1,'--',color='g')\n",
- "annotate('Q',xy=(10,2.2))\n",
- "annotate('DC load line',xy=(14,1.3))\n",
- "annotate('AC load line',xy=(5.5,4))\n",
- "xlim(0,20)\n",
- "ylim(0,7)\n",
- "title(\"DC and AC Load lines\")\n",
- "xlabel(\"-VCE in Volts->\")\n",
- "ylabel(\"-IC in mA->\")"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 7.40 , Page Number 268"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 95,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input resistance : 1.667 kilo-ohm.\n",
- "Current gain : 80.0 .\n",
- "AC load : 4.0 kilo-ohm.\n",
- "Voltage gain : 192.0 .\n",
- "Power gain : 15360.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "dVBE = 0.025 #Change in VBE (in volts)\n",
- "dIB = 15.0 * 10**-6 #Change in base current (in Ampere)\n",
- "dIC = 1.2 * 10**-3 #Change in collector current (in Ampere)\n",
- "RC = 6.0 * 10**3 #Collector resistance (in ohm)\n",
- "RL = 12.0 * 10**3 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rin = dVBE/dIB #Input resistance (in ohm)\n",
- "beta = dIC/dIB #Current gain in CE\n",
- "Rac = RC*RL/(RC+RL) #AC load (in ohm)\n",
- "Av = beta*Rac/Rin #Voltage gain \n",
- "Ap = beta*beta*Rac/Rin #Power gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input resistance : \",round(Rin*10**-3,3),\"kilo-ohm.\"\n",
- "print \"Current gain : \",beta,\".\"\n",
- "print \"AC load : \",Rac*10**-3,\"kilo-ohm.\"\n",
- "print \"Voltage gain : \",Av,\".\"\n",
- "print \"Power gain : \",Ap,\".\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter8.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter8.ipynb
deleted file mode 100644
index 6db881de..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter8.ipynb
+++ /dev/null
@@ -1,1134 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 8 , Hybrid Parameteres and Transistor Amplifiers"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.1 , Page Number 285"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "hie : 1.1 kilo-ohm.\n",
- "hfe : 50.0 .\n",
- "hre : 0.00025 .\n",
- "hoe : 30.0 micro-S.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IB1 = 20.0 *10**-6 #Base current with ac o/p shorted (in Ampere)\n",
- "IC1 = 1.0 *10**-3 #Collector current with ac o/p shorted (in Ampere)\n",
- "VBC1 = 22.0 * 10**-3 #Base-collector voltage with ac o/p shorted (in volts)\n",
- "VCE1 = 0 #Collector-emitter voltage wwith ac o/p shorted (in volts)\n",
- "\n",
- "IB2 = 0 #Base current with ac i/p open-circuited (in Ampere)\n",
- "VBE2 = 0.25 *10**-3 #Base-emitter voltage with ac i/p open-circuited (in volts)\n",
- "IC2 = 30.0 * 10**-6 #Collector current with ac i/p open-circuited (in Ampere) \n",
- "VCE2 = 1 #Collector-emitter voltage with ac i/p open-circuited (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "hie = VBC1/IB1 #hie (in ohm)\n",
- "hfe = IC1/IB1 #Current gain in CE\n",
- "hre = VBE2/VCE2 #hre \n",
- "hoe = IC2/VCE2 #hoe (in Siemen)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"hie : \",hie*10**-3,\"kilo-ohm.\"\n",
- "print \"hfe : \",hfe,\".\"\n",
- "print \"hre : \",hre,\".\"\n",
- "print \"hoe : \",hoe * 10**6,\"micro-S.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.2 , Page Number 290"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "hfb : -0.98 .\n",
- "hib : 16.27 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hfe = 50.0 #hfe\n",
- "hie = 0.83 * 10**3 #hie (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "hfb = -hfe/(1 + hfe) #Current gain\n",
- "hib = hie/(1 + hfe) #Input impedance (in ohm) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"hfb : \",round(hfb,2),\".\\nhib : \",round(hib,2),\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.3 , Page Number 290"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 5,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "hic : 2600.0 ohm.\n",
- "hfc : -101 .\n",
- "hrc : 1.0 .\n",
- "hoc : 5e-06 S.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hfe = 100 #hfe\n",
- "hre = 0.02 * 10**-2 #hre\n",
- "hoe = 5 * 10**-6 #hoe (in Siemens) \n",
- "hic = hie = 2600.0 #hie (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "hfc = -(1 + hfe) #hfc \n",
- "hrc = 1 - hre #hrc\n",
- "hoc = hoe #hoe (in Siemens) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"hic :\",hic,\"ohm.\"\n",
- "print \"hfc :\",hfc,\".\"\n",
- "print \"hrc :\",round(hrc),\".\"\n",
- "print \"hoc :\",hoc,\"S.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.4 , Page Number 294 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain : -19.6 .\n",
- "Input resistance : 1905.92 ohm.\n",
- "Voltage gain : -308.5 .\n",
- "Overall voltage gain : -235.0 .\n",
- "Overall current gain : -4.7 .\n",
- "Output conductance : 4.69846153846e-05 S.\n",
- "Output resistance : 21284.0 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 2000.0 #hie (in ohm)\n",
- "hre = 1.6 * 10**-4 #hre\n",
- "hfe = 49 #Current gain \n",
- "hoe = 50 * 10**-6 #hoe (in Ampere per volt)\n",
- "RL = 30.0 * 10**3 #Load resistance (in ohm)\n",
- "RS = 600.0 #Source resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Ai = - hfe/(1 + hoe*RL) #Current gain\n",
- "Rin = hie - hre*hfe/(hoe + 1/RL)#Input resistance (in ohm)\n",
- "Av = -hfe/((hoe + 1/RL)*Rin) #Voltage gain \n",
- "Avs = Av*Rin/(Rin + RS) #Overall voltage gain \n",
- "Ais = Ai*RS/(Rin + RS) #Overall current gain\n",
- "Gout = hoe - hfe*hre/(hie + RS) #Output conductance (in Siemens)\n",
- "Rout = 1/Gout #Output resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain :\",Ai,\".\"\n",
- "print \"Input resistance :\",Rin,\"ohm.\"\n",
- "print \"Voltage gain :\",round(Av,1),\".\"\n",
- "print \"Overall voltage gain :\",round(Avs),\".\"\n",
- "print \"Overall current gain :\",round(Ais,1),\".\"\n",
- "print \"Output conductance :\",Gout,\"S.\"\n",
- "print \"Output resistance :\",round(Rout),\"ohm.\"\n",
- "\n",
- "#Slight variations due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.5 , Page Number 294 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 11,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain : -48.78 .\n",
- "Input resistance : 1087.8 ohm.\n",
- "Voltage gain : -44.84 .\n",
- "Overall voltage gain : -23.36 .\n",
- "Overall current gain : -23.364 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 1.1 * 10**3 #hie (in ohm)\n",
- "hre = 0.25 * 10**-3 #hre\n",
- "hfe = 50 #Current gain\n",
- "hoe = 25.0 * 10**-6 #hoe (in Siemens)\n",
- "RL = 1.0 * 10**3 #Load resistance (in ohm)\n",
- "RS = 1.0 * 10**3 #Series resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Ai = - hfe/(1 + hoe*RL) #Current gain\n",
- "Rin = hie - hre*hfe/(hoe + 1/RL)#Input resistance (in ohm)\n",
- "Av = -hfe/((hoe + 1/RL)*Rin) #Voltage gain \n",
- "Avs = Av*Rin/(Rin + RS) #Overall voltage gain \n",
- "Ais = Ai*RS/(Rin + RS) #Overall current gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain :\",round(Ai,2),\".\"\n",
- "print \"Input resistance :\",round(Rin,1),\"ohm.\"\n",
- "print \"Voltage gain :\",round(Av,2),\".\"\n",
- "print \"Overall voltage gain :\",round(Avs,2),\".\"\n",
- "print \"Overall current gain :\",round(Ais,3),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.6 , Page Number 295 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain : -100.0 .\n",
- "Input resistance : 1000.0 ohm.\n",
- "Voltage gain : -200.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 1.0 * 10**3 #hie (in ohm)\n",
- "hfe = 100 #Current gain\n",
- "RL = 2.0 * 10**3 #Load resistance (in ohm)\n",
- "hre = hoe = 0 #hre \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Ai = - hfe/(1 + hoe*RL) #Current gain\n",
- "Rin = hie - hre*hfe/(hoe + 1/RL)#Input resistance (in ohm)\n",
- "Av = -hfe/((hoe + 1/RL)*Rin) #Voltage gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain :\",round(Ai,2),\".\"\n",
- "print \"Input resistance :\",round(Rin,1),\"ohm.\"\n",
- "print \"Voltage gain :\",round(Av,2),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.7 , Page Number 295 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 20,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain : 0.979 .\n",
- "Input resistance : 24.47 ohm.\n",
- "Voltage gain : 48.02 .\n",
- "Overall voltage gain : 5.24 .\n",
- "Overall current gain : 0.873 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RS = 200.0 #internal resistance (in ohm)\n",
- "RL = 1200.0 #Load resistance (in ohm)\n",
- "hib = 24.0 #hib (in ohm)\n",
- "hrb = 4.0 * 10**-4 #hrb\n",
- "hfb = -0.98 #hfb\n",
- "hob = 0.6 * 10**-6 #hob (in Ampere per volt)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Ai = - hfb/(1 + hob*RL) #Current gain\n",
- "Rin = hib + hrb*Ai*RL #Input resistance (in ohm)\n",
- "Av = Ai*RL/Rin #Voltage gain \n",
- "Avs = Av*Rin/(Rin + RS) #Overall voltage gain \n",
- "Ais = Ai*RS/(Rin + RS) #Overall current gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain :\",round(Ai,3),\".\"\n",
- "print \"Input resistance :\",round(Rin,2),\"ohm.\"\n",
- "print \"Voltage gain :\",round(Av,2),\".\"\n",
- "print \"Overall voltage gain :\",round(Avs,2),\".\"\n",
- "print \"Overall current gain :\",round(Ais,3),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.8 , Page Number 296 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 29,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "hfe : 120.0 .\n",
- "hoe : 2.5e-05 S.\n",
- "hie : 2.5 kilo-ohm.\n",
- "Current amplification factor : 0.99 .\n",
- "hob : 2.06611570248e-07 .\n",
- "hib : 20.83 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IE = 1.2 * 10**-3 #Emitter current (in Ampere)\n",
- "beta = 120.0 #Current gain\n",
- "ro = 40.0 * 10**3 #O/p resistance (in ohm)\n",
- "hre = 0 #hre \n",
- "\n",
- "#Calculation\n",
- "\n",
- "hfe = beta #hfe\n",
- "hoe = 1/ro #hoe (in Siemen)\n",
- "hie = 25.0*10**-3/IE*beta #hie (in ohm)\n",
- "alpha = beta/(1 + beta) #Current gain in CB\n",
- "hob = hoe/(1 + beta) #hob (in Siemen) \n",
- "hib = 25 * 10**-3/IE #hib (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"hfe :\",hfe,\".\"\n",
- "print \"hoe :\",hoe,\"S.\"\n",
- "print \"hie :\",hie*10**-3,\"kilo-ohm.\"\n",
- "print \"Current amplification factor :\",round(alpha,2),\".\"\n",
- "print \"hob :\",hob,\".\"\n",
- "print \"hib :\",round(hib,2),\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.9 , Page Number 296 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 33,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Current gain : 99.75 .\n",
- "Input resistance : 51864.074 ohm.\n",
- "Voltage gain : 0.9617 .\n",
- "Overall voltage gain : 0.9435 .\n",
- "Overall current gain : 1.887 .\n",
- "Output resistance : 29.69 ohm.\n",
- "Output conductance : 0.0337 Siemen.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hic = hie = 2.0 * 10**3 #hic (in ohm)\n",
- "hfe = 100.0 #Current gain in CE\n",
- "hre = 2.5 * 10**-4 #hre\n",
- "hoe = 25.0 * 10**-6 #hoe (in Ampere per volt)\n",
- "RS = 1.0 * 10**3 #Source resistance (in ohm)\n",
- "RL = 500.0 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "hfc = -(1 + hfe) #hfc\n",
- "hrc = 1 - hre #hrc\n",
- "hoc = hoe #hoc (in Siemens)\n",
- "Ai = -hfc/(1 + hoc*RL) #Current gain\n",
- "Rin = hic - hrc*hfc/(hoc + 1/RL) #Input resistance (in ohm)\n",
- "Av = -hfc/((hoc + 1/RL)*Rin) #Voltage gain\n",
- "Avs = Av*Rin/(Rin + RS) #Overall voltage gain\n",
- "Ais = Ai*RS/(Rin + RS) #Overall current gain\n",
- "Go = hoc -(hfc*hrc/(hic + RS)) #O/P conductance (in Siemens)\n",
- "Ro = 1/Go #O/P resistance (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Current gain :\",round(Ai,2),\".\"\n",
- "print \"Input resistance :\",round(Rin,3),\"ohm.\"\n",
- "print \"Voltage gain :\",round(Av,4),\".\"\n",
- "print \"Overall voltage gain :\",round(Avs,4),\".\"\n",
- "print \"Overall current gain :\",round(Ais,3),\".\"\n",
- "print \"Output resistance :\",round(Ro,2),\"ohm.\"\n",
- "print \"Output conductance :\",round(Go,4),\"Siemen.\"\n",
- "\n",
- "#Slight variations due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.10 , Page Number 300"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 38,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Power gain : 826.0 .\n",
- "EMF E : 0.29 V.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 2.0 * 10**3 #hie (in ohm)\n",
- "hoe = 25.0 * 10**-6 #hoe (in Siemens)\n",
- "hfe = 55.0 #Current gain in CE\n",
- "Pin = 10.0 * 10**-3 #Output power (in watt)\n",
- "RB = 80.0 * 10**3 #Base resistance (in ohm)\n",
- "RC = 10.0 * 10**3 #Collector resitance (in ohm)\n",
- "RL = 10.0 * 10**3 #Load resistance (in ohm)\n",
- "RS = 5.0 * 10**3 #Source resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Zb = hie #Zb (in ohm)\n",
- "Zin = RB #Impedance (in ohm)\n",
- "ZS = RS + Zin #Imput impedance (in ohm)\n",
- "Zout = RC/hoe*(1/(RC + 1/hoe)) #Output impedance (in ohm)\n",
- "Rac = Zout*RL/(Zout + RL) #AC load resistance (in ohm)\n",
- "Vout = -34.3*0.29 #Output voltage (in volts)\n",
- "Pout = Vout**2/RL #Output power (in watt) \n",
- "E = 0.29 #EMF (in volts)\n",
- "Ap = Pin/0.29**2*6.95*10**3 #Power gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Power gain : \",round(Ap),\".\"\n",
- "print \"EMF E : \",E,\"V.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.11 , Page Number 301 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 46,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input impedance : 0.87 kilo-ohm.\n",
- "Output impedance : 1.9 kilo-ohm\n",
- "Current gain : -43.5 .\n",
- "Voltage gain : -100.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 1.0 * 10**3 #hie (in ohm)\n",
- "hfe = 100.0 #Current gain \n",
- "R1 = 20.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 10 * 10**3 #Resistance2 (in ohm)\n",
- "hoe = 25.0 * 10**-6 #hoe (in Siemens)\n",
- "RC = 2* 10**3 #Collector resistance (in ohm)\n",
- "RL = 2* 10**3 #Load resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Zb = hie #Zb (in ohm) \n",
- "Zin = Zb*R1*R2/(Zb*R1 + Zb*R2 + R1*R2) #Input impedance (in ohm)\n",
- "Zout = 1/hoe*RC/(RC + 1/hoe) #Output impedance (in ohm)\n",
- "Av = -(RC*RL)/(RC + RL)*hfe/hie #Voltage gain\n",
- "RB = R1*R2/(R1 + R2) #Base resistance (in ohm)\n",
- "Ai = -hfe*RB*RC/((RC + RL)*(RB + Zb)) #Current gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input impedance : \",round(Zin * 10**-3,2),\"kilo-ohm.\"\n",
- "print \"Output impedance : \",round(Zout * 10**-3,1),\"kilo-ohm\"\n",
- "print \"Current gain : \",round(Ai,1),\".\"\n",
- "print \"Voltage gain : \",Av,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.12 , Page Number 302 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 56,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Ai : -100.0 .\n",
- "Av : -9.597 .\n",
- "Avs : -4.19 .\n",
- "Rin : 7.74 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 1100.0 #hie (in ohm)\n",
- "hre = 0 #hre\n",
- "hfe = 50.0 #Current gain \n",
- "hoe = 100.0 #hoe \n",
- "R1 = 100.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 10.0 * 10**3 #Resistance2 (n ohm)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RL = 5.0 * 10**3 #Load resistance (in ohm) \n",
- "RS = 10.0 * 10**3 #Source resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "RB = hie + (1 + hfe)*RE #Base resistance (in ohm)\n",
- "Rin = RB*R1*R2/((RB*R1 + RB*R2 + R1*R2)) #Input resistance (in ohm)\n",
- "Ai = -hoe #Current gain\n",
- "Av = -hoe*RL/(hie + (1 + hfe)*RE) #Voltage gain\n",
- "Avs = Av * Rin/(Rin + RS) #Overall voltage gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Ai : \",Ai,\".\"\n",
- "print \"Av : \",round(Av,3),\".\"\n",
- "print \"Avs : \",round(Avs,2),\".\"\n",
- "print \"Rin : \",round(Rin*10**-3,2),\"kilo-ohm.\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.13 , Page Number 302 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 60,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Quiescent collector current : 1.0 mA.\n",
- "Small signal voltage gain : -40.63 .\n",
- "Maximum possible swing of collector current : 4.55 mA.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RE = 100.0 #Emitter resistance (in ohm) \n",
- "RC = 1.0 * 10**3 #Collector resistance (in ohm)\n",
- "VBE = 0.7 #Base-emitter voltage (in volts)\n",
- "RB = 420.0 * 10**3 #Base resistance (in ohm)\n",
- "beta = 100 #Current gain in CE\n",
- "VCC = 5.0 #Collector supply voltage (in volts) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = (VCC -VBE)/(RB + (beta + 1)*RE) #Base current (in Ampere)\n",
- "ICQ = beta * IB #Q-point collector current (in Ampere)\n",
- "IE = (beta + 1)*IB #Emitter current (in Ampere)\n",
- "r1e = 25.0*10**-3/IE #Resistance (in ohm) \n",
- "Rin = RB*(beta*r1e)/(RB + beta*r1e) #Input resistance (in ohm)\n",
- "Rout = RC #Output resistance (in ohm)\n",
- "Av = -ICQ/IB*Rout/Rin #Small signal voltage gain \n",
- "swing = VCC/(RC + RE) #Max. possible swing (in Ampere) \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Quiescent collector current : \",round(ICQ*10**3,3),\"mA.\"\n",
- "print \"Small signal voltage gain : \",round(Av,2),\".\"\n",
- "print \"Maximum possible swing of collector current : \",round(swing*10**3,2),\"mA.\"\n",
- "\n",
- "#Slight variation due to high precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.14 , Page Number 303 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "1.20603015075e-05 0.00156783919598 0.00156783919598 0.00157989949749\n",
- "ICQ : 0.945 mA and VCEQ : 2.251 V.\n",
- "VCE when R2 is open circuited : -8.117 V.\n",
- "AV : -455.0 .\n",
- "Rin : 1.0 kilo-ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "beta = hfe = 130 #Current gain in CE\n",
- "R1 = 510.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 510.0 * 10**3 #Resistance2 (n ohm)\n",
- "RE = 7.5 * 10**3 #Emitter resistance (in ohm)\n",
- "RC = 9.1 * 10**3 #Collector resistance (in ohm)\n",
- "VCC = 18.0 #Collector supply voltage (in volts)\n",
- "VBE = 0 #Base-Emitter voltage (in volts)\n",
- "hie = 1.0 * 10**3 #hie (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Rth = R1*R2/(R1 + R2) #Thevenin's eq. resistance (in ohm)\n",
- "Vth = VCC * R2/(R1 + R2) #Thevenin's eq. voltage (in volts)\n",
- "IB = (Vth - VBE)/(Rth + (beta + 1)*RE) #Base current (in Ampere)\n",
- "IC = beta*IB #Collector current (in Ampere)\n",
- "ICQ = IC #Q-point IC (in Ampere)\n",
- "IE = (beta + 1)*IB #Emitter current (in Ampere)\n",
- "VCEQ = VCC - ICQ*RC - IE*RE #Q-point VCE (in Ampere) \n",
- "\n",
- "IB1 = (VCC - VBE)/(R1 + (beta + 1)*RE) #Base current1 (in Ampere)\n",
- "IC1 = beta*IB1 #Collector current1 (in Ampere) \n",
- "ICQ1 = IC1 #Q-point IC (in Ampere)\n",
- "IE1 = (beta + 1)*IB1 #Emitter current1 (in Ampere)\n",
- "VCEQ1 = VCC - ICQ1*RC - IE1*RE #Q-point VCE (in Ampere) \n",
- "\n",
- "Rin = (R1*R2*hie)/(R1*R2 + hie*R2 + hie*R1) #Input resistance (in ohm)\n",
- "Av = -50/hie*RC #Voltage gain \n",
- "\n",
- "#Result\n",
- "print IB1,IC1,ICQ1,IE1\n",
- "print \"ICQ : \",round(ICQ*10**3,3),\"mA and VCEQ : \",round(VCEQ,3),\"V.\"\n",
- "print \"VCE when R2 is open circuited : \",round(VCEQ1,3),\"V.\"\n",
- "print \"AV : \",round(Av,3),\".\"\n",
- "print \"Rin : \",round(Rin*10**-3,2),\"kilo-ohm.\"\n",
- "\n",
- "#Mistake in book for the value of hfe in calculation of Av."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.15 , Page Number 304 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 10,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Zin : 1.595 kilo-ohm.\n",
- "Zout : 4.296 kilo-ohm.\n",
- "Av : -323.125 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hfe = 110 #Current gain in CE\n",
- "hie = 1.6 * 10**3 #hie (in ohm)\n",
- "hre = 2 * 10**-4 #hre\n",
- "hoe = 20.0 * 10**-6 #hoe (in Ampere per volt) \n",
- "RB = 470.0 * 10**3 #Base resistance (in ohm)\n",
- "RC = 4.7 * 10**3 #Collector resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "Zin = RB*hie/(RB + hie) #Input impedance (in ohm)\n",
- "Zout = RC*1/hoe/(RC + 1/hoe) #Output impedance (in ohm)\n",
- "Av = -RC*hfe/hie #Voltage gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Zin : \",round(Zin*10**-3,3),\" kilo-ohm.\"\n",
- "print \"Zout : \",round(Zout*10**-3,3),\" kilo-ohm.\"\n",
- "print \"Av : \",round(Av,3),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.16 , Page Number 307 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Zin : 24.84 ohm.\n",
- "Zout : 7.97 kilo-ohm.\n",
- "Av : 134.4 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hib = 25.0 #hie (in ohm)\n",
- "hfb = -0.98 #Current gain in CB \n",
- "hob = 0.5 * 10**-6 #hob (in Siemens) \n",
- "R1 = 20.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 5.0 * 10**3 #Resistance2 (n ohm)\n",
- "RE = 4.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RL = 6.0 * 10**3 #Load resistance (in ohm) \n",
- "RC = 8.0 * 10**3 #Collector resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "Zin = hib*RE/(hib + RE) #Input impedance (in ohm)\n",
- "Zout = RC*1/hob/(RC + 1/hob) #Output impedance (in ohm)\n",
- "Av = -(RC*RL)/(RC+RL)*hfb/hib #Voltage gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Zin : \",round(Zin,2),\" ohm.\"\n",
- "print \"Zout : \",round(Zout*10**-3,2),\" kilo-ohm.\"\n",
- "print \"Av : \",round(Av,3),\".\"\n",
- "\n",
- "#Slight variation due to higher precision."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.17 , Page Number 309 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 18,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input impedance : 4.9 kilo-ohm.\n",
- "Outpur impedance : 28.0 ohm.\n",
- "Voltage gain : 1 .\n",
- "Current gain : 101.0 .\n",
- "Power gain : 101.0 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hie = 2000.0 #hie (in ohm)\n",
- "hfe = 100.0 #Current gain \n",
- "R1 = 10.0 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 10.0 * 10**3 #Resistance2 (n ohm)\n",
- "RE = 5.0 * 10**3 #Emitter resistance (in ohm)\n",
- "RL = 5.0 * 10**3 #Load resistance (in ohm) \n",
- "RS = 1.0 * 10**3 #Source resistance (in ohm) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "hic = hie #hic\n",
- "hfc = -(1 + hfe) #hfc\n",
- "Zb = hic - hfc*(RE*RL)/(RE + RL) #ZB (in ohm)\n",
- "Zin = Zb*R1*R2/(Zb*R1 + R1*R2 + Zb*R2)#Input impedance (in ohm)\n",
- "Ze = -(hic + (R1*R2*RS/(R1*R2 + R2*RS + R1*RS)))/hfc #Ze (in ohm)\n",
- "Zout = Ze*RE/(Ze + RE) #Output impedance (in ohm) \n",
- "Av = 1 #Coltage gain\n",
- "RB = R1*R2/(R1 + R2) #Base resistance (in ohm)\n",
- "Ai = -hfc #Current gain\n",
- "Ap = Ai #Power gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input impedance : \",round(Zin * 10**-3,1),\"kilo-ohm.\"\n",
- "print \"Outpur impedance : \",round(Zout),\"ohm.\"\n",
- "print \"Voltage gain : \",Av,\".\"\n",
- "print \"Current gain : \",Ai,\".\"\n",
- "print \"Power gain : \",Ap,\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.18 , Page Number 310 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input impedance : 227.667 kilo-ohm.\n",
- "Voltage gain : 0.9956 .\n",
- "Current gain : 45.33 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "RL = 5.0 * 10**3 #Load resistance (in ohm) \n",
- "RS = 0.5 * 10**3 #Source resistance (in ohm) \n",
- "hie = 1000.0 #hie (in ohm)\n",
- "hfe = 50.0 #Current gain \n",
- "hoe = 25.0 * 10**-6 #hor (in Siemens) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "hic = hie #hie (in ohm)\n",
- "hrc = 1 #hrc\n",
- "hfc = -(1 + hfe) #hfc \n",
- "hoc = hoe #hoe (in Siemens)\n",
- "Ai = -hfc/(1 + hoc*RL) #Current gain\n",
- "Ri = hic - hrc*hfc/(hoc + 1/RL) #Input resistance (in ohm)\n",
- "Av = Ai*RL/Ri #Voltage gain\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input impedance : \",round(Ri * 10**-3,3),\"kilo-ohm.\"\n",
- "print \"Voltage gain : \",round(Av,4),\".\"\n",
- "print \"Current gain : \",round(Ai,2),\".\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.19 , Page Number 310"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 10,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Input impedance : 34.254 kilo-ohm.\n",
- "Outpur impedance : 21.1 ohm.\n",
- "Voltage gain : 0.9789 .\n",
- "Current gain : 33.53 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "VCC = 15.0 #Collector supply voltage (in volts)\n",
- "RB = 100.0 * 10**3 #Base resistance (in ohm)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "hie = 1100.0 #hie (in ohm)\n",
- "hfe = 50 #hfe\n",
- "\n",
- "#Calculation\n",
- "\n",
- "hic = hie #hic (in ohm)\n",
- "hfc = -(1 + hfe) #hfc\n",
- "Zin = (hic - hfc*RE)*RB/((hic - hfc*RE) + RB) #Input impedance (in ohm)\n",
- "\n",
- "Zout = RE*(-hic/hfc)/(RE - hic/hfc) #Output impedance (in ohm)\n",
- "Av = -hfc*RE/(hic - hfc*RE) #Voltage gain\n",
- "Ai = Av*Zin/RE #Current gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Input impedance : \",round(Zin * 10**-3,3),\"kilo-ohm.\"\n",
- "print \"Outpur impedance : \",round(Zout,1),\"ohm.\"\n",
- "print \"Voltage gain : \",round(Av,4),\".\"\n",
- "print \"Current gain : \",round(Ai,2),\".\"\n",
- "\n",
- "#Calculation mistake in the value of Zout in the book."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": true
- },
- "source": [
- "##Example 8.20 , Page Number 311 "
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 13,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Zin : 1.0883 kilo-ohm.\n",
- "Av : 0.99 .\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "hre = hoe = 0 #hre\n",
- "hie = 1.0 * 10**3 #hie (in ohm)\n",
- "hfe = 100.0 #hfe\n",
- "VCC = 5.0 #Collector supply voltage (in volts) \n",
- "R1 = 2.2 * 10**3 #Resistance1 (in ohm)\n",
- "R2 = 2.2 * 10**3 #Resistance2 (in ohm)\n",
- "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "hic = hie #hic (in ohm)\n",
- "hfc = -(1 + hfe) #hfc \n",
- "hrc = 1 - hre #hrc\n",
- "hoc = hoe = 0 #hoc\n",
- "Zin = (hic - hfc*RE)*R1*R2/(((hic - hfc*RE)*(R1+R2))+R1*R2) #Input impedance (in ohm)\n",
- "Av = -hfc*RE/(hic - hfc*RE) #Voltage gain \n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Zin : \",round(Zin*10**-3,4),\"kilo-ohm.\"\n",
- "print \"Av : \",round(Av,2),\".\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter9.ipynb b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter9.ipynb
deleted file mode 100644
index d2bc7858..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/chapter9.ipynb
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "#Chapter 9 , Regulated Power Supplies"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 9.1 , Page Number 328"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 3,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Breakdown voltage : 8.0 V.\n",
- "Resistor R : 206.0 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "IC = IL = 1.2 #Collector current (in Ampere)\n",
- "Vout = 7.5 #Voltage (in volts)\n",
- "VBE = 0.5 #Base-emitter voltage (in volts)\n",
- "beta = 50.0 #Current gain\n",
- "VCC = 15.0 #Supply voltage (in volts) \n",
- "IZmin = 10.0 * 10**-3 #Minimum zener current (in Ampere) \n",
- "\n",
- "#Calculation\n",
- "\n",
- "IB = IC/beta #Base current (in Ampere)\n",
- "VZ = Vout + VBE #Zener diode breakdown voltage (in volts)\n",
- "VR = VCC - VZ #Voltage drop in resistor R (in volts)\n",
- "IR = IB + IZmin #Current through R (in AMpere) \n",
- "R = VR/IR #Resistance R (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Breakdown voltage : \",VZ,\"V.\\nResistor R : \",round(R),\"ohm.\""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "##Example 9.2 , Page Number 328"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Breakdown voltage : 9.6 V.\n",
- "Series Resistor RSE : 37.5 ohm.\n"
- ]
- }
- ],
- "source": [
- "#Variables\n",
- "\n",
- "Vout = 10 #Output voltage (in volts)\n",
- "VBE = 0.4 #Base-emitter voltage (in volts)\n",
- "IL = 100.0 * 10**-3 #Load current (in Ampere)\n",
- "Vinmin = 11.25 #Min. input voltage (in volts)\n",
- "Vinmax = 13.75 #Max. input voltage (in volts)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "VZ = Vout - VBE #Zener breakdown voltage (in volts)\n",
- "VRSE = Vinmax - Vout #Max. voltage drop in series resistor (in volts)\n",
- "Imax = IL #Series resistor current (in Ampere)\n",
- "RSE = VRSE/Imax #Series resistor (in ohm)\n",
- "\n",
- "#Result\n",
- "\n",
- "print \"Breakdown voltage : \",VZ,\"V.\\nSeries Resistor RSE : \",round(RSE,1),\"ohm.\""
- ]
- }
- ],
- "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.10"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
-}
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(88).png b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(88).png
deleted file mode 100644
index 90a3a1be..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(88).png
+++ /dev/null
Binary files differ
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(89).png b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(89).png
deleted file mode 100644
index 8c90457c..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(89).png
+++ /dev/null
Binary files differ
diff --git a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(90).png b/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(90).png
deleted file mode 100644
index a4b6a0dd..00000000
--- a/Basic_Electronics_(Electronics_Engineering)_by_J.B.Gupta/screenshots/Screenshot_(90).png
+++ /dev/null
Binary files differ