summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_4.ipynb1531
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_4.ipynb751
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_4.ipynb614
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_3.ipynb224
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_4.ipynb232
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_3.ipynb430
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_4.ipynb1026
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_4.ipynb715
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_4.ipynb517
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_4.ipynb586
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_4.ipynb64
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_4.ipynb374
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_4.ipynb232
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_4.ipynb631
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_4.ipynb1073
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_4.ipynb314
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_4.ipynb1645
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_4.ipynb75
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_4.ipynb870
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_4.ipynb666
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_4.ipynb491
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_4.ipynb782
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_4.ipynb271
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_4.ipynb754
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_4.ipynb922
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_4.ipynb776
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_4.ipynb606
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_4.ipynb863
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_4.ipynb119
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_4.ipynb653
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_4.ipynb195
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_3.pngbin0 -> 13968 bytes
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_3.pngbin0 -> 12893 bytes
-rw-r--r--A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_3.pngbin0 -> 14428 bytes
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_5.ipynb1092
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_5.ipynb1017
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_5.ipynb805
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_5.ipynb557
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_5.ipynb207
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_5.ipynb496
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_5.ipynb448
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch1.pngbin0 -> 65113 bytes
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch3.pngbin0 -> 76381 bytes
-rw-r--r--Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch6.pngbin0 -> 82542 bytes
-rw-r--r--Power_System_Operation_and_Control_by_B._R._Gupta/README.txt10
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch3_1.ipynb537
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch4_1.ipynb1181
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch5_1.ipynb204
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch6_1.ipynb523
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch7_1.ipynb189
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch8_1.ipynb806
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch9_1.ipynb326
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/3_1.pngbin0 -> 49632 bytes
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/5_1.pngbin0 -> 59455 bytes
-rw-r--r--_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/9_1.pngbin0 -> 61250 bytes
-rw-r--r--dss_by_asd/README.txt10
-rw-r--r--dss_by_asd/namratha.ipynb907
-rw-r--r--dss_by_asd/screenshots/screenshot2.pngbin0 -> 56580 bytes
-rw-r--r--dss_by_asd/screenshots/screenshot4.pngbin0 -> 96783 bytes
-rw-r--r--dss_by_asd/screenshots/streamplot.pngbin0 -> 57684 bytes
-rw-r--r--sample_notebooks/RaviGarg/chap1.ipynb462
61 files changed, 28779 insertions, 0 deletions
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_4.ipynb
new file mode 100644
index 00000000..15727ca2
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_4.ipynb
@@ -0,0 +1,1531 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2a55a17a9f52d46817cb3be818d54b6fa85b71e4638975a4cba998496df659ba"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ " Chapter 3 , Electricity and Ohm's Law"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 , Page Number 23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "W = 75.0 #Work done (in Joules)\n",
+ "Q = 50.0 #Charge produced (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "V = W/Q #Voltage between battery terminals (in Volts)\n",
+ "\n",
+ "#Result\n",
+ "print \"Terminal voltage of a battery is \",V,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Terminal voltage of a battery is 1.5 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 , Page Number 23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 1.5 #Voltage (in Volts)\n",
+ "E =7.5 #Energy produced (in Joules)\n",
+ "\n",
+ "#Calculation\n",
+ "Q = E/V #Charge separated ( in Coulomb )\n",
+ "\n",
+ "#Result\n",
+ "print \"The Amount of charge separated by the battery is \",Q,\" C.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Amount of charge separated by the battery is 5.0 C.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 , Page Number 25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "Q = 7.5 #Charge (in Coulomb)\n",
+ "t = 0.5 #Time (in minute)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "t = 0.5 * 60 #Time (in seconds)\n",
+ "I= Q/t #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The current in the element is \",I,\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The current in the element is 0.25 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.4 , Page Number 25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 5 #Current (in Ampere) \n",
+ "Q = 4 * 10**-3 #Charge (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "t = Q/I #time (in seconds)\n",
+ "\n",
+ "#Result\n",
+ "print \"Time in which the 4 mC of charge flows through this element is \",t * 10**3,\" ms.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time in which the 4 mC of charge flows through this element is 0.8 ms.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.5 , Page Number 25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 0.3 #Current (in Ampere)\n",
+ "W = 9.45 #Heat (in Joules)\n",
+ "t = 5 #Time (in seconds)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Q = I * t\n",
+ "V = W/Q #Voltage (in Volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The voltage across filament is \",V,\" volts.\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The voltage across filament is 6.3 volts.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.6 , Page Number 28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 2.83 * 10**-8 #Resistivity (in ohm-meter)\n",
+ "w = 0.5 #width (in meter)\n",
+ "t = 2 * 10**-3 #thickness (in meter)\n",
+ "l = 1 #length (in meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = w * t #Area of cross-section (in metersquare)\n",
+ "R = p*l/A #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The resistance between left end and right end is \",R * 10**6,\" micro-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resistance between left end and right end is 28.3 micro-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.7 , Page Number 28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Case 1:\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "w = 0.01 #width (in meter)\n",
+ "h = 0.01 #height (in meter)\n",
+ "l = 0.50 #length (in meter)\n",
+ "p = 3.5 * 10**-5 #Resistivity (in ohm-meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = w * h #Area of cross section (in metersquare)\n",
+ "R = p*l/A #Resistance (in ohm)\n",
+ "\n",
+ "#Result 1:\n",
+ "\n",
+ "print \"Resistance in case 1 is : \",R,\" ohm.\"\n",
+ "\n",
+ "#Case 2:\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "w = 0.50 #width (in meter)\n",
+ "h = 0.01 #height (in meter)\n",
+ "l = 0.01 #length (in meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = w * h #Area of cross section (in metersquare)\n",
+ "R = p*l/A #Resistance (in ohm-meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance in case 2 is: \",R,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance in case 1 is : 0.175 ohm.\n",
+ "Resistance in case 2 is: 7e-05 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.8 , Page Number 28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "l = 120 #length of wire (in meter)\n",
+ "d = 0.25 * 10**-2 #Diameter of cross section (in meter)\n",
+ "p = 1.7 * 10**-8 #Resistivity (in ohm-meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "r = d/2 #Radius of cross section (in meter)\n",
+ "A = math.pi *r*r #Area of cross section (in metersquare)\n",
+ "R = p*l/A #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance of the wire is \",round(R,3),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the wire is 0.416 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.9 , Page Number 29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 2.8 * 10**-8 #Resistivity (in ohm-meter)\n",
+ "d = 0.15 * 10**-2 #Diameter of wire (in meter)\n",
+ "R = 10 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = math.pi *d*d/4 #Area of cross section (in metersquare)\n",
+ "l = R*A/p #Length of wire (in meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Length of the wire is \",round(l),\" meter.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Length of the wire is 631.0 meter.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.10 , Page Number 29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 1.7 * 10**-8 #Resistivity (in ohm-meter)\n",
+ "l = 2 * 150 #Length (in meter)\n",
+ "R = 0.722 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = p*l/R #Area of cross section (in metersquare)\n",
+ "d = (A * 4 / math.pi)**0.5 #diameter of wire (in meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \" Diameter of the wire is : \",round(d * 10**3),\" mm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Diameter of the wire is : 3.0 mm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.11 , Page Number 30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "lc = 200 #Length of copper wire (in meter)\n",
+ "Rc = 1.5 #Resistance of Copper wire(in ohm)\n",
+ "pc = 1.7 * 10**-8 #Resistivity of (in ohm-meter)\n",
+ "ls = 10 #Length of silver wire (in meter)\n",
+ "ps = 1.6 * 10**-8 #Resistivity of Silver (in ohm-meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = pc * lc / Rc #Area of cross section (in metersquare)\n",
+ "Rs = ps * ls / A #Resistance of silver wire(in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The resistance of silver wire is \",round(Rs,2),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resistance of silver wire is 0.07 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.12 , Page Number 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "T1 = 800 #Temperature (in celsius degeree)\n",
+ "T2 = 2250 #Temperature (in celsius degeree)\n",
+ "R20 = 3.49 #Resistance at 20 degree celsius (in ohm)\n",
+ "alpha20 = 4.5 * 10**-3 #Temperature coefficient at 20 degree celsius (in per degree Celsius)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R800 = R20 * (1 + alpha20*(T1 - 20)) #Resistance at 800 degree celsius (in ohm)\n",
+ "R2250 = R20 * (1 + alpha20*(T2-20)) #Resistance at 2250 degree celsius (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance at 800 degree celsius is \",round(R800,1), \" ohm.\\nResistance at 2250 degree celsius is \",round(R2250,1),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance at 800 degree celsius is 15.7 ohm.\n",
+ "Resistance at 2250 degree celsius is 38.5 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.13 , Page Number 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "T1 = 20 #Temperature (in degree celsius)\n",
+ "R1 = 10000 #Resistance at 20 degree celsius (in ohm)\n",
+ "T2 = -25 #Temperature (in degree celsius) \n",
+ "alpha = 0.0039 #Temperature coefficient at 20 degree celsius (in per degree Celsius)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R80 = R1*(1 + alpha*(80 - T1)) #Resistance at 80 degree celsius (in ohm)\n",
+ "RT2 = R1*(1 + alpha*(-25 - T1)) #Resistance at -25 degree celsius (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance at 80 degree celsius is \",round(R80 * 10**-3,1),\" kilo-ohm.\\nResistance at -25 degree celsius is \",round(RT2 * 10**-3,1),\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance at 80 degree celsius is 12.3 kilo-ohm.\n",
+ "Resistance at -25 degree celsius is 8.2 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.14 , Page Number 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 14 * 10**-8 #Resistivity of gold (in ohm-meter)\n",
+ "alpha = 5.8 * 10**-4 #Temperature coefficient (in per degree celsius)\n",
+ "l = 3 #Length (in meter)\n",
+ "d = 13 * 10**-6 #diameter of wire\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A = math.pi * d * d / 4 #Area of cross-section (in metersquare)\n",
+ "R = p * l /A #Resistance of wire at 20 degree celsius(in ohm)\n",
+ "R1 = R*(1 + alpha*(200-20))\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance of wire at 200 degree celsius is \",round(R1,1),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of wire at 200 degree celsius is 3494.6 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.15 , Page Number 34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 10*10**-3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "G = 1/R #Conductance (in siemens)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The conductance of gold conductor is \",G,\" siemens.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The conductance of gold conductor is 100.0 siemens.\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.16 , Page Number 34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 10.0*10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "G = 1/R #Conductance (in siemens)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The conductance of gold conductor is \",G,\" siemens.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The conductance of gold conductor is 0.0001 siemens.\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.17 , Page Number 34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "G = 50*10**-6 #Conductance (in siemens)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = 1/G #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The Resistance is \",R * 10**-3,\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Resistance is 20.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.18 , Page Number 35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 18 #Voltage (in volts)\n",
+ "I = 60*10**-6 #current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = V/I #Resistance (in ohm)\n",
+ "G = 1/R #Conductance (in siemens) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The conductance is \",round(G * 10**6,2),\" micro-siemens.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The conductance is 3.33 micro-siemens.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.19 , Page Number 38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 600.00 #Resistance (in ohm)\n",
+ "V = 230.00 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = V/R #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current in the power line is \",round(I,3),\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current in the power line is 0.383 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.20 , Page Number 39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 8 #Resistance (in ohm)\n",
+ "I = 2.5 #Current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V = I*R #Voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The maximum safe voltage is \",V,\" volts.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum safe voltage is 20.0 volts.\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.21 , Page Number 39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 1.5 * 10**3 #Resistance (in ohm)\n",
+ "I = 16 * 10**-3 #Current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V = I*R #Voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The voltage that must be applied to the relay coil to energize it is \",V,\" volts.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The voltage that must be applied to the relay coil to energize it is 24.0 volts.\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.22 , Page Number 39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 20 * 10**-3 #Current per segment (in Ampere)\n",
+ "V = 5 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = V/I #Resistance (in ohm)\n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance that must be inserted into the circuit of each segment is \",R,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance that must be inserted into the circuit of each segment is 250.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 28
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.23 , Page Number 39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 7 * 2 #Voltage : 7 div * (2 V/div) (in volts)\n",
+ "I = 5 * 5 * 10**-3 #Current : 5 div * (5 * 10**-3) (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = V/I #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of resistance is \",R,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistance is 560.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.24 , Page Number 42"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "W = 64000 #Heat produced (in Joules) \n",
+ "t = 40 #time (in seconds)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = W/t #Rate at which electrical energy is converted into heat energy (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The rate at which electrical energy is converted into heat energy is : \",P,\" W.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The rate at which electrical energy is converted into heat energy is : 1600 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.25 , Page Number 42"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 5 #Current (in Ampere)\n",
+ "V = 230 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = V*I #Power consumed (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The power consumed by the toaster is: \",P,\" watt.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The power consumed by the toaster is: 1150 watt.\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.26 , Page Number 42"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "P = 36.0 #Power consumed (in watt)\n",
+ "V = 230.0 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = P/V #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current through filament is \",round(I,3),\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current through filament is 0.157 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.27 , Page Number 42"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "P = 150 *12/1000.0 #Power consumed by 12 bulbs (in kilowatt) \n",
+ "t = 10.0 #Time (in hours)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "W = P * t #Energy used (in kWh)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The energy used is \",W,\" kWh.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The energy used is 18.0 kWh.\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.28 , Page Number 42"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Ps = 500.0 #Power of stereo system (in watt)\n",
+ "Pa = 2400.0 #Power of air conditioner (in watt)\n",
+ "t = 3 #time (in hours) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = (Ps + Pa)/1000 #Total power consumed (in kilowatt)\n",
+ "W = P * t #Energy used (in kilowatthour)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The energy used is \",W,\" kWh.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The energy used is 8.7 kWh.\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.29 , Page Number 43"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 230.0 #Voltage (in volts)\n",
+ "P = 180.0 #Power (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = P/V #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The input current is \",round(I,3),\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The input current is 0.783 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.30 , Page Number 43"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 24.0 #Voltage (in volts)\n",
+ "I = 2.0 #Current (in Ampere)\n",
+ "Pb = 0.5 #Power rating of each light bulb (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = V * I #Maximum power (in watt)\n",
+ "P80 = P * 0.8 #80% of power rating (in watt) \n",
+ "n = (P80//Pb) #Number of bulbs required \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The number of bulbs required is \",n,\".\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The number of bulbs required is 76.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.31 , Page Number 44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 750.0 #Resistance (in ohm)\n",
+ "I = 32.0 #Current (in milliAmpere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = I**2 * 10**-6 * R #Power (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power consumed by relay coil is \",P*1000,\" mW.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power consumed by relay coil is 768.0 mW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.32 , Page Number 44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 36.0 #Resistance (in ohm)\n",
+ "V = 230.0 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = V**2/R #Power (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power rating is \",round(P/1000,3),\" kW.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power rating is 1.469 kW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.33 , Page Number 45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "P = 36 #Power (in watt)\n",
+ "V = 230.0 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = V**2/P #Resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance of the heating element is \",round(R),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the heating element is 1469.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.34 , Page Number 45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Case a :\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 8.0 #Resistance (in ohm)\n",
+ "P1 = 60.0 #Power (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I1 = (P1/R)**0.5 #Current (in Ampere)\n",
+ "\n",
+ "#Case b :\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 8.0 #Resistance (in ohm)\n",
+ "P2 = 120.0 #Power (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I2 = (P2/R)**0.5 #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum new current is \",round(I1,2),\" A.\\nMaximum new current is \",round(I2,2),\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum new current is 2.74 A.\n",
+ "Maximum new current is 3.87 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.35 , Page Number 46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 30.0 #Resistance (in kiloohm)\n",
+ "I #Value of previous current (in Ampere)\n",
+ "I1 = 1.5*I #New value of current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = I**2 * R #Power dissipated due to previous current (in kilowatt)\n",
+ "P1 = I1**2 * R #Power dissipated due to new current (in kilowatt)\n",
+ "P2 = (P1 - P)/P * 100 #Percentage increase in power dissipation\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Percentage Increase in power dissipation is \",P2,\" %.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percentage Increase in power dissipation is 125.0 %.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.36 , Page Number 46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 6.0 #voltage (in volts)\n",
+ "C = 2.0 #Capacity of battery (in Ampere-hour)\n",
+ "P = 1.2 #Power rating (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = V**2 / P #Resistance (in ohm)\n",
+ "I = V/R #Current (in Ampere)\n",
+ "t = C/I #time (in hour)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Battery will last for \",t,\" hours.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Battery will last for 10.0 hours.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_4.ipynb
new file mode 100644
index 00000000..acfafc0a
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_4.ipynb
@@ -0,0 +1,751 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:9a0a38a1ad49042ffadb423caa0f240dc4106abfcf6ac9eb25cdb67cab101f0b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4 , DC Resistive Circuits "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 , Page Number 53"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 220 #Resistance (in ohm)\n",
+ "R2 = 470 #Resistance (in ohm)\n",
+ "R3 = 560 #Resistance (in ohm)\n",
+ "R4 = 910 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = R1 + R2 + R3 + R4 #Net Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Total resistance of circuit is \",R,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total resistance of circuit is 2160 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 , Page Number 53"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 4 #Resistance (in kilo-ohm)\n",
+ "R2 = 6 #Resistance (in kilo-ohm)\n",
+ "R3 = 2 #Resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = R1 + R2 + R3 #Equivalent Resistance(in kilo-ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Equivalent Resistance is \",R,\" kilo-ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Equivalent Resistance is 12 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 , Page Number 54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 250 #Resistance (in ohm)\n",
+ "R3 = 375 #Resistance (in ohm)\n",
+ "I = 50 * 10**-3 #Current (in Ampere)\n",
+ "V = 40 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = V/I #Equivalent Resistance (in ohm)\n",
+ "R2 = R - (R1 + R3) #Resistance R2 (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The Total Resistance is \",R,\" ohm.\\nThe value of R2 is \",R2,\" ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Total Resistance is 800.0 ohm.\n",
+ "The value of R2 is 175.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 , Page Number 55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 250 * 10**-3 #Current (in Ampere)\n",
+ "R = 1.5 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vs = I * R #Source voltage (in volts)\n",
+ "I1 = 0.75 * I #New current (in Ampere)\n",
+ "R1 = Vs / I1 #New Resistance (in ohm)\n",
+ "R2 = R1 - R #Resistance to be added (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print R2,\" ohm Resistance must be added in order to accomplish the reduction in current.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "500.0 ohm Resistance must be added in order to accomplish the reduction in current.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.5 , Page Number 55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 2.2 #Resistance (in kilo-ohm)\n",
+ "R2 = 1 #Resistance (in kilo-ohm)\n",
+ "R3 = 3.3 #Resistance (in kilo-ohm)\n",
+ "V2 = 6 #Voltage drop across R2 (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = V2 / R2 #Current in the circuit (in milli-Ampere) \n",
+ "V1 = R1 * I #Voltage drop across R1 (in volts)\n",
+ "V3 = R3 * I #Voltage drop across R3 (in volts)\n",
+ "\n",
+ "#Result\n",
+ "print \"The voltage drop across R1 is \",V1,\"V and the voltage drop across R3 is \",V3,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The voltage drop across R1 is 13.2 V and the voltage drop across R3 is 19.8 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.6 , Page Number 57"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 30.0 #Source voltage (in volts)\n",
+ "R1 = 20.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 10.0 #Resistance (in kilo-ohm)\n",
+ "R3 = 70.0 #Resistance (in kilo-ohm)\n",
+ "VD = 0.0 #Voltage at D (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = R1 + R2 + R3 #Equivalent Resistance (in kilo-ohm)\n",
+ "V1 = (R1 / R) * V #Voltage drop across R1 (in volts)\n",
+ "V2 = (R2 / R) * V #Voltage drop across R2 (in volts)\n",
+ "V3 = (R3 / R) * V #Voltage drop across R3 (in volts)\n",
+ "VC = V3 + VD #Voltage at node C (in volts) \n",
+ "VB = V2 + VC #Voltage at node B (in volts)\n",
+ "VA = V1 + VB #Voltage at node A (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The Voltage drop across R1 is \",V1,\" V.\\nThe Voltage drop across R2 is \",V2,\" V.\\nThe Voltage drop across R3 is \",V3,\" V.\"\n",
+ "print \"Voltage at node A is \",VA,\" V.\\nVoltage at node B is \",VB,\" V.\\nVoltage at node is \",VC,\" V.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Voltage drop across R1 is 6.0 V.\n",
+ "The Voltage drop across R2 is 3.0 V.\n",
+ "The Voltage drop across R3 is 21.0 V.\n",
+ "Voltage at node A is 30.0 V.\n",
+ "Voltage at node B is 24.0 V.\n",
+ "Voltage at node is 21.0 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.7 , Page Number 58"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R2 = 100 #Resistance R2 (in ohm)\n",
+ "I = 0.3 #Current (in Ampere)\n",
+ "VT = 120 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = VT / I #Total Resistance (in ohm)\n",
+ "R1 = RT - R2 #Resistance R1 (in ohm)\n",
+ "P1 = I**2 * R1 #Power dissipated by R1 (in watt)\n",
+ "P2 = I**2 * R2 #Power dissipated by R2 (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The power dissipated by R1 is \",P1,\" W.\\nThe power dissipated by R2 is \",P2,\" W.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The power dissipated by R1 is 27.0 W.\n",
+ "The power dissipated by R2 is 9.0 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.8 , Page Number 60"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 6 #Voltage (in volts)\n",
+ "R1 = 1 #Resistance (in ohm)\n",
+ "R2 = 2 #Resistance (in ohm)\n",
+ "R3 = 3 #Resistance (in ohm)\n",
+ "\n",
+ "#Case (a):\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = R1 + R2 + R3 #Equivalent Resistance (in ohm)\n",
+ "I = V / RT #Current (in Ampere)\n",
+ "P = I**2 * RT #Power dissipated (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power dissipated in the entire circuit is\",P,\" W.\"\n",
+ "\n",
+ "#Case (b):\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = R1 + R2 #Equivalent Resistance (in ohm)\n",
+ "I = V / RT #Current (in Ampere)\n",
+ "P = I**2 * RT #Power dissipated (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power dissipated in the circuit when R2 is shortened is\",P,\" W.\"\n",
+ "\n",
+ "#Case (c):\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = R1 #Resistance (in ohm)\n",
+ "I = V / R #Current (in Ampere)\n",
+ "P = I**2 * R #Power dissipated (in watt)\n",
+ "\n",
+ "print \"Power dissipated in the circuit when R3 and R2 is shortened is\",P,\" W.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power dissipated in the entire circuit is 6 W.\n",
+ "Power dissipated in the circuit when R2 is shortened is 12 W.\n",
+ "Power dissipated in the circuit when R3 and R2 is shortened is 36 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 , Page Number 61"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 10.0 #Voltage (in volts)\n",
+ "R1 = 10**6 #Resistance (in ohm)\n",
+ "R2 = 10 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Case (a):\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = R1 + R2 #Total Resistance (in ohm)\n",
+ "I = V / RT #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current through the circuit is \",I,\" A.\"\n",
+ "\n",
+ "#Case (b):\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = R1 #Total Resistance (in ohm)\n",
+ "I = V / RT #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current through circuit when R2 is shortened is \",I,\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current through the circuit is 9.90099009901e-06 A.\n",
+ "Current through circuit when R2 is shortened is 1e-05 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.10 , Page Number 62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IT = 750 #Current (in milli-Ampere)\n",
+ "I1 = 200 #Current (in milli-Ampere)\n",
+ "I3 = 150 #Current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I2 = IT - (I1 + I3) #Current through R2 (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current drawn by R2 branch is \",I2,\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current drawn by R2 branch is 400 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.11 , Page Number 63"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 12.0 #Voltage (in volts)\n",
+ "R1 = 4.0 #Resistance (in ohm)\n",
+ "R2 = 6.0 #Resistance (in ohm)\n",
+ "R3 = 12.0 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Req = 1/(1/R1 + 1/R2 + 1/R3) #Equivalent resistance (in ohm) \n",
+ "I1 = V/R1\n",
+ "I2 = V/R2\n",
+ "I3 = V/R3\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The Equivalent Resistance is \",Req,\" ohm.\\nThe Current through R1 , R2 , R3 are \",I1,\" A, \",I2,\" A, \",I3,\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Equivalent Resistance is 2.0 ohm.\n",
+ "The Current through R1 , R2 , R3 are 3.0 A, 2.0 A, 1.0 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.12 , Page Number 64"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = R2 = 10 #Resistances (in kilo-ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Req = R1*R2 / (R1 + R2) #Equivalent Resistance (in kilo-ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The equivalent resistance is \",Req,\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The equivalent resistance is 5 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.13 , Page Number 65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 4.0 #Resistance (in ohm)\n",
+ "R2 = 12.0 #Resistance (in ohm)\n",
+ "V = 6.0 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Req = R1*R2/(R1 + R2) #Equivalent Resistance (in ohm)\n",
+ "IT = V / Req #Total Current (in Ampere)\n",
+ "I1 = R2 / (R1 + R2) * IT #Current through R1 \n",
+ "I2 = R1 / (R1 + R2) * IT #Current through R2\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current through R1 is \",I1,\" A and current through R2 is \",I2,\" A.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current through R1 is 1.5 A and current through R2 is 0.5 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.14 , Page Number 66"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "PR1 = 1.0/8 #1/8 watt resistor (in watt)\n",
+ "PR2 = 1.0/4 #1/4 watt resistor (in watt)\n",
+ "PR3 = 1.0/2 #1/2 watt resistor (in watt)\n",
+ "RT = 2400.0 #total resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "PT = PR1 + PR2 + PR3 #Total power dissipated (in watt)\n",
+ "I = (PT/RT)**0.5 #Current (in Ampere)\n",
+ "Vs = I * RT #Applied voltage (in volts)\n",
+ "R1 = PR1 / I**2 #R1 resistor (in ohm) \n",
+ "R2 = PR2 / I**2 #R2 resistor (in ohm)\n",
+ "R3 = PR3 / I**2 #R3 resistor (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current in the circuit is \",round(I,3),\" A.\\nApplied Voltage is \",round(Vs,3),\" V.\\nValue of R1 is \",round(R1,3),\" ohm.\\nValue of R2 is \",round(R2,3),\" ohm.\\nValue of R3 is \",round(R3,3),\" ohm.\"\n",
+ "\n",
+ "#Slight variations due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current in the circuit is 0.019 A.\n",
+ "Applied Voltage is 45.826 V.\n",
+ "Value of R1 is 342.857 ohm.\n",
+ "Value of R2 is 685.714 ohm.\n",
+ "Value of R3 is 1371.429 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.15 , Page Number 68"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 6.0 #Applied voltage (in volts)\n",
+ "R0 = 0.2 #Resistance (in ohm) \n",
+ "R1 = 2.0 #Resistance (in ohm)\n",
+ "R2 = 3.0 #Resistance (in ohm)\n",
+ "R3 = 6.0 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Req = 1 / (1/R1 + 1/R2 + 1/R3) #Equivalent Resistance (in ohm) \n",
+ "R = R0 + Req #Total Resistance (in ohm)\n",
+ "I = V/R #Current (in Ampere) \n",
+ "V0 = I * R0 #Voltage drop across R0 (in volts)\n",
+ "Veq = V - V0 #Voltage drop across Req (in volts)\n",
+ "I1 = Veq / R1 #Current through R1 (in Ampere)\n",
+ "I2 = Veq / R2 #Current through R2 (in Ampere) \n",
+ "I3 = Veq / R3 #Current through R3 (in Ampere)\n",
+ "P = V * I #Power supplied by the voltage source (in volts)\n",
+ "I0 = V/R0 #Current in case of 'Short' across DE (in Ampere)\n",
+ "P0 = V * I0 #Power dissipated in case of 'Short' (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Total Resistance is \",R,\" ohm.\"\n",
+ "print \"Branch Currents :\\nThrough R1 = \",I1,\" A.\\nThrough R2 = \",round(I2,3),\" A.\\nThrough R3 = \",round(I3,3),\" A.\"\n",
+ "print \"Current supplied by voltage source is \",I,\" A.\"\n",
+ "print \"Power supplied by the voltage source is \",P,\" W.\"\n",
+ "print \"Current supplied in case of 'Short' across DE is \",I0,\" A.\"\n",
+ "print \"Power supplied in case of 'Short' acorss DE is \",P0,\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total Resistance is 1.2 ohm.\n",
+ "Branch Currents :\n",
+ "Through R1 = 2.5 A.\n",
+ "Through R2 = 1.667 A.\n",
+ "Through R3 = 0.833 A.\n",
+ "Current supplied by voltage source is 5.0 A.\n",
+ "Power supplied by the voltage source is 30.0 W.\n",
+ "Current supplied in case of 'Short' across DE is 30.0 A.\n",
+ "Power supplied in case of 'Short' acorss DE is 180.0 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_4.ipynb
new file mode 100644
index 00000000..f39edb9d
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_4.ipynb
@@ -0,0 +1,614 @@
+{
+ "metadata": {
+ "celltoolbar": "Raw Cell Format",
+ "name": "",
+ "signature": "sha256:a817a168befae35ccb17b36fd01ad5caaed21c361e584abe602cb8559a070af9"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5 , Kirchhoff's Laws and Network Theorems"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1 , Page Number 73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IT = 20 #Total current (in milli-Ampere)\n",
+ "I2 = 4 #Current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I1 = IT - I2 #Current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of the current I1 is \",I1,\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of the current I1 is 16 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 , Page Number 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 1 #Current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Applying Kirchoff's voltage law:\n",
+ "#(1 *3) + (1 * R) + (1 * 4) - 12 =0\n",
+ "\n",
+ "R = 5 #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of R is \",R,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of R is 5 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.3 , Page Number 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vs = 100 #Source Voltage (in volts)\n",
+ "I = 5 #Current entering the circuit (in Ampere)\n",
+ "IL = 5 #Current leaving the circuit (in Ampere)\n",
+ "R15 = 15 #Resistor of 15 ohm (in ohm)\n",
+ "V15 = 30 #Voltage across 15 ohm resistor (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I1 = V15 / R15 #Current through 15 ohm resistor (in Ampere)\n",
+ "IA = I + I1 #Current entering junction A (in Ampere)\n",
+ "#Applying Kirchoff's current law\n",
+ "I2 = I + I1 #Current through 5 ohm resistor (in Ampere)\n",
+ "IB = I2 #Current entering juction B (in Ampere)\n",
+ "IR = IA - IL #Current through R (in Ampere)\n",
+ "#Applying Kirchoff's voltage law\n",
+ "#(7 * 5) + (2 *R) - 100 + 30 =0\n",
+ "R = 35.0/2\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of R is \",R,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of R is 17.5 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 , Page Number 75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 25 #Source voltage (in volts)\n",
+ "RB = 99 #Resistance (in kilo-ohm)\n",
+ "RC = 2 #Resistance (in kilo-ohm)\n",
+ "RE = 1 #Resistance (in kilo-ohm)\n",
+ "VCE = 5 #Voltage across C and E (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Applying Kirchoff's Voltage law:\n",
+ "#IB*RB + VBE + IE*RE -V = 0\n",
+ "#IB*RB + VBE + (IB + IC)*RE - VCC = 0\n",
+ "#100*IB + IC = 24\n",
+ "#IB + 3*IC = 20\n",
+ "IC = 1976.0/299\n",
+ "IB = 20 - (3 * 6.61)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of IB is \",round(IB,3),\" mA.\\nValue of IC is \",round(IC,3),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of IB is 0.17 mA.\n",
+ "Value of IC is 6.609 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5 , Page Number 77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS1 = 5 #Voltage source 1 (in volts)\n",
+ "VS2 = 3 #Voltage source 2 (in volts)\n",
+ "V6 = 0 #Voltage drop across 6 ohm resistor when AB is open (in volts)\n",
+ "R1 = 6 #Resistor (in ohm)\n",
+ "R2 = 4 #Resistor (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = 5.0/4 #Current through 4 ohm resistor (in Ampere)\n",
+ "V = I * R2 #Voltage drop across 4 ohm Resistor (in volts)\n",
+ "VOC = VS2 + V6 + V #Open circuit voltage (in volts)\n",
+ "Rth = R1\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Thevenin's equivalent Voltage is \",VOC,\" V.\\nThevenin's equivalent resistance is \",Rth,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thevenin's equivalent Voltage is 8.0 V.\n",
+ "Thevenin's equivalent resistance is 6 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.6 , Page Number 78"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 25.0 #Source voltage (in volts)\n",
+ "R1 = 100.0 #Resistance (in ohm)\n",
+ "R2 = 75.0 #Resistance (in ohm)\n",
+ "R3 = 50.0 #Resistance (in ohm)\n",
+ "R4 = 25.0 #Resistance (in ohm)\n",
+ "RL = 250.0 #Load resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = V / (R1 + R2 + R3) #Series curren (in Ampere)\n",
+ "VR2 = I * R2 #Voltage drop across R2\n",
+ "VOC = VR2 #Open circuit voltage (in volts)\n",
+ "Vth = VOC #Thevenin's equivalent voltage (in volts)\n",
+ "Rth = R4 + R2*(R1 + R3)/(R1 + R2 + R3) #Thevenin's equivalent resistance (in ohm)\n",
+ "IL = Vth/(Rth + RL)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Thevenin's equivalent voltage is \",round(Vth,3),\" V. and resistance in \",Rth,\" ohm.\"\n",
+ "print \"Current through load resistance is \",round(IL,3),\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thevenin's equivalent voltage is 8.333 V. and resistance in 75.0 ohm.\n",
+ "Current through load resistance is 0.026 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 59
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.7 , Page Number 80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 2.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 1.0 #Resistance (in kilo-ohm)\n",
+ "R3 = 2.0 #Resistance (in kilo-ohm)\n",
+ "I = 0.1 #Current source (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Using Thevenin's theorem : \n",
+ "\n",
+ "I2 = I * R1 / (R1 + (R2 +R3)) #Current through brach ECD (in Ampere)\n",
+ "VR3 = I2 * R3* 10 **3 #Voltage drop across R3 (in volts)\n",
+ "Vth = VR3 #Thevenin's Voltage\n",
+ "Rth = R3 * (R1 + R2)/(R1 + R2 + R3)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Thevenin's voltage is \",Vth,\" V.\\nThevenin's Resistance is \",Rth,\" kilo-ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thevenin's voltage is 80.0 V.\n",
+ "Thevenin's Resistance is 1.2 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.8 , Page Number 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 0.6 #Resistance (in ohm)\n",
+ "R2 = 0.6 #Resistance (in ohm)\n",
+ "R3 = 0.8 #Resistance (in ohm)\n",
+ "R4 = 0.8 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Rth = R3 + R4*(R1 + R2)/(R4 + (R1 +R2)) #Thevenin's resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of Rth is \",Rth,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Rth is 1.28 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.9 , Page Number 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 12.0 #Voltage (in volts)\n",
+ "R1 = 3.0 #Resistance (in ohm)\n",
+ "R2 = 9.0 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Using Norton's Theorem\n",
+ "\n",
+ "Isc = V / R1 #Short circuit current (in Ampere)\n",
+ "IN = Isc #Norton's Current (in Ampere)\n",
+ "RN = R1 * R2 / (R1 + R2) #Norton's resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Norton's Current is \",IN,\" A.\\nNorton's Resistance is \",RN,\" ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Norton's Current is 4.0 A.\n",
+ "Norton's Resistance is 2.25 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.10 , Page Number 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 15.0 #Voltage 15 volt battery (in volts)\n",
+ "R1 = 6.0 #Resistance (in ohm)\n",
+ "R2 = 3.0 #Resistance (in ohm)\n",
+ "R3 = 3.0 #Resistance (in ohm)\n",
+ "V0 = 30.0 #Voltage 30 volt battery (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R4 = R2 * R3 / (R2 + R3) #R4 = R2 || R3 (in ohm)\n",
+ "V1 = R4 / (R1 + R4) * V #Voltage drop across R4 (in volts)\n",
+ "R5 = R1 * R3 / (R1 + R3) #R5 = R1 || R3 (in ohm)\n",
+ "V2 = R5 / (R2 + R5) * V0 #Voltage drop across R5 (in volts)\n",
+ "I = V/R3\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"In case 1: Voltage drop across R3 is \",V1,\" V.\\nIn case 2: Voltage drop across R3 is \",V2,\" V.\\nThe current through R3 is \",I,\" A.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "In case 1: Voltage drop across R3 is 3.0 V.\n",
+ "In case 2: Voltage drop across R3 is 12.0 V.\n",
+ "The current through R3 is 5.0 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.11 , Page Number 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vth = 100 #Thevenin Voltage (in micro-volts)\n",
+ "Rth = 50 #Thevenin Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RL = Rth #Maximum Load Resistance (in ohm)\n",
+ "PL = (Vth/(Rth + RL))**2 *RL #Maximum load power (in pico-watt)\n",
+ "\n",
+ "#Result\n",
+ "print \"Maximum load resistance is \",RL,\" ohm.\\nMaximum load power is \",PL,\" pW.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum load resistance is 50 ohm.\n",
+ "Maximum load power is 50 pW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.12 , Page Number 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VTH = 20.0 * 10**-3 #Thevenin's Voltage (in volts)\n",
+ "RTH = 300.0 #Thevenin's Resistance (in ohm) \n",
+ "RL = 300.0 #Load Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "PL = (VTH/(RTH + RL))**2 * RL #Power across load resistance (in watt) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of power transmitted to the receiver is \",round(PL*10**6,2),\" micro-watt.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of power transmitted to the receiver is 0.33 micro-watt.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.13 , Page Number 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 5.0 #resistance (in ohm)\n",
+ "R2 = 2.0 #resistance (in ohm)\n",
+ "R3 = 3.0 #resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Req = R2 * R3 / (R2 + R3) #Equivalent resistance (in ohm)\n",
+ "RL = R1 + Req\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Load resistance is \",RL,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load resistance is 6.2 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_3.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_3.ipynb
new file mode 100644
index 00000000..6813a88d
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_3.ipynb
@@ -0,0 +1,224 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:69b48b36a61396f28ecb80f184056a30de94e22bf70a39e3b66b811b10039140"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6 , A.C. Fundamentals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.1 , Page Number 94"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "t = 1.0 #time (in milliseconds)\n",
+ "n = 10.0 #number of cycles\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = t/n #Time period (in milliseconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Time period by one cycle is \",T,\" ms.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time period by one cycle is 0.1 ms.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.2 , Page Number 94"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "t = 0.01 #Time period of positive half cycle (in seconds)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "t1 = 0.01 #Time period of negative half cycle (in seconds)\n",
+ "T = t + t1 #Time period of one complete cycle (in seconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \" Time period of rectified input is \",T,\" s.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Time period of rectified input is 0.02 s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.3 , Page Number 95"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "n = 5.0 #number of cycles\n",
+ "t = 10.0 #time period (in micro-seconds)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f = n / t #frequency (in Mega-hertz)\n",
+ "T = 1/f #Time period (in micro-seconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency and Time period of the sine wave is \",f,\" MHz and \",T,\" micro-seconds.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency and Time period of the sine wave is 0.5 MHz and 2.0 micro-seconds.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.4 , Page Number 95"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "f = 69.0 #frequency (in Mega-hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = 1/f #Time period (in micro-seconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Time period is \",round(T * 10**3,2), \" ns.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time period is 14.49 ns.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.5 , Page Number 97"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vmax = 20.0 #Voltage (in milli-volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vrms = 0.707 * Vmax #Rms Voltage (in milli-volts)\n",
+ "Vdc = 0.637 * Vmax #Average value of signal (in milli-volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"RMS value is \",Vrms,\" mV.\\nAverage value is \",Vdc,\" mV.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "RMS value is 14.14 mV.\n",
+ "Average value is 12.74 mV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_4.ipynb
new file mode 100644
index 00000000..7ce6b4d7
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_4.ipynb
@@ -0,0 +1,232 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8b9ceddb3b2adb5742dd1317566761cdfe116bbf966972fcb1710e301f43f106"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 , Passive Circuit Elements"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.4 , Page Number 121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "N = 150.0 #Number of turns\n",
+ "mur = 3540.0 #Relative permeability (in H/m)\n",
+ "mu0 = 4*math.pi * 10 **-7 #Absoulte permeability (in H/m)\n",
+ "l = 0.05 #coil length (in meter)\n",
+ "A = 5 * 10**-4 #Area of cross - section (in metersquare)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = (mur * mu0 * A * N**2)/l #Coil inductance (in Henry)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The coil inductance is \",round(L,2),\" Henry.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The coil inductance is 1.0 Henry.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.5 , Page Number 122"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "L1 = 40.0 #Inductance (in micro-Henry)\n",
+ "L2 = 80.0 #Inductance (in micro-Henry)\n",
+ "M = 11.3 #Mutual Inductance (in micro-Henry)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "k = M/(L1 * L2)**0.5 #Coefficient of Coupling \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Coefficient of coupling is \",round(k,2),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Coefficient of coupling is 0.2 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.6 , Page Number 125"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Q = 90.0 #Q-factor\n",
+ "L = 15.0 * 10**-6 #Inductance (in Henry)\n",
+ "f = 10.0 * 10**6 #Frequency (in Hertz) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ro = 2*math.pi*f*L/Q #d.c. resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"d.c. resistance of coil is \",round(Ro,1),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d.c. resistance of coil is 10.5 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.7 , Page Number 126"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "k = 5.0 #dielectric constant\n",
+ "A = 0.04 #Plate area (in meter-square)\n",
+ "d = 0.02 #Thickness of dielectric(in meter) \n",
+ "eps0 = 8.85 * 10**-12 #Absolute permittivity (in kg*m**3*s**-3*A**-2)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = eps0 * k * A / d #Capacitance (in Farad) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Capacitance of parallel plate capacitor is \",C * 10**12,\"pF.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Capacitance of parallel plate capacitor is 88.5 pF.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.8 , Page Number 127"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "k = 1200.0 #dielectric constant\n",
+ "A = 0.2 #Plate area (in meter-square)\n",
+ "eps0 = 8.85 * 10**-12 #Absolute permittivity (in kg*m**3*s**-3*A**-2)\n",
+ "C = 0.428 #Capacitance (in micro-farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "d = eps0 * k * A / C #thickness of dielectric (in meter)\n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Thickness of dielectric is \",round(d * 10**9,2),\" mm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thickness of dielectric is 4.96 mm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_3.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_3.ipynb
new file mode 100644
index 00000000..5fa6ffa7
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_3.ipynb
@@ -0,0 +1,430 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:df20b687327eb5de3142132bf5d03052042219b0928fedb0b3e836d35edbbea8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 9 , Voltage and Current Sources"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.1 , Page Number 158"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 1.5 #Source Voltage (in volts)\n",
+ "RS = 0.2 #Resistance (in ohm)\n",
+ "RL = 1 #Load Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = RS + RL #Total Resistance (in ohm)\n",
+ "I = V / RT #Current (in Ampere)\n",
+ "VAB = I * RL #Voltage drop across AB (in volts)\n",
+ "VR = V - VAB #Voltage drop due to internal resistance (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage drop across internal resistance is \",VR,\" volts.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage drop across internal resistance is 0.25 volts.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.2 , Page Number 159"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 1.5 #Source Voltage (in volts)\n",
+ "RS = 0.4 #Resistance (in ohm)\n",
+ "RL = 2.0 #Load Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = RS + RL #Total Resistance (in ohm)\n",
+ "I = VS/ RT #Current (in Ampere)\n",
+ "VT = I * RL #Terminal Voltage (in volts)\n",
+ "PL = I**2 * RL #Power dissipated by load resistance (in watt)\n",
+ "PS = I**2 * RT #Power Supplied by the voltage source (in watt)\n",
+ "eff = PL / PS #Efficiency of the circuit\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Terminal Voltage is \",VT,\" V.\\nPower dissipated by 2 ohm resistor is \",round(PL,2),\" W.\\nEfficiency of the circuit is \",round(eff,2),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Terminal Voltage is 1.25 V.\n",
+ "Power dissipated by 2 ohm resistor is 0.78 W.\n",
+ "Efficiency of the circuit is 0.83 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.3 , Page Number 160"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Case a.1:\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 6.0 #Source Voltage (in volts)\n",
+ "RS = 2.0 #Resistance (in ohm)\n",
+ "#When RL is 2 ohm\n",
+ "RL = 2.0 #Load Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = RS + RL #Total Resistance (in ohm)\n",
+ "I = VS / RT #Current in the Circuit (in Ampere)\n",
+ "VT1 = I * RL #Terminal Voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Terminal voltage when RL is 2 ohm : \",VT1,\" V.\"\n",
+ "\n",
+ "#Case a.2:\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "#When RL is 20 ohm\n",
+ "RL = 20.0 #Load Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = RS + RL #Total Resistance (in ohm)\n",
+ "I = VS / RT #Current in the Circuit (in Ampere)\n",
+ "VT2 = I * RL #Terminal Voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Terminal voltage when RL is 20 ohm : \",round(VT,2),\" V.\"\n",
+ "print \"Variation in terminal voltage is \",(VT2-VT1)/VT2,\" V.\"\n",
+ "\n",
+ "#Case b.1:\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RS = 100.0 #Resistance (in ohm)\n",
+ "#When RL is 10 kilo-ohm\n",
+ "RL = 10.0 * 10**3 #Load Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = RS + RL #Total Resistance (in ohm)\n",
+ "I = VS / RT #Current in the circuit (in Ampere)\n",
+ "VT = I * RL #Terminal Voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Terminal voltage when RL is 100 kilo-ohm is: \",round(VT,2),\" V.\"\n",
+ "\n",
+ "#Case b.2:\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "#When RL is 100 kilo-ohm\n",
+ "RL = 100.0 * 10**3 #Load Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = RS + RL #Total Resistance (in ohm)\n",
+ "I = VS / RT #Current in the circuit (in Ampere)\n",
+ "VT1 = I * RL #Terminal Voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Terminal voltage when RL is 100 kilo-ohm is :\",round(VT1,3),\" V.\"\n",
+ "print \"Variation in terminal voltage is \",round((VT1-VT)/VT1,3),\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Terminal voltage when RL is 2 ohm : 3.0 V.\n",
+ "Terminal voltage when RL is 20 ohm : 1.25 V.\n",
+ "Variation in terminal voltage is 0.45 V.\n",
+ "Terminal voltage when RL is 100 kilo-ohm is: 5.94 V.\n",
+ "Terminal voltage when RL is 100 kilo-ohm is : 5.994 V.\n",
+ "Variation in terminal voltage is 0.009 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.4 , Page Number 163"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 12.0 #Source Voltage (in volts)\n",
+ "VT = 10.0 #Terminal Voltage (in volts)\n",
+ "RL = 10.0 #Load resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RS = RL*(VS / VT - 1) #Internal Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The internal resistance of the source is \",RS,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The internal resistance of the source is 2.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.5 , Page Number 165"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IS = 30.0 #Current (in milli-Ampere)\n",
+ "RS = 15.0 #Source resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RL = RS / 20.0 #Load Resistance (in kilo-ohm) \n",
+ "IL = IS * RS/(RL +RS) #Load Current (in Ampere)\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Largest value of load resistance to provide constant current is \",RL*10**3,\" ohm.\"\n",
+ "print \"Variation of current from the short-cicuit current is \",round((IS-IL)/IS,4),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Largest value of load resistance to provide constant current is 750.0 ohm.\n",
+ "Variation of current from the short-cicuit current is 0.0476 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.6 , Page Number 168"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 12.0 #Source Voltage (in volts)\n",
+ "RS = 3.0 #Source resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IS = VS / RS #Source current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current source value is \",IS,\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current source value is 4.0 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.7 , Page Number 169"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IS = 5.0 #Source current (in milli-Ampere)\n",
+ "RS = 2.0 #Source resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VS = IS * RS #Voltage source (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Equivalent voltage source is \",VS,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Equivalent voltage source is 10.0 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.8 , Page Number 169"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IS =1.5 #Source current (in milli-Ampere)\n",
+ "RS = 2 #Source resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RL = 10*40/(10+40) #Load Reistance (in kilo-ohm)\n",
+ "IL = IS * RS/(RL +RS) #Load current (in milli-Ampere)\n",
+ "IL2 = IL * 10/(10 +40) #Current through part 2 (in milli-Ampere)\n",
+ "VS = IS * RS #Souce voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"current through 40 kilo-ohm resistor is \",IL2,\" mA.\"\n",
+ "print \"Equivalent volage source is \",VS,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current through 40 kilo-ohm resistor is 0.06 mA.\n",
+ "Equivalent volage source is 3.0 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_4.ipynb
new file mode 100644
index 00000000..3867129e
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_4.ipynb
@@ -0,0 +1,1026 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:14854f0f2c20034037bfa5a3449dea2addd83d4eed6b29f5eda0eb459f0c6332"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 , Semiconductors"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1 , Page Number 183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 1000.0 #Resistance (in ohm)\n",
+ "sig = 5.8 * 10**7 #Conductivity in (Siemen per meter)\n",
+ "d = 10**-3 #diameter (in meter)\n",
+ "E = 10 * 10**-3 #Eletric field (in Volt per meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "l = R *sig * math.pi * d**2 /4 #length (in meter)\n",
+ "J = sig * E #Current density (in Ampere per metersquare)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Length of wire is \",round(l/1000,2),\" km.\\nCurrent desity is \",J,\" A/(m*m).\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Length of wire is 45.55 km.\n",
+ "Current desity is 580000.0 A/(m*m).\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2 , Page Number 184"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "d = 2* 10**-3 #diameter (in meter)\n",
+ "sig = 5.8 * 10**7 #conductivity (in siemen per meter)\n",
+ "mu = 0.0032 #mobilty (in metersquare per volt-second)\n",
+ "E = 20 * 10**-3 #Electric field (in Volt per meter)\n",
+ "q = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = sig / (q * mu) #charge density (in cubic-meter) \n",
+ "J = sig * E #Charge density (in Ampere per square-meter)\n",
+ "A = math.pi * d**2 / 4 #Cross section of wire (in square-meter)\n",
+ "I = J * A #Current (in Ampere)\n",
+ "v = mu * E #Drift velocity (in meter per second)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Charge density of free electrons is \",round(n,3),\" m**-3.\\nThe current density is \",J,\" A/m**3.\\nCurrent flowing in the wire is \",round(I,3),\" A.\\nElectron drift velocity is \",v,\" m/s.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charge density of free electrons is 1.1328125e+29 m**-3.\n",
+ "The current density is 1160000.0 A/m**3.\n",
+ "Current flowing in the wire is 3.644 A.\n",
+ "Electron drift velocity is 6.4e-05 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.3 , Page Number 185"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "n = 5.8 * 10**28 #number of free electrons (in per cubic-meter)\n",
+ "p = 1.54 * 10**-8 #resistivity (in ohm-meter)\n",
+ "q = 1.6 * 10**-19 #charge (in Coulomb)\n",
+ "m = 9.1 * 10**-31 #mass of electron (in kg)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #conductivity (in siemen per meter)\n",
+ "mu = sig /(q * n) #mobility (in meter-square/volt-second)\n",
+ "t = mu * m / q #time (in second)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Mobility of electrons is \",round(mu,6),\" m**2/V-s.\\nRelaxation time is \",round(t*10**12,6),\" ps.\"\n",
+ "\n",
+ "#Calculation error in book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Mobility of electrons is 0.006997 m**2/V-s.\n",
+ "Relaxation time is 0.039797 ps.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.4 , Page Number 186"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "un = 0.38 #mobility of electrons in germanium (in meter-square/volt-second)\n",
+ "up = 0.18 #mobility of holes in germanium (in meter-square/volt-second)\n",
+ "ni = n = p = 2.5 * 10**19 #mobile ions for germanium (in per cubic-meter)\n",
+ "un1 = 0.13 #mobility of electrons in germanium (in meter-square/volt-second)\n",
+ "up1 = 0.05 #mobility of holes in germanium (in meter-square/volt-second)\n",
+ "ni1 = n1 = p1 = 1.5 * 10**16 #mobile ions for germanium (in per cubic-meter)\n",
+ "q = 1.6 * 10**-19 #charge of electron (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#for germanium:\n",
+ "\n",
+ "sig = q * ni * (un + up) #Conductivity of germanium (in siemen per metre)\n",
+ "sig1 = q * ni1 * (un1 + up1) #Conductivity of silicon (in siemen per metre)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Intrinsic conductivity of germanium is \",sig,\" S/m and of silicon is \",sig1,\" S/m.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Intrinsic conductivity of germanium is 2.24 S/m and of silicon is 0.000432 S/m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.5 , Page Number 187"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ni = 1.41 * 10**16 #intrinsic concentration (in per cubic-metre) \n",
+ "un = 0.145 #mobility of electrons in germanium (in metre-square/volt-second)\n",
+ "up = 0.05 #mobility of holes in germanium (in metre-square/volt-second)\n",
+ "q = 1.6 * 10**-19 #charge of electron (in Coulomb)\n",
+ " \n",
+ "#Calculation\n",
+ "\n",
+ "sig = q * ni * (un + up) #Conductivity of germanium (in siemen per metre)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Intrinsic conductivity of silicon is \",sig,\" S/m.\"\n",
+ "print \"Contribution by electron is \",q*ni*un,\" S/m.\"\n",
+ "print \"Contribution by electron is \",q*ni*up,\" S/m.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Intrinsic conductivity of silicon is 0.00043992 S/m.\n",
+ "Contribution by electron is 0.00032712 S/m.\n",
+ "Contribution by electron is 0.0001128 S/m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.6 , Page Number 187"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "l = 0.2 * 10**-3 #length (in meter)\n",
+ "A = 0.04 * 10**-6 #Area of cross section (in square-meter)\n",
+ "V = 1 #Voltage (in volts)\n",
+ "I = 8 * 10**-3 #current (in Ampere)\n",
+ "un = 0.13 #mobility of electron (in m**2 per volt-second)\n",
+ "q = 1.6 * 10**-19 #charge on electron (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "\n",
+ "R = V/I #Resistance (in ohm)\n",
+ "p = R * A/l #Resistivity (in ohm-meter)\n",
+ "sig = 1/p #Conductivity (in siemen per meter)\n",
+ "n = sig / (q * un) #concentration (in per cubic-meter) \n",
+ "J = I/A #current density (in Ampere per square-meter)\n",
+ "v = J/(n*q)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Concentration of free electrons is \",round(n,3),\" m**-3.\\nDrift velocity is \",v,\" m/s.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Concentration of free electrons is 1.92307692308e+21 m**-3.\n",
+ "Drift velocity is 650.0 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.7 , Page Number 188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 0.47 #Resistivity (in ohm-meter)\n",
+ "q = 1.6 * 10**-19 #charge on electron (in Coulomb)\n",
+ "un = 0.39 #mobility of electron in germanium (in m**2 per volt-second)\n",
+ "up = 0.19 #mobility of hole in germanium (in m**2 per volt-second)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #Conductivity (in siemen per meter)\n",
+ "ni = sig / (q *(un +up)) #intrinsic concentration (in per cubic-meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Intrinsic concentration is \",ni,\" m**-3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Intrinsic concentration is 2.29273661042e+19 m**-3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 28
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.8 , Page Number 190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ND = 10**21 #Donor concentration (in per cubic-meter)\n",
+ "NA = 5 * 10**20 #Acceptor concentration (in per cubic-meter)\n",
+ "un = 0.18 #mobility of electron in silicon (in m**2 per volt-second)\n",
+ "q = 1.6 * 10**-19 #charge on electron (in Coulomb)\n",
+ "\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = ND -NA #net donor density (in per cubic-meter)\n",
+ "sig = n * q * un #Conductivity (in Siemen per meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Conductivity of silicon is \",sig,\" (ohm-meter)**-1.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Conductivity of silicon is 14.4 (ohm-meter)**-1.\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.9 , Page Number 190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 100.0 #resistivity (in ohm-meter)\n",
+ "q = 1.6 * 10**-19 #Charge on a electron (in Coulomb)\n",
+ "un = 0.36 #donor concentration (in per cubic-meter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #conductivity (in siemen per meter)\n",
+ "n = sig /(q * un) #intrinsic concentration (in per cubic-meter)\n",
+ "ND = n #Donor concentration (in per cubic-meter) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Donor concentration is \",ND,\" m**-3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Donor concentration is 1.73611111111e+17 m**-3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.10 , Page Number 191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ND = 2 * 10**14 #Donor atom concentration (in atoms per cubic-centimeter)\n",
+ "NA = 3 * 10**14 #Acceptor atom concentration (in atoms per cubic-centimeter)\n",
+ "ni = 2.3 * 10**19 #intrinsic concentration (in atoms per cubic-centimeter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = ni**2 / NA #concentration of electrons (in electrons per cubic-centimeter)\n",
+ "p = ni**2 / ND #concentration of holes (in holes per cubic-centimeter)\n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Electron concentration is \",n,\" electrons/cm**3.\\nHole concentration is \",p,\" holes/cm**3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electron concentration is 1.76333333333e+24 electrons/cm**3.\n",
+ "Hole concentration is 2.645e+24 holes/cm**3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.11 , Page Number 191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ND = 5 * 10**8 #Donor atom concentration (in atoms per cubic-centimeter)\n",
+ "NA = 6 * 10**16 #Acceptor atom concentration (in atoms per cubic-centimeter)\n",
+ "ni = 1.5 * 10**10 #intrinsic concentration (in atoms per cubic-centimeter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = ni**2/NA #number of electrons (in per cubic-centimeter)\n",
+ "p = ni**2/ND #number of holes (in per cubic-centimeter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Density of electrons is \",n,\" cm**-3.\\nDensity of holes is \",p,\" cm**-3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Density of electrons is 3750.0 cm**-3.\n",
+ "Density of holes is 4.5e+11 cm**-3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.12 , Page Number 192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "d = 0.001 #diameter (in meter)\n",
+ "ND = 10**20 #Number of phosphorus ions (in per cubic-meter)\n",
+ "R = 1000 #Resistance (in ohm)\n",
+ "un = 0.1 #mobility (in meter-square per volt-second)\n",
+ "q = 1.6 * 10**-19 #charge on electron (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = ND #Number of free electron (in per cubic-meter)\n",
+ "sig = q*n*un #conductivity (in Siemen per meter)\n",
+ "A = math.pi * d**2 / 4 #Area of cross section (in meter-square)\n",
+ "l = R * sig * A #length (in meter) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Length of the silicon would be \",round(l*1000,3),\" mm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Length of the silicon would be 1.257 mm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.13 , Page Number 192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "q = 1.6 * 10**-19 #Charge on electron (in Coulomb) \n",
+ "sig = 100.0 #Conductivity of Ge (in per ohm-centimeter)\n",
+ "sig1 = 0.1 #Conductivity of Si (in per ohm-centimeter)\n",
+ "ni = 1.5 * 10**10 #intrinsic conductivity for Si (in per cubic-centimeter)\n",
+ "un = 3800.0 #mobility of electrons for Ge (in square-centimetermeter per volt-second)\n",
+ "up = 1800.0 #mobility of holes for Ge (in square-centimeter per volt-second)\n",
+ "un1 = 1300.0 #mobility of electrons for Si (in square-centimetermeter per volt-second)\n",
+ "up1 = 500.0 #mobility of holes for Si (in square-centimeter per volt-second)\n",
+ "ni1 = 2.5 * 10**13 #intrinsic concentration for Ge (in per cubic-centimeter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "p = sig / (q * up) #Concentration of p-type germanium (in cubic-centimeter)\n",
+ "n = ni1**2 / p #Concentration of electrons in germanium (in cubic-centimeter)\n",
+ "n1 = sig1 / (q * un1) #Concentration of N-type silicon (in cubic-centimeter)\n",
+ "p1 = ni**2 / n1 #Concentration of holes in silicon (in cubic-centimere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"For p-type germanium, hole concentration is \",p,\"/cm**3.\\nFor p-type germanium, electron concentration is \",n,\"/cm**3.\"\n",
+ "print \"For n-type silicon, hole concentration is \",p1,\"/cm**3.\\nFor n-type silicon, electron concentration is \",n1,\"/cm**3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "For p-type germanium, hole concentration is 3.47222222222e+17 /cm**3.\n",
+ "For p-type germanium, electron concentration is 1800000000.0 /cm**3.\n",
+ "For n-type silicon, hole concentration is 468000.0 /cm**3.\n",
+ "For n-type silicon, electron concentration is 4.80769230769e+14 /cm**3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.14 , Page Number 193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "un = 3800 #mobility of electrons (in centimeter-square per volt-second)\n",
+ "up = 1800 #mobility of holes (in centimeter-square per volt-second)\n",
+ "ni = 2.5 * 10**13 #intrinsic concentration (in per cubic-centimeter)\n",
+ "Nge = 4.41 * 10**22 #concentration of germanium (in per cubic-centimeter)\n",
+ "q = 1.6 * 10**-19 #charge on electron (in Coulomb) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ND = Nge/10**8 #Number of donor atoms (in per cubic-centimeter)\n",
+ "p = p = ni**2/ND #Number of holes (in per cubic-centimeter)\n",
+ "sig = q * ND * un #Conductivity of n-type germanium (in per ohm-centimeter)\n",
+ "p = 1/sig #resistivity (in ohm-centimeter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"resistivity of the germanium sample is \",round(p,3),\" ohm-cm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistivity of the germanium sample is 3.73 ohm-cm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.15 , Page Number 194"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "un = 1350 #mobility of electrons (in centimeter-square per volt-second)\n",
+ "up = 480 #mobility of holes (in centimeter-square per volt-second)\n",
+ "ni = 1.52 * 10**10 #intrinsic concentration (in per cubic-centimeter)\n",
+ "Nsi = 4.96 * 10**22 #concentration of silicon (in per cubic-centimeter)\n",
+ "q = 1.6 * 10**-19 #charge on electron (in Coulomb) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sigi = q * ni * (un + up) #conductivity of intrinsic silicon (in per ohm-centimeter)\n",
+ "p = 1/sig #resitivity (in ohm-centimeter)\n",
+ "ND = Nsi/(50 * 10**6) #Number of donor atoms (per cubic-centimeter)\n",
+ "n = ND #NUmber of free electrons (in per cubic-centimeter)\n",
+ "p = ni**2/n #number of holes (in per cubic-centimeter)\n",
+ "sig = q * n * un #conductivity of doped silicon (in per ohm-centimeter)\n",
+ "p = 1/sig #resistivity (in ohm-centimeter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistivity of doped silicon is \",round(p,2),\" ohm-cm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistivity of doped silicon is 4.67 ohm-cm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.16 , Page Number 196"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Variables\n",
+ "\n",
+ "up = 0.048 #hole mobility (in meter-square per volt-second)\n",
+ "un = 0.135 #electron mobility (in meter-square per volt-second)\n",
+ "q = 1.602 * 10**-19 #charge on electron (in Coulomb)\n",
+ "Nsi1 = 5 * 10**28 #concentration of intrinsic silicon (in atoms per cubic-meter)\n",
+ "ni = 1.5 * 10**16 #number of electron-hole pairs (per cubic-meter)\n",
+ "alpha = 0.05 #temperature coefficient (in per degree Celsius)\n",
+ "dT = 14 #change in temperature (in degree celsius)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig1 = q * ni * (un + up) #conductivity of intrinsic silicon (in per ohm-meter)\n",
+ "NA = Nsi1/10**7 #Number of indium atoms (in per cubic-meter)\n",
+ "p = NA #Number of holes (in per cubic meter)\n",
+ "n = ni**2/p #Number of free electrons (in per cubic-meter)\n",
+ "sig2 = q * p * up #Conductivity of doped silicon (in per ohm-meter)\n",
+ "sig34 = sig1*(1 + alpha * dT) #Conductivity at 34 degree Celsius (in per ohm-meter) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Conductivity of intrinsic silicon is \",round(sig1,5),\" per ohm-meter.\\nConductivity of doped Silicon is \",round(sig2,2),\" per ohm-meter.\\nConductivity of silicon at 34 degree Celsius is \",round(sig34,5),\" per ohm-meter.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Conductivity of intrinsic silicon is 0.00044 per ohm-meter.\n",
+ "Conductivity of doped Silicon is 38.45 per ohm-meter.\n",
+ "Conductivity of silicon at 34 degree Celsius is 0.00075 per ohm-meter.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.17 , Page Number 199"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "un = 3600.0 * 10**-4 #mobility of electrons (in meter-square per volt-second)\n",
+ "up = 1700.0 * 10**-4 #mobility of holes (in meter-square per volt-second)\n",
+ "k = 1.38 * 10**23 #Boltzmann constant\n",
+ "T = 300.0 #Temperature (in kelvin)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VT = T/11600 #Voltage (in volts)\n",
+ "Dp = up * VT #Coefficient of holes (in meter-square per second)\n",
+ "Dn = un * VT #Coefficient of electrons (in meter-square per second)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Coefficient of holes is \",round(Dp,6),\" m**2/s.\\nCoefficient of electrons is \",round(Dn,4),\" m**2/s.\"\n",
+ "#un and up in book should be in (cm**2/V-sec)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Coefficient of holes is 0.004397 m**2/s.\n",
+ "Coefficient of electrons is 0.0093 m**2/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.18 , Page Number 202"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RH = 160 #Hall coeffficient (in cubic-centimeter per Coulomb)\n",
+ "p = 0.16 #Resistivity (in ohm-centimeter)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #Conductivity (in per ohm-centimeter)\n",
+ "un = sig * RH #Electron mobility (in cmentimeter-square per volt-second)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Electron mobility is \",un,\" cm**2/V-s.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electron mobility is 1000.0 cm**2/V-s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.19 , Page Number 203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 50 #Current (in Ampere)\n",
+ "B = 1.2 #Magnetic field (in Weber per meter-square)\n",
+ "t = 0.5 * 10**-3 #thickness (in meter)\n",
+ "VH = 100 #Hall coltage (in volts)\n",
+ "q = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = B * I / (VH * q * t) #number of conduction electrons (in per cubic-meter) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Number of conduction electrons is \",n,\" m**-3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of conduction electrons is 7.5e+21 m**-3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.20 , Page Number 203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 20 * 10**-2 #Resistivity (in ohm-meter)\n",
+ "u = 100 * 10**-4 #mobility (in meter-square per volt-second)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #Conductivity (in per ohm-meter)\n",
+ "n = sig / (q * u) #number of electron carriers (in per cubic-meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Number of electron carriers is \",round(n,1),\" m**-3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of electron carriers is 3.125e+21 m**-3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.21 , Page Number 203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RH = 3.66 *10**-4 #Hall coefficient (in cubic-meter per Coulomb)\n",
+ "p = 8.93 * 10 **-3 #Resistivity (in ohm-meter)\n",
+ "q = 1.6 * 10**-19 #Charge on electron (in Coulomb)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #Conductivity (in per ohm-meter)\n",
+ "u = sig * RH #mobility (in meter-square per volt-second)\n",
+ "n = 1 / (RH * q) #Density of charge carriers (in per cubic-meter)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Mobility of charge carriers is \",round(u,3),\" m**2/V-s.\\nDensity of charge carriers is \",n,\" m**-3.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Mobility of charge carriers is 0.041 m**2/V-s.\n",
+ "Density of charge carriers is 1.70765027322e+22 m**-3.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.22 , Page Number 204"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "p = 9 * 10**-3 #Resistivity (in ohm-meter)\n",
+ "up = 0.03 #Mobility (in meter-square per volt-second)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "sig = 1/p #Conductivity (in per ohm-meter)\n",
+ "RH = up / sig #Hall coefficient (in cubic-meter per Coulomb) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of Hall-coefficient is \",RH,\" m**3/C.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of Hall-coefficient is 0.00027 m**3/C.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_4.ipynb
new file mode 100644
index 00000000..e1fdf7ce
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_4.ipynb
@@ -0,0 +1,715 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 12 , PN Junction Diode"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.1 , Page Number 226"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Current throrough diode is 10.72 micro-Ampere.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I0 = 2 * 10**-7 #Current (in Ampere)\n",
+ "VF = 0.1 #Forward voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = I0 * (math.exp(40*VF)-1) #Current through diode (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current throrough diode is \",round(I*10**6,2),\" micro-Ampere.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.2 , Page Number 226"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Diode current is 5.2 A.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VF = 0.22 #Forward voltage (in volts)\n",
+ "T = 298.0 #Temperature (in kelvin)\n",
+ "I0 = 10**-3 #Current (in Ampere)\n",
+ "n = 1\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VT = T/11600 #Volt equivalent of temperature (in volts)\n",
+ "I = I0*(exp(VF/(n*VT))-1) #Diode Current (in Ampere) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Diode current is \",round(I,1),\" A.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.3 , Page Number 226"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of n is 1.18 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I1 = 0.5 * 10**-3 #Diode current1 (in Ampere)\n",
+ "V1 = 340 * 10**-3 #Voltage1 (in volts)\n",
+ "I2 = 15 * 10**-3 #Diode current2 (in Ampere)\n",
+ "V2 = 440 * 10**-3 #Voltage2 (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = 4/math.log(30) #By solving both the given equations\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of n is \",round(n,2),\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.4 , Page Number 228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Current at 400 k is 10.2 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I300 = 10 * 10**-6 #Current at 300 kelvin (in Ampere)\n",
+ "T1 = 300 #Temperature (in kelvin)\n",
+ "T2 = 400 #Temperature (in kelvin)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I400 = I300 * 2**((T2-T1)/10) #Current at 400 kelvin (in Ampere) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current at 400 k is \",round(I400*10**3,1),\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.5 , Page Number 230"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage drop across a silicon diode is 0.624 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "rb = 2 #bulk resistance (in ohm)\n",
+ "IF = 12 * 10**-3 #FOrward current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VF = 0.6 + IF * rb #Voltage drop (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage drop across a silicon diode is \",VF,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.6 , Page Number 230"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Dynamic resistance in forward direction is 3.36 ohm.\n",
+ "Dynamic resistance in backward direction is 0.389 Mega-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "T = 398.0 #Temperature (in kelvin)\n",
+ "I0 = 30 * 10**-6 #Reverse saturation current (in Ampere)\n",
+ "V = 0.2 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VT = T/11600 #Volt equivalent of temperature (in volts)\n",
+ "I = I0 * (math.exp(V/VT)-1) #Diode current (in Ampere)\n",
+ "rac = VT/I0 * math.exp(-V/VT) #dynamic resistance in forward direction (in ohm)\n",
+ "rac1 = VT/I0 * math.exp(V/VT) #dynamic resistance in reverse direction (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Dynamic resistance in forward direction is \",round(rac,2),\" ohm.\\nDynamic resistance in backward direction is \",round(rac1/10**6,3),\" Mega-ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.8 , Page Number 237"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Maximum forward current is 0.5 A.\n",
+ "Breakdwon current that burns out the diode is 3.33 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "PDmax = 0.5 #power dissipation (in watt)\n",
+ "VF = 1 #Forward voltage (in volts)\n",
+ "VBR = 150 #Breakdown voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IFmax = PDmax/VF #Maximum forward current (in Ampere)\n",
+ "IR = PDmax/VBR #Breakdwon current that burns out the diode (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum forward current is \",IFmax,\" A.\\nBreakdwon current that burns out the diode is \",round(IR*10**3,2),\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.9 , Page Number 238"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage drop across the diode is 5 V.\n",
+ "Voltage drop across the resistance is 0 V.\n",
+ "Current through the circuit is 0 A.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 330 #Resistance (in ohm)\n",
+ "VS = 5 #Source voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VD = VS #Voltage drop across diode (in volts)\n",
+ "VR = 0 #Voltage drop across the resistance (in volts)\n",
+ "I = 0 #Current through circuit\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage drop across the diode is \",VD,\" V.\\nVoltage drop across the resistance is \",VR,\" V.\\nCurrent through the circuit is \",I,\" A.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.10 , Page Number 239"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of VD is 0 V.\n",
+ "Value of VR is 12.0 V.\n",
+ "Current through the circuit is 25.53 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 12.0 #Source coltage (in volts)\n",
+ "R = 470.0 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VD = 0 #Voltage drop across diode (in volts)\n",
+ "VR = VS #Value of VR (in volts)\n",
+ "I = VS/R #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of VD is \",VD,\" V.\\nValue of VR is \",VR,\" V.\\nCurrent through the circuit is \",round(I*10**3,2),\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.11 , Page Number 239"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Current through the circuit is 6.625 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 6 #Source voltage (in volts)\n",
+ "R1 = 330 #Resistance (in ohm)\n",
+ "R2 = 470 #Resistance (in ohm)\n",
+ "VD = 0.7 #Diode voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = R1 + R2 #Total Resistance (in ohm)\n",
+ "I = (VS - 0.7)/RT #Current through the diode\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current through the circuit is \",I * 10**3,\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.12 , Page Number 240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage across the resistor is 4.3 V.\n",
+ "The circuit current is 8.43 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 5 #Source voltage (in volts)\n",
+ "R = 510 #Resistance (in ohm)\n",
+ "VF = 0.7 #Forward voltage drop (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VR = VS - VF #Net voltage (in volts)\n",
+ "I = VR / R #Current through the diode\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage across the resistor is \",VR,\" V.\\nThe circuit current is \",round(I * 10**3,2),\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.13 , Page Number 240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Total current through the circuit is 3.067 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 6 #Source voltage (in volts)\n",
+ "VD1 = VD2 = 0.7 #Diode Voltage drop (in volts)\n",
+ "R = 1.5 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = (VS - VD1 - VD2)/R #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Total current through the circuit is \",round(I * 10**3,3),\" mA.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.14 , Page Number 240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Total current through the circuit is 3.212 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 12 #Source voltage (in volts)\n",
+ "R1 = 1.5 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 1.8 * 10**3 #Resistance (in ohm)\n",
+ "VD1 = VD2 = 0.7 #Diode Voltage drop (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RT = R1 + R2 #Total Resistance (in ohm)\n",
+ "I = (VS - VD1 - VD2)/RT #Current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Total current through the circuit is \",round(I * 10**3,3),\" mA.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.15 , Page Number 241"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output Voltage in case 1 is 0 V.\n",
+ "Output Voltage in case 2 is 4.3 V.\n",
+ "Output Voltage in case 3 is 4.3 V.\n",
+ "Output Voltage in case 4 is 4.3 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 3.3 * 10**3 #Resitance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Case (a)\n",
+ "\n",
+ "V11 = V21 = 0 #Voltages (in volts)\n",
+ "V01 = 0 #Output Voltage (in volts)\n",
+ "\n",
+ "#Case (b)\n",
+ "\n",
+ "V21 = 0 #Voltage (in volts)\n",
+ "V22 = 5 #Voltage (in volts)\n",
+ "V02 = V22 - 0.7 #Output voltage (in volts) \n",
+ "\n",
+ "#Case (c)\n",
+ "\n",
+ "V31 = 5 #Voltage (in volts)\n",
+ "V32 = 0 #Voltages (in volts)\n",
+ "V03 = V31 - 0.7 #Output voltage (in volts) \n",
+ "\n",
+ "#Case (d)\n",
+ "\n",
+ "V41 = V42 = 5 #Voltages (in volts)\n",
+ "V04 = V41 - 0.7 #Output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output Voltage in case 1 is \",V01,\" V.\\nOutput Voltage in case 2 is \",V02,\" V.\\nOutput Voltage in case 3 is \",V03,\" V.\\nOutput Voltage in case 4 is \",V04,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 12.16 , Page Number 242"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Current in dc circuit is 1.0 mA.\n",
+ "a.c voltage drop across 51 ohm resistance is 0.485 mV.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x652ae90>"
+ ]
+ },
+ "execution_count": 2,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZcAAAEZCAYAAABb3GilAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnXeYXVW5/z/fTAokIQkBUkghCUkgIQQCSg0wFDEgCAgo\nIF6sFwtXrCD+9BLU61Wv14KIIoqgl6L0oFIiMBCUlhBI75n0BGJIgYTU9/fH2oc5OTln5szM7rM+\nz3Oes88ua717nb3Xd5V3rSUzw+PxeDyeMGmXtAEej8fjyR9eXDwej8cTOl5cPB6PxxM6Xlw8Ho/H\nEzpeXDwej8cTOl5cPB6PxxM6Xlw8sSBpl6QhIYc5KAjXP8cpQdLtkr4bUdjjJf0x2B4oaZMktSCc\nWknLwrfQU4x/Kds4kt4KXtJNQUa9uej3pRWuCe3llPRrSXeU2X+EpHck9WhGWHWSPhWGXc0lyFSv\nkHRckKZdypwzVdLnA1FcnISdYSLp45Imley24BMF74ZrZkvNbB/zA/VSixeXNo6ZdQ1e0n2AJcA5\nhd9mdncMJtwOfEhS55L9HwMeMbP1zQgryYzGADOzF4DlwEXFByWNAkYAcaQpktrHEY/HUwkvLp6y\nSOok6WeSVgSfn0rqGJTIHwUODGo3GyX1kXSMpOclvSlppaRfSOrQVDxBZrwCuLAo7hrgUuAPcnxL\nUr2kNZLukNRtT3P1X8BJwE2BXTcGB34uaamkDZImSxpbdNHeQXjrJM2SdE1xjUzSgZLul/S6pEWS\n/qPK5LsD+LeSff8G/NXM3izceqWLm7C5naRv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JOLT1P\n0n8FzWa7LS8h6RhJvwJ+jlsV87oycXk8jeLFxdNW2QQULwq3hIZaRSlNLu0qaT+gvZk9AHwbGGNm\nm4DFki4KzpGk0cElTwKfC/bXSOpG0Nkuae9gavrzg31l4zezDcB6SScGuz5aZM8QM1tsZr8AHgYO\nD/Z3Anaa2Ttm9v8CwTsqOHampNeA7wT2jTCzr1i+Zmj2xIQXF0+bJGje+kfQgf1DM1sNtJfUuXAK\nDbWGalYV7Ac8HTR//ZGG0v5HgU8FHe4zcOusA1wNnCppGm49lxFmNhXnrfYS8AJwq5m9VmTDbrcQ\nfH8C+GUQb/H+Dwed/1OBw4A/BPvHAM9XuIe1wDlmNs7M7jOzHU3cs8dTET/lvscTIGk8MNvM/pS0\nLVEh6fvAy2bm+1E8keLFxeMJkHQAcIeZnZ20LVEQNIlNBE4x/+J7IsaLi8fj8XhCx/e5eDwejyd0\nvLh4PB6PJ3S8uHg8Ho8ndLy4eDwejyd0vLh4PB6PJ3S8uHg8Ho8ndP4/fIEh7LXwZdkAAAAASUVO\nRK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x621f850>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "rB = 1.0 #bulk resistance (in ohm)\n",
+ "V = 10 * 10**-3 #Signal Amplitude (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Case (a)\n",
+ "\n",
+ "R = 20.0 #Resitance (in kilo-ohm)\n",
+ "Vg = 20.0 #Source voltage (in volts)\n",
+ "I = (Vg - 0.7)/R #Current (in milli-Ampere) \n",
+ "\n",
+ "#Case (b)\n",
+ "\n",
+ "rj = 50.0 #junction resistance (in ohm)\n",
+ "re = rB + rj #a.c. resistance (n ohm)\n",
+ "rnet = re * (R*10**3)/(re + (R*10**3)) #Net resistance (in ohm)\n",
+ "V1 = V * re/(re + 1000) #Voltage drop across 51 ohm resitance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current in dc circuit is \",round(I),\" mA.\\na.c voltage drop across 51 ohm resistance is \",round(V1*10**3,3),\" mV.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(-4*math.pi,4*math.pi,500)\n",
+ "y = numpy.sin(x)\n",
+ "plot(x,0.7 + 0.48*10**-3*y)\n",
+ "title(\"Total Voltage 'V' across the diode\")\n",
+ "xlabel(\"t(in seconds)->\")\n",
+ "ylabel(\"Voltage(in volts)->\")"
+ ]
+ }
+ ],
+ "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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_4.ipynb
new file mode 100644
index 00000000..656038ce
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_4.ipynb
@@ -0,0 +1,517 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:009fe668b9057f65f54dfdc4cba32c9ea1a6223a163ceb7443a11c41aea3d366"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 13 , Special Purpose Diodes and Opto-Electornic Devices"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.1 , Page Number 253"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "PZM = 500 #Power rating of zener diode (in milli-watt)\n",
+ "VZ = 6.8 #Zener voltage rating (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IZM = PZM / VZ #Maximum value of zener current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"THe value of IZM for the device is \",round(IZM,1),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "THe value of IZM for the device is 73.5 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.2 , Page Number 253"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "PZM = 500 #Power rating of zener diode (in milli-watt)\n",
+ "df = 3.33 #derating factor (in milli-watt)\n",
+ "T1 = 75 #Temperature (in degree Celsius)\n",
+ "T2 = 50 #Temperature (in degree Celsius)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Tdf = df * (T1 - T2) #Total derating factor (in milli-watt)\n",
+ "PZ = PZM - Tdf #Maximimum power dissipating for the device (in milli-watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The maximum power dissipation for the device is \",PZ,\" mW.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum power dissipation for the device is 416.75 mW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.3 , Page Number 254"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IZ1 = 20 #Reverse current (in milli-Ampere)\n",
+ "IZ2 = 30 #Reverse current (in milli-Ampere)\n",
+ "VZ1 = 5.6 #Zener voltage (in volts)\n",
+ "VZ2 = 5.65 #Zener voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "dIZ = IZ2 - IZ1 #Change in reverse current (in milli-Ampere)\n",
+ "dVZ = VZ2 - VZ1 #Change in zener voltage (in volts)\n",
+ "rZ = dVZ / (dIZ * 10**-3) #Resistance of device (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance of the zener diode is \",rZ,\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the zener diode is 5.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.4 , Page Number 254"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VZ = 4.7 #Zener voltage (in volts)\n",
+ "rZ = 15 #Resistance (in ohm)\n",
+ "IZ = 20 * 10**-3 #Current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VZ1 = VZ + IZ * rZ #Terminal voltage of a zener diode (in volts)\n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Terminal voltage of the zener diode is \",VZ1,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Terminal voltage of the zener diode is 5.0 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.5 , Page Number 262"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C1min = C2min = Cmin = 5 #Minimum capacitance (in pico-farad)\n",
+ "C1max = C2max = Cmax = 50 #Maximum capacitance (in pico-farad)\n",
+ "L = 10 #Inductance (in milli-Henry)\n",
+ " \n",
+ "#Calculation\n",
+ "\n",
+ "CTmin = C1min * C2min / (C1min + C2min) #Total minimum capacitance (in pico-farad)\n",
+ "CTmin = CTmin * 10**-12 #Total minimum capacitance (in farad)\n",
+ "L = 10 * 10**-3 #Inductance (in Henry)\n",
+ "f0max = 1/(2*math.pi*(L*CTmin)**0.5) #Maximun resonant frequency (in Hertz)\n",
+ "CTmax = C1max * C2max / (C1max + C2max) #Total maximum capacitance (in pico-farad)\n",
+ "CTmax = CTmax * 10**-12 #Total minimum capacitance (in farad)\n",
+ "f0min = 1/(2*math.pi*(L*CTmax)**0.5) #Minimum resonant frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Tuning range for the circuit is between \",round(f0min * 10**-3),\" kHz and \",round(f0max * 10**-6,0),\" MHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tuning range for the circuit is between 318.0 kHz and 1.0 MHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.6 , Page Number 266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "T = 0.04 * 10**-6 #Time period (in seconds)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f = 1/T #Frequency (in Hertz)\n",
+ "f = f * 10**-6 #Frequency (in Mega-Hertz)\n",
+ "f5 = 5 * f #%th - harmonic (in Mega-Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of 5th harmonic is \",f5,\" MHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of 5th harmonic is 125.0 MHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.7 , Page Number 270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vout = 8.0 #Output voltage (in volts)\n",
+ "VFmin = 1.8 #LED min voltage (in volts)\n",
+ "VFmax = 2.0 #LED max voltage (in volts)\n",
+ "IFmax = 16 * 10**-3 #Maximum current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RS = (Vout - VFmin) / IFmax #Current limiting Resistor (in ohm)\n",
+ "RS1 = (Vout - VFmax) / IFmax #Current limiting Resistor 1 (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"In either case , the smallest standard-value resistor that has a value greater than \",RS, \" ohm or \",RS1,\" ohm is the 390 ohm resistor.\\nTherefore Rs should be 390 ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "In either case , the smallest standard-value resistor that has a value greater than 387.5 ohm or 375.0 ohm is the 390 ohm resistor.\n",
+ "Therefore Rs should be 390 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.8 , Page Number 271"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VDmin = 1.5 #minimum voltage drop (in volts)\n",
+ "VDmax = 2.3 #maximum voltage drop (in volts)\n",
+ "VS = 10 #Source voltage (in volts)\n",
+ "R1 = 470 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Imax = (VS - VDmin) / R1 #Maximum current (in Ampere)\n",
+ "Imin = (VS - VDmax) / R1 #Minimum current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Minimum value of LED current is \",round(Imin * 10**3,1),\" mA.\\nMaximum value of LED current is \",round(Imax * 10**3,1),\" mA.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum value of LED current is 16.4 mA.\n",
+ "Maximum value of LED current is 18.1 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.9 , Page Number 271"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VDmin = 1.8 #minimum voltage drop (in volts)\n",
+ "VDmax = 3.0 #maximum voltage drop (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Case 1\n",
+ "\n",
+ "VS = 24.0 #Source voltage (in volts)\n",
+ "RS = 820.0 #Resistance (in ohm)\n",
+ "Imax = (VS - VDmin) / RS #Maximum current (in Ampere)\n",
+ "Imin = (VS - VDmax) / RS #Minimum current (in Ampere)\n",
+ "dI = Imax - Imin #Change in current (in Ampere)\n",
+ "\n",
+ "#Case 2\n",
+ "\n",
+ "VS1 = 5.0 #Source voltage (in volts)\n",
+ "RS1 = 120.0 #Resistance (in ohm)\n",
+ "Imax1 = (VS1 - VDmin) / RS1 #Maximum current (in Ampere)\n",
+ "Imin1 = (VS1 - VDmax) / RS1 #Minimum current (in Ampere)\n",
+ "dI1= Imax1 - Imin1 #Change in current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Since change in current in case 1 i.e\",round(dI*10**3,2),\"mA is less than change in current in case 2 i,e,\",round(dI1* 10**3,2),\" mA.\" \n",
+ "print \"Therefore brightness in the first case will remain constant.\"\n",
+ "\n",
+ "#printing mistake in book for value of VDmin. It should be 1.8 volts instead of 1.1 volts."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Since change in current in case 1 i.e 1.46 mA is less than change in current in case 2 i,e, 10.0 mA.\n",
+ "Therefore brightness in the first case will remain constant.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.10 , Page Number 281"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 100.0 * 10**3 #Resistance when illuminated (in ohm)\n",
+ "r = 1.0 * 10**3 #cell resistance (in ohm)\n",
+ "I = 10.0 * 10**-3 #Current (in Ampere)\n",
+ "VS = 30 #Source voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R = VS/I - r #R is the series resitance (in ohm)\n",
+ "Id = VS / (R + R1) #Dark current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Ther series resistance required is \",R/1000,\" kilo-ohm.\\nThe dark current is \",round(Id * 10**3,1),\" A.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ther series resistance required is 2.0 kilo-ohm.\n",
+ "The dark current is 0.3 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.11 , Page Number 284"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V = 12.0 #Battery voltage (in volts)\n",
+ "I = 0.5 #Current (in Ampere)\n",
+ "T = 24 #Time period (in hours)\n",
+ "V1 = 0.5 #Voltage by each cell (in volts)\n",
+ "I1 = 50 * 10**-3 #Current in each cell (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VS = 13.5 #Solar bank voltage (in volts)\n",
+ "n = VS / V1 #Number of series connected solar cells \n",
+ "Q = T/2 * I #Charge given out in one day (in Ampere-Hour)\n",
+ "I2 = Q / (T/2) #Charging current (in Ampere)\n",
+ "N = I2/I1 #Number of groups of solar cell required \n",
+ "nT = n * N #Total number of solar cells required \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Total cells required is \",nT,\".\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total cells required is 270.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_4.ipynb
new file mode 100644
index 00000000..5b0c9312
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_4.ipynb
@@ -0,0 +1,586 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2230f558abad311ac9e2b809ce74f917fbf18727096bb922bf424293f0d38ca4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 14 , Bipolar Junction Transistor"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.1 , Page Number 308"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IE = 10 #Emitter current (in milli-Ampere)\n",
+ "IC = 9.8 #Collector current (in milli-Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = IE - IC #Base current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Base current is \",IB,\" mA.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Base current is 0.2 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.2 , Page Number 310"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IE = 6.28 #Emitter current (in milli-Ampere)\n",
+ "IC = 6.20 #Collector current (in milli-Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "alpha = IC / IE #Common base current gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Common-Base current gain is \",round(alpha,3),\".\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Common-Base current gain is 0.987 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.3 , Page Number 310"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "alpha = 0.967 #common base current gain\n",
+ "IE = 10 #Emitter current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = alpha * IE #Collector current (in milli-Ampere)\n",
+ "IB = IE - IC #Base current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Base current is \",IB,\" mA.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Base current is 0.33 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.4 , Page Number 311"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IE = 10 #Emitter current (in milli-Ampere)\n",
+ "alpha = 0.987 #common base current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = alpha * IE #Collector current (in milli-Ampere)\n",
+ "IB = IE - IC #Base current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"IC is \",IC,\" mA.\\nIB is \",IB,\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "IC is 9.87 mA.\n",
+ "IB is 0.13 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.5 , Page Number 312"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "alpha1 = 0.975 #common base current gain\n",
+ "beta1 = 200.0 #common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = alpha1 / (1-alpha1) #common emitter current gain \n",
+ "alpha = beta1 / (beta1 + 1) #common base current gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of beta when alpha = 0.975 is \",beta,\".\\nValue of alpha when beta = 200 is \",round(alpha,3),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of beta when alpha = 0.975 is 39.0 .\n",
+ "Value of alpha when beta = 200 is 0.995 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.6 , Page Number 313"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "beta = 100.0 #common emitter current gain\n",
+ "IC = 40.0 #Collector current (in milli-Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = IC / beta #Base current (in milli-Ampere)\n",
+ "IE = IB + IC #Emitter current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of emitter current is \",IE,\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of emitter current is 40.4 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.7 , Page Number 313"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "beta = 150.0 #common emitter current gain\n",
+ "IE = 10 #Emitter current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "alpha = beta / (beta + 1) #common base current gain \n",
+ "IC = alpha * IE #Collector current (in milli-Ampere)\n",
+ "IB = IE - IC #Base current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current is \",round(IC,2),\" mA.\\nBase current is \",round(IB,2),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Collector current is 9.93 mA.\n",
+ "Base current is 0.07 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.8 , Page Number 313"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "beta = 170.0 #common emitter current gain\n",
+ "IC = 80.0 #Collector current (in milli-Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = IC / beta #Base current (in milli-Ampere)\n",
+ "IE = IB + IC #Emitter current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Base current is \",round(IB,2),\" mA.\\nEmitter current is \",round(IE,2),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Base current is 0.47 mA.\n",
+ "Emitter current is 80.47 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.9 , Page Number 314"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IB = 0.125 #Base current (in milli-Ampere)\n",
+ "beta = 200.0 #common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = IB * beta #Collector current (in milli-Ampere)\n",
+ "IE = IC + IB #Emitter current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of collector current is \",IC,\" mA.\\nValue of emitter current is \",IE,\" mA.\"\n",
+ "\n",
+ "#Correction in book . The Value of IB is 0.125 mA."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of collector current is 25.0 mA.\n",
+ "Value of emitter current is 25.125 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.10 , Page Number 314"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IE = 12.0 #Emitter current (in milli-Ampere)\n",
+ "beta = 140.0 #common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = IE / (1 + beta) #Base current (in milli-Ampere)\n",
+ "IC = IE - IB #Collector current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current is \",round(IC,3),\" mA.\\nBase current is \",round(IB,3),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Collector current is 11.915 mA.\n",
+ "Base current is 0.085 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.11 , Page Number 314"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IB = 105 * 10**-3 #Base current (in milli-Ampere)\n",
+ "IC = 2.05 #Collector current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = IC / IB #Common base current gain\n",
+ "alpha = beta / (1 + beta) #Common emitter current gain\n",
+ "IE = IB + IC #Emitter current (in milli-Ampere)\n",
+ "IC1 = IC + 0.65 #New collector current (in milli-Ampere)\n",
+ "IB1 = IB + 27 * 10**-3 #New base current (in milli-Ampere) \n",
+ "beta1 = IC1 / IB1 #New value of beta\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Beta of the transistor is \",round(beta,1),\".\\nalpha of the transistor is \",round(alpha,2),\".\\nEmitter current is \",IE,\" mA.\\nNew value of beta is \",round(beta1,2),\".\"\n",
+ "\n",
+ "#Correction to be done in book in value of IB . IB is in micro - Ampere in both initial and in the changed condition. In calculation proper conversion has been done."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Beta of the transistor is 19.5 .\n",
+ "alpha of the transistor is 0.95 .\n",
+ "Emitter current is 2.155 mA.\n",
+ "New value of beta is 20.45 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.12 , Page Number 317"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "alpha = 0.98 #common base current gain\n",
+ "ICO = 5 * 10**-3 #Leakage current (in milli-Ampere)\n",
+ "IB = 100 * 10**-3 #Base current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = (alpha * IB + ICO)/ (1 - alpha) #Collector current (in milli-Ampere)\n",
+ "IE = IC + IB #Emitter current (in milli-Ampere) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of collector current is \",IC,\" mA.\\nValue of emitter current is \",IE,\" mA.\"\n",
+ "\n",
+ "#Correction about conversion of micro-Ampere and milli-Ampere to be done in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of collector current is 5.15 mA.\n",
+ "Value of emitter current is 5.25 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.13 , Page Number 318"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ICBO = 10 * 10**-3 #Leakage current (in milli-Ampere)\n",
+ "beta = hFE = 50 #common emitter current gain\n",
+ "T2 = 50.0 #Temperature (in degree Celsius) \n",
+ "T1 = 27.0 #Temperature (in degree Celsius)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Case (a)\n",
+ "\n",
+ "IB = 0.25 #Base current (in milli-Ampere)\n",
+ "IC = beta * IB + (1 + beta)* ICBO #Value of new collector current (in milli-Ampere)\n",
+ "\n",
+ "#Case (b)\n",
+ "\n",
+ "ICBO1 = ICBO * 2**((T2 - T1)/10) #ICBO at 50 degree celsius (in milli-Ampere)\n",
+ "IC1 = beta * IB + (1 + beta)* ICBO1 #Value of new collector current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current when IB = 0.25 mA is \",IC,\" mA.\\nCollector current at 50 degree Celsius is \",round(IC1,2),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Collector current when IB = 0.25 mA is 13.01 mA.\n",
+ "Collector current at 50 degree Celsius is 15.01 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_4.ipynb
new file mode 100644
index 00000000..a76f6609
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_4.ipynb
@@ -0,0 +1,64 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:934b9f1a90e136e295951deeff35be6457078af8181c0ad14c05c8c2d9b3abed"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 15 , BJT Characteristics "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.1 , Page Number 331"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "PDmax = 500 #Maximum Power dissipation at 25 degree Celsius (in milli-watt)\n",
+ "DF = 2.28 #derating factor (in milli-watt per degree Celsius)\n",
+ "T = 70 #Temperaure (in degree Celsius)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "PDmax70 = PDmax - DF * (T - 25) #Maximum Power dissipation at 70 degree Celsius (in milli-watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum power dissipation at 70 degree Celsius is \",round(PDmax70),\" mW.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum power dissipation at 70 degree Celsius is 397.0 mW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_4.ipynb
new file mode 100644
index 00000000..7e5edce2
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_4.ipynb
@@ -0,0 +1,374 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 16 , Field-Effect Transistor"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 16.1 , Page Number 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Drain current when VGS = 0 V is 15.0 mA.\n",
+ "Drain Current when VGS = -1 V is 9.6 mA.\n",
+ "Drain Current when VGS = -4 V is 0.6 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ " \n",
+ "IDSS = 15.0 #Drain-Source current (in milli-Ampere)\n",
+ "VGSoff = -5.0 #Gate-Source voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#When VGS = 0 volts\n",
+ "VGS1 = 0 #VGS (in volts)\n",
+ "ID1 = IDSS * (1 - (VGS1 /VGSoff)**2) #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#When VGS = -1 volt\n",
+ "VGS2 = -1 #VGS (in volts)\n",
+ "ID2 = IDSS * (1 - VGS2 /VGSoff)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#When VGS = -4 volt\n",
+ "VGS3 = -4 #VGS (in volts) \n",
+ "ID3 = IDSS * (1 - VGS3 /VGSoff)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Drain current when VGS = 0 V is \",ID1,\" mA.\\nDrain Current when VGS = -1 V is \",ID2,\" mA.\\nDrain Current when VGS = -4 V is \",ID3,\" mA.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 16.2 , Page Number 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Drain current when VGS = 0 V is 6.75 mA.\n",
+ "Drain Current when VGS = -1 V is 3.0 mA.\n",
+ "Drain Current when VGS = -4 V is 0.75 mA.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x6113d50>"
+ ]
+ },
+ "execution_count": 1,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEZCAYAAAB7HPUdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmYFNXVx/HvAUQBWVzAJYKguEHcDWJQGcEFUdyI+xKX\nGI0xEreo8TVOEk1MDMEIaqJGREVFERHBoCiOUUFABAVRCSibIAoim7Kf949bLc3QM9PDdHd1T/8+\nz1MPtXadrmlO37731i1zd0REpDjUiTsAERHJHSV9EZEioqQvIlJElPRFRIqIkr6ISBFR0hcRKSJK\n+lKUzGyDme0RdxwiuaakL5sxs1lm1iXuOPKdmZWa2eNxxyFSHUr6kooDVtFGM6uXw1gkBhaJOw7J\nPCV92URUcm0FvGhmy83sBjNrHVWHXGpms4FXo32fNbMFZvaNmb1hZu2SXudRM7vPzIab2TIzeye5\nOsXM+pjZQjNbamYfmFn7aH0DM+sd/dr4xszeNLNtom2nmNmHZrbEzF43s32TXm+WmV1vZu9Hxz1t\nZlsnbb/RzOab2Twzu7Tcey4zs8uSli82szeTltub2SgzW2xmX5jZLWZ2AnALcHZ0nSZF+15iZtOi\n9zzTzH6e9Dol0fmvi977fDO7OGl7Ze+9o5mNid77ZDPrXMnfsKWZDTGzL81skZn1jdZv8ssk6e9a\nJ+k63GFmbwMrgRvNbEK5177WzF6I5rc2s7+Z2ezoujyQiFfymLtr0rTJBHwGdElabg1sAB4FGgBb\nR+svBhoBWwF9gElJxzwKLAIOA+oCTwBPRdtOAN4FmkTL+wA7R/P3AaOBXQiFko5AfWBvYAXQNXq9\nG4H/AfWSYn4H2BnYDpgGXBFt6wZ8AbQDGgJPRu9nj2j768ClSbFfDLwZzTcGFgDXRnFsC3SItt0O\nPFbu2nUH2kTzRxOS58HRcgmwFiiN3sOJ0famVbz3H0TXslu037HR8o4p/nZ1gfeB3om/FfDjpHgf\nT/F3rRMtlwGzgP2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/+5mdlLS+r0JX6LlR2GdzeYPRBlC+JI/m43XJGEXwt9F\n8kHc9Uua4psI/3GfIoynPw4YDZwZbWsLvA9MJjTeLovW1wNei9b3IpTi7iTUsU+JtjVJca4fE0qZ\nE4E9gAMJVRrvExJG0xTHtIpe7yNCPfrLQJtoW8rjCdUs7xN+MfwR+DRa/1OievFouRGhR9GU6L2c\nFq0/hjAe/vvRdHIF1+56QuJvlbSuS3TeD4CHga2i9cl1+ncR6rwfJ1ShvRQtPx9d/6Oj/S4nVGm9\nE8V5R7R+B0JSfT+6nvdX8vftA8xLsb579B4/Bt4i9PZJtEU8RfgCm0T48jkuxfHbANNTrH8eGJNi\n/X+A9nF/3jWFSUMri+QhM2vk7iujkv4QwhjpL8QdV4KZPQo84O7jqtivCfCau/8oJ4FJlVS9I5Kf\nSqPG2imEXyt5k/AjfwOurHKv0GvqH9kNRapDJX0RkSKikr6ISBFR0hcRKSJK+iIiRURJX0SkiCjp\ni4gUESV9EZEi8v8XGfP7v8BOYgAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x26d0af0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VGSoff = -20.0 #Gate-Source voltage (in volts)\n",
+ "IDSS = 12.0 #Drain-Source current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#When VGS = -5 V \n",
+ "VGS1 = -5 #VGS (in volts)\n",
+ "ID1 = IDSS * (1 - VGS1/VGSoff)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#When VGS = -10 V\n",
+ "VGS2 = -10 #VGS (in volts)\n",
+ "ID2 = IDSS * (1 - VGS2/VGSoff)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#When VGS = -15 V\n",
+ "VGS3 = -15 #VGS (in volts)\n",
+ "ID3 = IDSS * (1 - VGS3/VGSoff)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Drain current when VGS = 0 V is \",ID1,\" mA.\\nDrain Current when VGS = -1 V is \",ID2,\" mA.\\nDrain Current when VGS = -4 V is \",ID3,\" mA.\" \n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(-20,0,100)\n",
+ "y = x\n",
+ "plot(x,12*(1+y/20)**2,'r')\n",
+ "title(\"transconductance curve\")\n",
+ "xlabel(\"Gate-to-Source voltage VGS (V)\")\n",
+ "ylabel(\"Drain current ID(mA)\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 16.3 , Page Number 351"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The maximum curve and minimum curves are plotted as shown in the following plots.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x6249bd0>"
+ ]
+ },
+ "execution_count": 2,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEZCAYAAAB7HPUdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XucFOWV//HPGQheuARNCBKNGcQLgihyU5gNDt5+5CdE\nXCJKXAHjxkQD+oth1ehPwUQSjSRuIrtmMUZkowmKouLmAnEZdTHKdbhoxGgcY6LiDSMS5DZn/6jq\noWbomamZ7urr9/169Yuq6nqqTvUMz5w+/fRT5u6IiEh5qMh3ACIikjvq9EVEyog6fRGRMqJOX0Sk\njKjTFxEpI+r0RUTKiDp9EZEyok5fipqZ/cbMbkyz/Wwze8PMKsL1IWb2mJm9Z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+OAD3717t7u7L1261MePH+/u7vX19T5y5Eh/6KGHfMiQIf7000+7u/u8efN86tSp7u4+efJk\nnzhxYsMxu3bt2uh869atc3f3Ll26NMS1cOFCnzJlSqz2tbW1ja5px44dfsQRR/iqVavc3X3r1q2+\ne/fuRjG5u48ZM8afeOIJd3c3M3/ggQfc3X337t1++OGH+9///nd3d//a177m9957r7/99ts+cuTI\nhu0333yzf/vb387k5c+uHTvcb7jBvUcP93vuca+vz3dEUsbCvrPFfjlOTX8KwQRr05ts7x2j7d0E\n4/znR7ZdAyx19++b2dXh+jUxjlVSevfuTf/+/QHo378/p59+OgDHHXccdXV1ALz//vtMmjSJl156\nCTNj165dQPAWbt68eQwYMIBLL72U4cOH73N8M2vIlI877jgOOeSQRuerq6vj+OOPbza+OO1POOGE\nhv03bdpEr169GDx4MND4HURzOnTowPjx4xuWR48ezaOPPsr48eP51a9+xezZs1m2bBnPP/88I0aM\nAGDnzp0Ny3mn2r0UoVY7fXevbO/B3f0pM2va/gvAKeHyPUANZdjp77fffg3LFRUVdOrUqWF59+7d\nAFx//fWcdtppLFq0iFdffZXq6uqGNi+++CJdu3blr3/9a7PniB6z6flS57BICWL79u1tbt+ajh07\nUl9f37D+0UcfNSzvv//+jc5//vnnM2fOHA4++GCGDh1K586dATjjjDO47777Yp0vJ1S7lyIWZxqG\nzmZ2fTiCBzM7yszGZHDOnu6+OVzeDPTM4Fgl7YMPPuDTYfZ49913N2z/29/+xhVXXMFTTz3Fu+++\ny4MPPgiQKo21Sc+ePXnhhReor69n0aJFjTrhtjjmmGN44403WLVqFQBbt25lz549VFZWUltbi7vz\n2muvsWLFimaPccopp7BmzRruvPNOzj//fABOOukkli9fzssvvwzAtm3b+OMf/9iuGLNCtXspcnHK\nO3cTzK2fek/9OrAQeCzTk7sHdd10z82cObNhubq6ulGWWwqadq7R9dTyVVddxeTJk7nppps466yz\nGrZfeeWVTJ06lSOPPJK77rqLUaNGMXLkSMws7XHSnS/l5ptvZsyYMfTo0YMhQ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DBH+Ez4vEDPA9YLaZRe++dADg4fVX\nR7afSPD6pvRqsi6FJN/1JT0K70HQMfwC+BPBPVL/Gzg3fO5IYB1QS/Dh7Qfh9o7A4+H2KwiyvVkE\nNfYN4XPd0pxrBEFWuZrgzmgnEJQ01hF0SB9P0+bw8Hh/IKij/xboHT6Xtj1BmWUdwTuG7wB/CrdP\nJqyLh+udgXlhzLXAuHD7KIJSxrrwMaaZ1+6bBB3/4ZFtp4bnXQ/8FPhYuD1a07+ZoKb+nwQltF+F\n64vC139kuN9XCEpaz4Rx3hRu/wRBp70ufD3/PU1s+wMvptm+CHg6zfZJYczPAcuBnxB8DtAF+C/g\nhfD1fyp1HWG7XxPcWD3vv8t67PvQ1MoiRcTMOrv7tjDTf4hg3vRH2tB+HsGQzWdb27ed8XUDHnf3\noUkcXzKn8o5IcZkZfli7geDdSuwOPzQb+Fqre7XfFOBHCR5fMqRMX0SkjCjTFxEpI+r0RUTKiDp9\nEZEyok5fRKSMqNMXESkj6vRFRMrI/wJL18lKYh3/fgAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x61c3fd0>"
+ ]
+ },
+ "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",
+ "VGSoffmin = -2.0 #Gate-Source voltage (in volts)\n",
+ "VGSoffmax = -6.0 #Gate-Source voltage (in volts)\n",
+ "IDSSmin = 8.0 #Drain-Source current (in milli-Ampere)\n",
+ "IDSSmax = 20 #Drain-Source current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#ID = IDSS * (1 - VGS/VGSoff)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#Plotting different values of VGS in the graph\n",
+ "\n",
+ "#Result\n",
+ "print \"The maximum curve and minimum curves are plotted as shown in the following plots.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x1 = numpy.linspace(-2,0,2)\n",
+ "y1 = x1\n",
+ "plot(x1,8 * (1 + y1/2)**2)\n",
+ "x2 = numpy.linspace(-6,0,2)\n",
+ "y2 = x2\n",
+ "plot(x2,20 * (1 + y2/6)**2,'r')\n",
+ "title(\"VGs vs ID\")\n",
+ "xlabel(\"Gate-to-Source voltage (VGS)\")\n",
+ "ylabel(\"Drain current ID (mA)\")\n",
+ "annotate(\"maximum curve\",xy=(-5,10))\n",
+ "annotate(\"minimum curve\",xy=(-2.5,5))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 16.4 , Page Number 356"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of transconductance is 3.0 mA/V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VGS1 = -3.1 #Gate-Source voltage (in volts)\n",
+ "VGS2 = -3.0 #Gate-Source voltage (in volts)\n",
+ "ID1 = 1.0 #Drain current (in milli-Ampere) \n",
+ "ID2 = 1.3 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "dVGS = VGS2 - VGS1 #Change in Gate-Source voltage (in volts)\n",
+ "dID = ID2 - ID1 #Change in Drain current (in milli-Ampere)\n",
+ "gm = dID / dVGS #Transconductance (in milli-Ampere per volt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of transconductance is \",gm,\" mA/V.\"\n",
+ "\n",
+ "#Calculation error in book in the value of gm."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 16.5 , Page Number 357"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of transconductance at VGS = -4 V is 2500.0 micro-S.\n",
+ "The value of drain current at VGs = -4 V is 5.0 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Variables\n",
+ "\n",
+ "IDSS = 20.0 #Drain-Source current (in milli-Ampere)\n",
+ "VP = -8.0 #Peak-point Voltage (in volts)\n",
+ "VGS = -4.0 #Gate-Source voltage (in volts)\n",
+ "gmo = 5000 * 10**-3 #Transconductance (in milli-Ampere per volt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ID = IDSS * (1 - VGS/VP)**2 #Drain current (in milli-Ampere)\n",
+ "gm = gmo * (1 - VGS/VP) #Transconductance (in milli-Ampere per volt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of transconductance at VGS = -4 V is \",gm * 10**3,\" micro-S.\\nThe value of drain current at VGs = -4 V is \",ID,\" mA.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 16.6 , Page Number 363"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Since the value of VGS is negative for the enhancement-type MOSFET ,this indicated that device is P-channel.\n",
+ "The value of ID when VGS = -6 V is 1.08 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IDon = 10.0 #Drain current (in milli-Ampere)\n",
+ "VGS = -12.0 #Gate-Source voltage (in volts)\n",
+ "VGSth = -3.0 #Threshold Gate-Source voltage (in volts)\n",
+ "VGS1 = -6.0 #Gate-Source voltage in another case (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "K = IDon/(VGS - VGSth)**2 #Transconductance (milli-Ampere per volt)\n",
+ "ID = round(K,2) * (VGS1 - VGSth)**2 #Drain current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Since the value of VGS is negative for the enhancement-type MOSFET ,this indicated that device is P-channel.\"\n",
+ "print \"The value of ID when VGS = -6 V is \",ID,\" 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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_4.ipynb
new file mode 100644
index 00000000..af280168
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_4.ipynb
@@ -0,0 +1,232 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3cb8b8fdc520e3f251797ccdf611bc794aa673624b9c79bd4319b62d207fbf87"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 17 , Thyristors"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.1 , Page Number 379"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "I = 40 #Current (in milli-Ampere)\n",
+ "t = 15 * 10**-3 #time (in seconds)\n",
+ "CFS = 93 #Circuit fusing rate (in Ampere-square second)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "SCR = I**2 * t #Surge in the device (in Ampere-square second) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Since value of SCR i.e. \",SCR,\" A**2s is less than CFS i.e. \",CFS,\" A**2s.\"\n",
+ "print \"Therefore the device will not be destroyed.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Since value of SCR i.e. 24.0 A**2s is less than CFS i.e. 93 A**2s.\n",
+ "Therefore the device will not be destroyed.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.2 , Page Number 379"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "SCR = I2t = 75.0 #SCR (in Ampere-square second)\n",
+ "IS = 100.0 #Current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "tmax = I2t / IS**2 #Maximum allowable time (in seconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum allowable time is \",tmax * 10**3,\" ms.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum allowable time is 7.5 ms.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.3 , Page Number 385"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VD = 0.7 #Voltage (in volts)\n",
+ "n = 0.75 #Intrinsic stand-off ratio\n",
+ "VBB = 12 #Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VP = n * VBB + VD #Peak-point voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Peak - point voltage of the circuit is \",VP,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Peak - point voltage of the circuit is 9.7 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.4 , Page Number 385"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "rB1 = 4.0 #Resistance (in kilo-ohm)\n",
+ "rB2 = 2.5 #Resistance (in kilo-ohm)\n",
+ "VBB = 15.0 #Base voltage (in volts)\n",
+ "VD = 0.7 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "n = rB1 / (rB1 + rB2) #Intrinsic stand-off ratio\n",
+ "VP = n * VBB + VD #Peak-point voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Intrinsic stand off ratio is \",round(n,4),\".\\nPeak-point voltage is \",round(VP), \"V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Intrinsic stand off ratio is 0.6154 .\n",
+ "Peak-point voltage is 10.0 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.5 , Page Number 385"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "n = 0.60 #Intrinsic stand-off ratio\n",
+ "rBB = 7.0 #Base- Bulk resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rB1 = n * rBB #Resistance (in ohm)\n",
+ "rB2 = rBB - rB1 #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Static values of rB1 is \",rB1,\" kilo-ohm and of rB2 is \",rB2,\" kilo-ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Static values of rB1 is 4.2 kilo-ohm and of rB2 is 2.8 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_4.ipynb
new file mode 100644
index 00000000..b30b4176
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_4.ipynb
@@ -0,0 +1,631 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:398dcff950c67b00555f24b637405121303e07cac0f80c5eade231735344738f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 19 , Rectifiers and Filters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.1 , Page Number 430"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1 = 230.0 #Primary voltage (in volts)\n",
+ "N2byN1 = 1.0/10 #Turns ratio\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V2 = V1 * N2byN1 #Secondary voltage (in ratio)\n",
+ "Vm = 2**0.5 * V2 #Maximum value of secondary voltage (in volts)\n",
+ "Vdc = 0.318 * Vm #dc output voltage (in volts)\n",
+ "PIV = Vm #Peak inverse voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"dc output voltage is \",round(Vdc,1),\" V.\\nPIV of the diode is \",round(PIV,1),\" V.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "dc output voltage is 10.3 V.\n",
+ "PIV of the diode is 32.5 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.2 , Page Number 431"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RL = 20 #Load resistance (in kilo-ohm)\n",
+ "V2 = 24 #Secondary voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vm = 2**0.5 * V2 #Maximum value of secondary voltage (in volts)\n",
+ "Im = Vm / RL #Maximumj value of load current (in milli-Ampere)\n",
+ "Idc = 0.318 * Im #dc current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of dc load current is \",round(Idc,3),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of dc load current is 0.54 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.3 , Page Number 431"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1 = 230 #Primary voltage (in volts)\n",
+ "N2byN1 = 1.0/2.0 #Turns ratio\n",
+ "RL = 200 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V2 = V1 * N2byN1 #Secondary voltage (in volts)\n",
+ "Vm = 2**0.5 * V2 #Maximum value of secondary voltage (in volts)\n",
+ "Im = Vm / RL #Maximum value of load current (in Ampere)\n",
+ "Pm = Im**2 * RL #Maximum value of load power (in watt)\n",
+ "Vdc = 0.318 * Vm #Average value of load power (in watt)\n",
+ "Idc = Vdc / RL #Average value of load current (in Ampere)\n",
+ "Pdc = Idc**2 * RL #Average value of load power (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum value of load power is \",round(Pm,1),\" W.\"\n",
+ "print \"Average value of load power is \",round(Pdc,1),\" W.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum value of load power is 132.3 W.\n",
+ "Average value of load power is 13.4 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.4 , Page Number 432"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vdc = 30.0 #Average value of voltage (in volts)\n",
+ "RL = 600.0 #Load resistance (in ohm)\n",
+ "Rf = 25.0 #forward resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Idc = Vdc / RL #Average value of load current (in Ampere)\n",
+ "Im = round(math.pi * Idc,3) #Maximum value of load current (in Ampere) \n",
+ "Vinmax = Im * (Rf + RL) #Maximum a.c. voltage required at the input (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum a.c. voltage required at the input is \",Vinmax,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum a.c. voltage required at the input is 98.125 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.5 , Page Number 436"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V2 = 30.0 #secondary voltage (in volts)\n",
+ "RL = 5.1 #Load resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VS = V2 / 2 #Voltage between center - tap and either end of secondary winding (in volts)\n",
+ "Vm = 2**0.5 * VS #maximum value of voltage (in volts)\n",
+ "Vdc = 0.636 * Vm #dc output voltage (in volts)\n",
+ "Idc = Vdc / RL #dc load current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The dc output voltage is \",round(Vdc,1),\" V.\\nThe dc output current is \",round(Idc,3),\" mA.\" \n",
+ "\n",
+ "#Slight variation in value of Idc due to less precision used in book"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The dc output voltage is 13.5 V.\n",
+ "The dc output current is 2.645 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.6 , Page Number 440"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1 = 230.0 #primary voltage (in volts)\n",
+ "N2byN1 = 1.0/4.0 #Turns ratio\n",
+ "RL = 200 #Load resistance (in ohm)\n",
+ "fin = 50 #Frequency (in hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V2 = V1 * N2byN1 #Secondary voltage (in volts)\n",
+ "Vm = 2**0.5 * V2 #Maximum value of voltage (in volts)\n",
+ "Vdc = 0.636 * Vm #Average value of voltage (in volts)\n",
+ "PIV = Vm #peak inverse voltage (in volts)\n",
+ "fout = 2 * fin #Output frequency (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The dc output voltage is \",round(Vdc,1),\" V.\\nPeak inverse Voltage of a diode is \",round(PIV,1),\" V.\\nOutput frequency is \",fout,\" HZ.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The dc output voltage is 51.7 V.\n",
+ "Peak inverse Voltage of a diode is 81.3 V.\n",
+ "Output frequency is 100 HZ.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.7 , Page Number 444"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1 = 230.0 #primary voltage (in volts)\n",
+ "N2byN1 = 1.0/5.0 #Turns ratio\n",
+ "RL = 100 #Load resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V2 = V1 * N2byN1 #Secondary voltage (in volts)\n",
+ "VS = V2 / 2 #Voltage between center - tap and either end of secondary winding (in volts)\n",
+ "Vm = 2**0.5 * VS #Maximum value of voltage (in volts)\n",
+ "Vdc = 2/math.pi * Vm #Averaage value of Voltage (in volts)\n",
+ "PIV = 2 * Vm #Peak inverse voltage (in volts)\n",
+ "n = 0.812 #Efficiency of full wave rectifier\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The dc output voltage is \",round(Vdc,1),\" V.\\nPeak inverse voltage is \",round(PIV),\" V.\\nRectification efficiency is \",n,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The dc output voltage is 20.7 V.\n",
+ "Peak inverse voltage is 65.0 V.\n",
+ "Rectification efficiency is 0.812 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.8 , Page Number 445"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 200 #Voltage between center - tap and either end of secondary winding (in volts)\n",
+ "Imax = 700 #Maximum value of current (in milli-Ampere)\n",
+ "Iavg = 250 #Average value of current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Imax1 = 0.8 * Imax #Maximum value of current for normal operation (in milli-Ampere)\n",
+ "Vm = 2**0.5 * VS #Maximum value of voltage (in volts)\n",
+ "RL = Vm / Imax1 #Load resistance (in kilo-ohm)\n",
+ "Vdc = 2 * Vm / math.pi #Average value of voltage (in volts)\n",
+ "Idc = Vdc / RL #Average value of current (in milli-Ampere)\n",
+ "PIV = 2 * Vm #peak Inverse voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of load resistor is \",round(RL,3), \"kilo-ohm.\\nThe dc load voltage and current is \",round(Vdc),\" V and \",Idc,\" mA.\\nPeak inverse voltage is \",round(PIV,2),\" V.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of load resistor is 0.505 kilo-ohm.\n",
+ "The dc load voltage and current is 180.0 V and 356.507072526 mA.\n",
+ "Peak inverse voltage is 565.69 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.9 , Page Number 449"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vs = 150.0 #Voltage (in volts)\n",
+ "Idc = 2.0 #Average value of current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vdc = 2.34 * Vs #Average calue of voltage (in volts)\n",
+ "Ipi = 1/0.955 * Idc #Peak current per diode (in Ampere)\n",
+ "Iavg = 2.0/3.0 #Average current per diode (in AMpere)\n",
+ "Pdc = Vdc * Idc #Average power delievered to the load (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of Vdc is \",Vdc,\" V.\\nPeak current through each diode is \",round(Ipi,1),\" A.\\nAverage current through each diode is\",round(Iavg,2),\" A.\\nAverage power delievered to the load is \",Pdc,\" W.\"\n",
+ "\n",
+ "#Calculation error in calculating the value of Pdc in book. It's value is 702 but printed value is 701 watt. "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Vdc is 351.0 V.\n",
+ "Peak current through each diode is 2.1 A.\n",
+ "Average current through each diode is 0.67 A.\n",
+ "Average power delievered to the load is 702.0 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.10 , Page Number 454"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Case (a):\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "f = 50.0 #Frequency (in Hertz)\n",
+ "g = 0.05 #Ripple factor\n",
+ "RL = 100.0 #Resistance (in ohm)\n",
+ "w = 2 * math.pi * f #Angular frequency (in radians per second) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = RL / (3 * 2**0.5 * w * g) #Inductance (in Henry) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of inductance is \",round(L,1),\" H.\"\n",
+ "\n",
+ "#Case (b):\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "f = 400.0 #Frequency (in Hertz)\n",
+ "g = 0.05 #Ripple factor\n",
+ "RL = 100.0 #Resistance (in ohm)\n",
+ "w = 2 * math.pi * f #Angular frequency (in radians per second) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = RL / (3 * 2**0.5 * w * g) #Inductance (in Henry) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"New Value of inductance is \",round(L,3),\" H.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of inductance is 1.5 H.\n",
+ "New Value of inductance is 0.188 H.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.11 , Page Number 455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vdc = 30.0 #Average value of voltage (in volts)\n",
+ "RL = 1.0 #Resistance (in kilo-ohm)\n",
+ "gamma = 0.01 #Ripple factor\n",
+ "f = 50 #Frequency (in Hertz)\n",
+ "#Calculation\n",
+ "\n",
+ "C = 2890.0 / (gamma * RL) #Capacitance (in nano Farad)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of capacitance is \",C * 10**-3,\" micro-Farad.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of capacitance is 289.0 micro-Farad.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.12 , Page Number 456 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vdc = 12.0 #Average value of voltage (in volts)\n",
+ "Idc = 100.0 #Average value of current (in milli-Ampere) \n",
+ "gamma = 0.01 #Ripple factor\n",
+ "L = 1.0 #Inductance (in Henry) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = 1.195 / (gamma * L) #Capacitance\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Capacitance is \",C,\" micro-Farad.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Capacitance is 119.5 micro-Farad.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.13 , Page Number 457"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Idc = 0.2 #Average value of current (in Ampere)\n",
+ "Vdc = 30.0 #Average value of voltage (in volts)\n",
+ "C1 = C2 = 100.0 #Capacitance (in milli-Farad)\n",
+ "L = 5.0 #Inductance (in Henry)\n",
+ "f = 50.0 #Frequency (in Hertz) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RL = Vdc / Idc #Load resistance (in ohm)\n",
+ "gamma = 5700.0 / (C1 * C2 * RL * L) #Ripple factor\n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Ripple factor for 50 Hz supply is \",gamma,\".\"\n",
+ "\n",
+ "#Correction to be done in the formula for ripple factor used in the question. \n",
+ "#gamma = 5700 / (c1 * C2 * RL * L) --> right formula."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ripple factor for 50 Hz supply is 0.00076 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_4.ipynb
new file mode 100644
index 00000000..1f38d9f5
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_4.ipynb
@@ -0,0 +1,1073 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3f6f8c6aa40baa220c4ea0b8e7685dc9b0e8f03f18d988b32da3acf61ee85875"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 20 , Regulated Power Supplies"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.1 , Page Number 466"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "dVL = 100.0 * 10**-6 #Change in output voltage (in volts)\n",
+ "dVin = 5.0 #Change in input voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "LR = dVL / dVin #Line regulation (in volt per volt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of line regulation is \",LR * 10**6,\" micro-volt/volt.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of line regulation is 20.0 micro-volt/volt.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.2 , Page Number 466"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "LR = 1.4 #Line regulation (in micro-volt per volt) \n",
+ "dVS = 10 #Change in source voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "dVL = LR * dVS #Change in output voltage (in micro-volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The change in output voltage is \",dVL,\" micro-volt.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The change in output voltage is 14.0 micro-volt.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.3 , Page Number 466"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "dIL = 40.0 #Change in current (in milli-Ampere)\n",
+ "VNL = 8.0 #Voltage under no load (in volts)\n",
+ "VFL = 7.995 #Voltage under full load (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "LR = (VNL - VFL)/ dIL #Line regulation (in milli-volt per milli-Ampere) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Line regulation is \",LR * 10**3,\"mV/mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Line regulation is 0.125 mV/mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.4 , Page Number 467"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "LR = 10.0 #Load regulation (in micro-volt per milli-Ampere)\n",
+ "VNL = 5.0 #No load Voltage (in volts)\n",
+ "dIL = 20.0 #Change in current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VFL = VNL - LR * dIL * 10**-6 #Full load Voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Full load Voltage is \",VFL,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Full load Voltage is 4.9998 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.5 , Page Number 467"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V0 = 10 #Regulated dc supply (in volts)\n",
+ "LR = 0.00002 #Line regulation \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "dV = LR * V0 #Change in output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Change in output voltage is \",dV * 10**3,\" mV.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Change in output voltage is 0.2 mV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.6 , Page Number 468"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 30.0 #Source voltage (in volts)\n",
+ "RS = 240.0 #Series resistance (in ohm)\n",
+ "Vz = 12.0 #Zener voltage (in volts)\n",
+ "RL = 500.0 #Load resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VL = Vz #Voltage drop across load (in volts)\n",
+ "IS = (VS - Vz) / RS #Current through RS (in Ampere)\n",
+ "VRS = IS * RS #Voltage drop across series resistance (in volts)\n",
+ "IL = VL / RL #Load current (in Ampere)\n",
+ "IZ = IS - IL #Zener current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Load voltage is \",VL,\" V.\\nVoltage drop across series resistance is \",VRS,\" V.\\nCurrent through Zener diode is \",IZ,\" A.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load voltage is 12.0 V.\n",
+ "Voltage drop across series resistance is 18.0 V.\n",
+ "Current through Zener diode is 0.051 A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.7 , Page Number 470"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VZ = 5.1 #Voltage across zener diode (in volts)\n",
+ "rZ = 10 #Zener diode resistance (in ohm)\n",
+ "IZmin = 1 * 10**-3 #Minimum zener diode current (in Ampere)\n",
+ "IZmax = 15 * 10**-3 #Maximum zener diode current (in Ampere)\n",
+ "RS = 600 #Serier resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VOmin = VZ + IZmin * rZ #Minimum value of output voltage (in volts)\n",
+ "VSmin = IZmin * RS + VOmin #Minimum value of input voltage (in volts)\n",
+ "VOmax = VZ + IZmax * rZ #Maximum value of output voltage (in volts)\n",
+ "VSmax = IZmax * RS + VOmax #Maximum value of input voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Minimum value of input voltage is \",VSmin,\" V.\\nMaximum value of input voltage is \",VSmax,\" V.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum value of input voltage is 5.71 V.\n",
+ "Maximum value of input voltage is 14.25 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.8 , Page Number 470"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 24.0 #Source voltage (in volts)\n",
+ "RS = 500.0 #Series resistance (in ohm)\n",
+ "VZ = 12.0 #Zener Voltage (in volts)\n",
+ "IZmin = 3.0 #Minimum Zener current (in milli-Ampere)\n",
+ "IZmax = 90.0 #Maximum Zener current (in milli-Ampere)\n",
+ "rZ = 0.0 #Zener resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IS = (VS - VZ) / RS #Current through RS (in Ampere)\n",
+ "ILmax = IS - IZmin * 10**-3 #Maximum value of load Current (in Ampere) \n",
+ "RLmin = VZ / ILmax #Minimum value of Load resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Minimum value of load resistance is \",round(RLmin),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum value of load resistance is 571.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.9 , Page Number 471"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VZ = 10.0 #Zener voltage (in volts)\n",
+ "RS = 1.0 #Series Resistance (in kilo-ohm) \n",
+ "RL = 2.0 #Load Resistance (in kilo-ohm)\n",
+ "VSmin = 22.0 #Minimum source voltage (in volts) \n",
+ "VSmax = 40 #Maximum source voltage (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IL = VZ / RL #Load current (in milli-Ampere)\n",
+ "IZmax = (VSmax - VZ) / RS - IL #Maximum value of zener current (in milli-Ampere)\n",
+ "IZmin = (VSmin - VZ) / RS - IL #Minimum value of zener current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum value of zener current is \",IZmax,\" mA.\\nMinimum value of zener current is \",IZmin,\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum value of zener current is 25.0 mA.\n",
+ "Minimum value of zener current is 7.0 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.10 , Page Number 472"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VZ = 10.0 #Zener voltage (in volts)\n",
+ "VSmin = 13.0 #Minimum source voltage (in volts)\n",
+ "VSmax = 16.0 #Maximum source voltage (in volts)\n",
+ "ILmin = 10.0 #Minimum load current (in milli-Ampere)\n",
+ "ILmax = 85.0 #Maximum load current (in milli-Ampere)\n",
+ "IZmin = 15.0 #Minimum zener current (in milli-Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RSmax = (VSmin - VZ)/ (IZmin + ILmax) #Maximum value of RS (in kilo-ohm)\n",
+ "IZmax = (VSmax - VZ)/ RSmax - ILmin #Maximum zener current (in milli-Ampere)\n",
+ "PZmax = IZmax * 10**-3 * VZ #Maximum power dissipation in zener (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum value of RS is \",RSmax * 10**3,\" ohm.\\nMaximum power dissipation be the zener diode is \",PZmax,\" W.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum value of RS is 30.0 ohm.\n",
+ "Maximum power dissipation be the zener diode is 1.9 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.11 , Page Number 473"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VSmin = 19.5 #Minimum source voltage (in volts)\n",
+ "VSmax = 22.5 #Maximum source voltage (in volts)\n",
+ "RL = 6.0 * 10**3 #Load resistance (in ohm)\n",
+ "VZ = 18.0 #Zener voltage (in volts)\n",
+ "IZmin = 2.0 * 10**-6 #Minimum zener current (in Ampere)\n",
+ "PZmax = 60.0 * 10**-3 #Maximum power dissipation (in watt)\n",
+ "rZ = 20.0 #Zener resistance (in ohm)\n",
+ "VL = VZ #Voltage across load resistance (in volt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IZmax = (PZmax / rZ)**0.5 #Maximum value of zener current (in milli-Ampere)\n",
+ "IL = VL / RL #Load current (in milli-Ampere)\n",
+ "RSmax = (VSmin - VZ) / (IZmin + IL) #Maximum value of regulating resistance (in kilo-ohm) \n",
+ "RSmin = (VSmax - VZ) / (IZmax + IL) #Minimum value of regulating resistance (in kilo-ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Magnitude of regulating resistance should be between \",round(RSmin,1),\" ohm and \",round(RSmax),\" ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Magnitude of regulating resistance should be between 77.9 ohm and 500.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.12 , Page Number 473"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VSmin = 8.0 #Minimum source voltage (in volts)\n",
+ "VSmax = 12 #Maximum source voltage (in volts)\n",
+ "RS = 2.2 #Resistance (in kilo-ohm)\n",
+ "VZ = 5.0 #Zener voltage (in volts)\n",
+ "RL = 10.0 #Load resistance (in kilo-ohm)\n",
+ "VL = VZ #Voltage across load (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ISmin = (VSmin - VZ)/ RS #Minimum value of input current (in milli-Ampere)\n",
+ "ISmax = (VSmax - VZ)/RS #Maximum value of input current (in milli-Ampere) \n",
+ "IL = VL / RL #Load current (in milli-Ampere)\n",
+ "IZmin = ISmin - IL #Minimum Zener current (in milli-Ampere)\n",
+ "IZmax = ISmax - IL #Maximum Zener current (in milli-Ampere) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Minimum value of Zener current is \",round(IZmin,3),\" mA.\\nMaximum value of Zener current is \",round(IZmax,3),\" mA.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum value of Zener current is 0.864 mA.\n",
+ "Maximum value of Zener current is 2.682 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.13 , Page Number 474"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VO = VL = 5.0 #Output voltage (in volts)\n",
+ "IL = 20.0 #Load current (in milli-Ampere)\n",
+ "PZmax = 500.0 #Maximum power dissipation in zener (in milli-watt)\n",
+ "VSmin = 9.0 #Minimum source voltage (in volts)\n",
+ "VSmax = 15.0 #Maximum source voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IZmax = PZmax / VZ #Maximum zener current (in milli-Ampere)\n",
+ "ISmax = IL + IZ #Maximum input current (in milli-Ampere)\n",
+ "RSmin = (VSmax - VZ)/(IZmax + IL) #Minimum value of regulating resistance (in kilo-ohm)\n",
+ "IZ = (VSmin - VZ)/ RSmin - IL #Minimum value of zener current \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input varies from the normal 12 v within the range of +- 3 V.\"\n",
+ "print \"Zener current vary from \",IZ,\" mA to \",IZmax,\" mA.\"\n",
+ "print \"For safety purpose RS should be 220 ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input varies from the normal 12 v within the range of +- 3 V.\n",
+ "Zener current vary from 28.0 mA to 100.0 mA.\n",
+ "For safety purpose RS should be 220 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.14 , Page Number 475"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RS = 500.0 #Series resistance (in ohm)\n",
+ "RL = 1.0 #Load resistance (in kilo-ohm) \n",
+ "VZ = 10.0 #Zener voltage (in volts)\n",
+ "IZmin = 5.0 #Minimum Zener current (in milli-Ampere)\n",
+ "IZmax = 55.0 #Maximum Zener current (in milli-Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IL = VZ / RL #Load current (in milli-Ampere) \n",
+ "VSmin = (IL + IZmin) * RS * 10**-3 + VZ #Minimum value of input voltage (in volts)\n",
+ "VSmax = (IL + IZmax) * RS * 10**-3 + VZ #Maximum value of input voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The minimum value of voltage level at input is \",VSmin,\" V and the maximum is \",VSmax,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimum value of voltage level at input is 17.5 V and the maximum is 42.5 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.15 , Page Number 476"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 15.0 #Input voltage (in volts)\n",
+ "RS = 33.0 #Series resistance (in ohm)\n",
+ "beta = 100.0 #common-emitter current gain \n",
+ "RL = 100.0 #Load resistance (in ohm)\n",
+ "VZ = 10.0 #Voltage across zener diode (in volts) \n",
+ "VBE = 0.7 #Voltage across base and emitter\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VL = VZ + VBE #Load voltage (in volts)\n",
+ "IL = VL / RL #Load current (in Ampere)\n",
+ "IS = (VS - VL) / RS #Current through RS (in Ampere)\n",
+ "IC = IS - IL #Collector current (in Ampere)\n",
+ "IB = IZ = IC/beta #Base current (in Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Load voltage is \",VL,\" V.\"\n",
+ "print \"Load current is \",IL * 10**3,\" mA.\"\n",
+ "print \"Current through Rs is \",round(IS * 10**3,1),\" mA.\"\n",
+ "print \"Collector current is \",round(IC* 10**3,1),\" mA.\"\n",
+ "print \"Base current is \",round(IB * 10**6),\" micro-A.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load voltage is 10.7 V.\n",
+ "Load current is 107.0 mA.\n",
+ "Current through Rs is 130.3 mA.\n",
+ "Collector current is 23.3 mA.\n",
+ "Base current is 233.0 micro-A.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.16 , Page Number 478"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 15.0 #Input voltage (in volts)\n",
+ "VZ = 8.3 #Zener voltage (in volts)\n",
+ "beta = 100.0 #Common-emitter current gain\n",
+ "R = 1.8 #Resistance (in kilo-ohm)\n",
+ "RL = 2.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Voltage across base-emitter junction (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VL = VZ - VBE #Voltage across load (in volts)\n",
+ "VCE = VS - VL #Collector to emitter voltage (in volts)\n",
+ "IR = (VS - VZ)/ R #Current through R (in milli-Ampere)\n",
+ "IL = VL / RL #Load current (in milli-Ampere)\n",
+ "IB = IL / beta #Base current (in milli-Ampere) \n",
+ "IZ = IR - IB #Current through Zener (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Load voltage is \",VL,\" V.\"\n",
+ "print \"Collector to Emitter voltage is \",VCE,\" V.\"\n",
+ "print \"Current through R is \",round(IR,2),\" mA.\"\n",
+ "print \"Load current is \",IL,\" mA.\"\n",
+ "print \"Base current is \",IB * 10**3,\" micro-A.\"\n",
+ "print \"Current through Zener is \",round(IZ,2),\" mA.\"\n",
+ "\n",
+ "#Calculation error in book in the value of beta and in IB and IZ."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load voltage is 7.6 V.\n",
+ "Collector to Emitter voltage is 7.4 V.\n",
+ "Current through R is 3.72 mA.\n",
+ "Load current is 3.8 mA.\n",
+ "Base current is 38.0 micro-A.\n",
+ "Current through Zener is 3.68 mA.\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.17 , Page Number 479"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IZmin = 0 #Minimun Zener current (in Ampere)\n",
+ "ILmax = 2.0 #Maximum load current (in Ampere)\n",
+ "VL = 12.0 #Voltage across load (in volts)\n",
+ "VSmin = 15.0 #Minimum Input voltage (in volts)\n",
+ "VSmax = 20.0 #Maximum Input Voltage (in volts)\n",
+ "beta = 100 #common emitter current gain\n",
+ "VBE = 0.5 #Voltage between base-emitter junction (in volts)\n",
+ "VZ = 12.5 #Voltage across zener diode (in volts)\n",
+ "IZmin = 1.0 * 10**-3 #Current through Zener diode \n",
+ "ICmax = ILmax #Maximum Collector current (in Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IBmax = ICmax / beta #Maximum collector current\n",
+ "IR = IBmax + IZmin #Current through resistance R (in Ampere)\n",
+ "Rmax = (VSmin - VZ)/ IR #Maximum value of resistance R (in ohm)\n",
+ "IZmax = (VSmax - VZ)/ Rmax #Maximum value of Zener current (in Ampere)\n",
+ "PZmax = VZ * IZmax #Maximum power dissipation in Zener Diode (in watt)\n",
+ "PRmax = (VSmax - VZ) * IZmax #Maximum power dissipated in Resistance R (in watt)\n",
+ "VCEmax = VSmax - VL #Maximum value of collector-to-emitter voltage (in volts) \n",
+ "PDmax = VCEmax * ILmax #Maximum power dissipation of the transistor (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum value of R is \",round(Rmax),\" ohm.\\nMaximum power dissipation of the zener diode is \",round(PZmax,2),\" W.\\nMaximum power dissipation of resistance R is \",round(PRmax,2),\" W.\\nMaximum power dissipation of the transistor is \",PDmax,\" W.\"\n",
+ "\n",
+ "#Correction to be done in the formula used for IZmax in the book.Correct approach is used in the solved example here. "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum value of R is 119.0 ohm.\n",
+ "Maximum power dissipation of the zener diode is 0.79 W.\n",
+ "Maximum power dissipation of resistance R is 0.47 W.\n",
+ "Maximum power dissipation of the transistor is 16.0 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.18 , Page Number 481"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VL = 12.0 #Voltage across load (in volts)\n",
+ "IL = 200.0 #Load current (in milli-Ampere)\n",
+ "VS = 30.0 #Source voltage (in volts)\n",
+ "RS = 10.0 #Series resistance (in ohm)\n",
+ "beta1 = hfe1 = 150.0 #common-emitter current gain 1\n",
+ "beta2 = hfe2 = 100.0 #common-emitter current gain 2\n",
+ "IC1 = 10.0 #Collector current (in milli-Ampere)\n",
+ "VBE1 = 0.7 #Emitter-to-Base voltage1 (in volts)\n",
+ "VBE2 = 0.7 #Emitter-to-Base voltage2 (in volts)\n",
+ "VZ = VR = 6.0 #Voltage across zener diode (in volts)\n",
+ "RZ = 10.0 #Resistance of zener diode (in ohm)\n",
+ "IZ = 20.0 #Current through zener diode (in milli-Ampere)\n",
+ "ID = 10.0 * 10**-3 #Current (in Ampere) \n",
+ "I1 = 10.0 * 10**-3 #Current (in Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RD = (VL - VZ) / ID #Resistance (in ohm)\n",
+ "V2 = VZ + VBE2 #Voltage (in volts)\n",
+ "R1 = (VL - V2)/I1 #Value of resistance R1 (in ohm)\n",
+ "R2 = R1 * (V2 / (VL - V2)) #Value of resistance R2 (in ohm)\n",
+ "IB1 = (IL + I1 + ID) / beta1 #Base Current IB1 (in Ampere)\n",
+ "I = IB1 + IC1 #Current through resistance R3 (in Ampere)\n",
+ "R3 = (VS - (VBE1 + VL))/I #Value of resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of Resistance RD is \",RD,\" ohm.\\nValue of Resistance R1 and R2 is \",R1,\" ohm and \",R2,\" ohm.\"\n",
+ "print \"Value of Resistance R3 is \",round(R3,1),\" kilo-ohm.\"\n",
+ "\n",
+ "#Error in the formula used for R1 in book. Correct formula is used here."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of Resistance RD is 600.0 ohm.\n",
+ "Value of Resistance R1 and R2 is 530.0 ohm and 670.0 ohm.\n",
+ "Value of Resistance R3 is 1.5 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.19 , Page Number 484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VS = 25.0 #Source voltage (in volts)\n",
+ "VZ = 15.0 #Zener voltage (in volts)\n",
+ "RL = 1.0 #Load resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base voltage (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vout = VZ/2 + VBE #Output voltage (in volts)\n",
+ "IL = Vout / RL #Load current (in milli-Ampere)\n",
+ "IE1 = IL #Current (in milli-Ampere)\n",
+ "VCE1 = VS - Vout #Collector-To-Emitter voltage (in volts)\n",
+ "P1 = VCE1 * IE1 #Power dissipated (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Vout is \",Vout,\" V.\\nIL is \",IL,\" mA.\\nIE1 is \",IE1,\" mA.\\nP1 is \",P1,\" W.\"\n",
+ "\n",
+ "#Calculation error in book for the value of P1."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Vout is 8.2 V.\n",
+ "IL is 8.2 mA.\n",
+ "IE1 is 8.2 mA.\n",
+ "P1 is 137.76 W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.20 , Page Number 492"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IADJ = 100.0 * 10**-6 #Current (in Ampere)\n",
+ "Vin = 35.0 #Input voltage (in volts)\n",
+ "R1 = 220.0 #Resistance1 (in ohm)\n",
+ "R2min = 0 #Resistance2 minimum (in ohm)\n",
+ "R2max = 5.0 * 10**3 #Resistance2 maximum (in ohm)\n",
+ "VREF = 1.25 #Reference voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Voutmin = VREF * (R2min/R1 + 1) + IADJ * R2min #Minimum output voltage (in volts)\n",
+ "Voutmax = VREF * (R2max/R1 + 1) + IADJ * R2max #Maximum output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum output voltage is \",round(Voutmax,2),\" V.\\nMinimum output voltage is \",Voutmin,\" V.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum output voltage is 30.16 V.\n",
+ "Minimum output voltage is 1.25 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.21 , Page Number 492"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 220.0 #Resistance1 (in ohm)\n",
+ "R2 = 1.5 * 10**3 #Resistance2 (in ohm)\n",
+ "VREF = 1.25 #Reference voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vo = VREF * (R2/R1 + 1) #Regulated dc output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Regulated dc output voltage is \",round(Vo,2),\" V.\"\n",
+ "\n",
+ "#Calculation error in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Regulated dc output voltage is 9.77 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.22 , Page Number 493"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 240.0 #Resistance1 (in ohm)\n",
+ "R2 = 2.4 * 10**3 #Resistance2 (in ohm)\n",
+ "VREF = 1.25 #Reference voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vo = VREF * (R2/R1 + 1) #Regulated dc output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Regulated dc output voltage is \",Vo,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Regulated dc output voltage is 13.75 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_4.ipynb
new file mode 100644
index 00000000..e1d036bc
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_4.ipynb
@@ -0,0 +1,314 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d0d488692d13bd6f786a59c53f9573140cae873125a1ba8e4603dff4ff8f4e4f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 21 , Controlled Rectifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.1 , Page Number 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RL = 100.0 #Resistance (in ohm)\n",
+ "Vm = 300.0 #Maximum voltage (in volts) \n",
+ "P1 = 25.0 #Load power1 (in watt)\n",
+ "P2 = 80.0 #Load power2 (in watt)\n",
+ "\n",
+ "#Calculation \n",
+ "\n",
+ "Vdc = Vm / (2 * math.pi) #dc voltage (in volts)\n",
+ "#When power is 25 watt\n",
+ "cosinealpha = (P1 * RL / Vdc**2)**0.5 -1 #cos of alpha \n",
+ "alpha = math.acos(cosinealpha) #Value of alpha (in radians)\n",
+ "\n",
+ "#When power is 80 watt\n",
+ "cosinealpha1 = (P2 * RL / Vdc**2)**0.5 -1 #cos of alpha \n",
+ "alpha1 = math.acos(cosinealpha1) #Value of alpha (in radians)\n",
+ "#Result\n",
+ "\n",
+ "print \"Angular firing control when load power P = 25 W is \",round(alpha * 180.0 / math.pi,2),\" degree.\\nAngular firing control when load power P = 80 W is \",round(alpha1 * 180.0 / math.pi,2),\" degree.\"\n",
+ "\n",
+ "#Calculation difference in value of cosinealpha from book due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Angular firing control when load power P = 25 W is 87.29 degree.\n",
+ "Angular firing control when load power P = 80 W is 29.16 degree.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.2 , Page Number 509"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vm = 200.0 #maximum voltage (in volts)\n",
+ "RL = 1.0 #Resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#When alpha = 0 degree\n",
+ "Vdc = 0.318 * Vm #dc voltage (in volts)\n",
+ "Idc = Vdc / RL #dc Current (in milli-Ampere)\n",
+ "P = Vdc * Idc #Power (in milli-watt) \n",
+ "\n",
+ "#When alpha = 45 degree \n",
+ "Vdc1 = 0.27 * Vm #dc voltage1 (in volts)\n",
+ "Idc1 = Vdc1 / RL #dc current1 (in milli-Ampere)\n",
+ "P1 = Vdc1 * Idc1 #Power1 (in milli-watt)\n",
+ "\n",
+ "#When alpha = 90 degree\n",
+ "Vdc2 = 0.159 * Vm #dc voltage2 (in volts)\n",
+ "Idc2 = Vdc2 / RL #dc current2 (in milli-Ampere)\n",
+ "P2 = Vdc2 * Idc2 #Power2 (in milli-watt)\n",
+ "\n",
+ "#When alpha = 135 degree\n",
+ "Vdc3 = 0.0466 * Vm #dc voltage3 (in volts)\n",
+ "Idc3 = Vdc3 / RL #dc current3 (in milli-Ampere)\n",
+ "P3 = Vdc3 * Idc3 #Power3 (in milli-watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power delivered when alpha = 0 degree is \",round(P),\" mW.\\nPower delivered when alpha = 45 degree is \",P1,\" mW.\\nPower delivered when alpha = 90 degree is \",round(P2),\" mW.\\nPower delivered when alpha = 135 degree is \",round(P3,2),\" mW.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power delivered when alpha = 0 degree is 4045.0 mW.\n",
+ "Power delivered when alpha = 45 degree is 2916.0 mW.\n",
+ "Power delivered when alpha = 90 degree is 1011.0 mW.\n",
+ "Power delivered when alpha = 135 degree is 86.86 mW.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.3 , Page Number 513"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vrms = 220.0 #rms voltage (in volts)\n",
+ "alpha = 60.0 #Firing angle (in degree) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "alpharad = alpha * math.pi/180.0 #Firing angle (in radians) \n",
+ "Vm = 2**0.5 * Vrms #Maximum or Peak voltage (in volts)\n",
+ "Vdc = Vm /(2 * math.pi)*(1 + math.cos(alpharad)) #dc output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The d.c. output voltage is \",round(Vdc,2),\" V.\"\n",
+ "\n",
+ "#Slight variation in answer due to higher precision"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The d.c. output voltage is 74.28 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.4 , Page Number 513"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Idc = 0.5 #dc current (in Ampere)\n",
+ "Vrms = 100.0 #Rms voltage (in volts)\n",
+ "alpha = 45.0 #Firing angle (in degree) \n",
+ "Idc = 0.5 #dc current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "alpharad = alpha * math.pi / 180.0 #Firing angle (in radians)\n",
+ "Vm = 2**0.5 * Vrms #Peak voltage (in volts) \n",
+ "Vdc = Vm / (2 * math.pi)*(1 + math.cos(alpharad)) #Average voltage (in volts)\n",
+ "RL = Vdc / Idc #Load resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of resistance to limit the average current to 0.5 A is \",round(RL,2),\" ohm.\"\n",
+ "\n",
+ "#Slight variation in answer due to higher precision"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistance to limit the average current to 0.5 A is 76.85 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.5 , Page Number 520"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "TON = 30.0 #Chopper ON time (in milli-second)\n",
+ "TOFF = 10.0 #Chopper OFF time (in milli-second) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = TON + TOFF #Total time (in milli-second)\n",
+ "cdc = TON / T #Chopper duty cycle\n",
+ "f = 1 / T #Chopping frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Chopper duty cycle is \",cdc,\".\\nChopping frequency is \",f * 10**3,\" Hz.\"\n",
+ "\n",
+ "#Correction to be done in book , the units mentioned are milli-Ampere but in the calculation it used micro-Ampere."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Chopper duty cycle is 0.75 .\n",
+ "Chopping frequency is 25.0 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.6 , Page Number 520"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "TON = 30.0 #Chopper ON time (in milli-second)\n",
+ "TOFF = 10.0 #Chopper OFF time (in milli-second) \n",
+ "Vdc = 200.0 #dc voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = TON + TOFF #Total time (in milli-second)\n",
+ "cdc = TON / T #Chopper duty cycle\n",
+ "VL = Vdc * cdc #dc output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Average valuye of dc voltage is \",VL,\" V.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Average valuye of dc voltage is 150.0 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_4.ipynb
new file mode 100644
index 00000000..3a6e745d
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_4.ipynb
@@ -0,0 +1,1645 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 22 , BJT Biasing and Stabilization"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.1 , Page Number 527"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of saturation current is 2.0 mA.\n",
+ "The value of cut-off voltage is 20.0 V.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x60d98f0>"
+ ]
+ },
+ "execution_count": 1,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEZCAYAAACXRVJOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8HGWd7/HPN6yyOAEEFMQJCjiDE65hE0HkJPpCAgqK\nDMt4rwnyEowijAuCK7njnUGHITKyCWJUZoCow4AEMCwJR1GvrAFCWAQvKCAisnkihAD53T/q6aTS\ndPepPqer1+/79eoX1dXVVb/TdM5zvk/V85QiAjMzswmdLsDMzLqDGwQzMwPcIJiZWeIGwczMADcI\nZmaWuEEwMzPADYL1MEnfk/TVFu9zpqQbWrnP3L5XSnpjndeGJR2Vlj8k6eoyajBrxA2C9bJIj36w\n6meJiAsj4j0drscGkBsE63XqdAFm/cINgvUMSVMk3Sbpz5LmAes32HaCpC9IeiBtf4uk14/hmHtK\nulnSM5JukvT23GtHSro77f83ko6ueu8Jkn4v6RFJH2nimGt0W6WupmMk/VrS05LOrNr+I6mOp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/fi8C/m/qSvkhsFGdY9X6OfNX\n9cwDTlB2eeUbge8B35J0G9m/nUOAr6efezHw9gY/S94PyH7p57uVPgkcKemO9NrxNerJH3858G2y\n7q4FZLfs02kOAAAAwElEQVRLrDgK+HbqGtoAeDatPx+4G7gtnWg+h/rJ6GJgMrkunIhYDryX7BaX\nv5a0FPgY8ESqcW+tednpwTX2+3Oyk/MNj5XszuqG0drA01+b9RlJG0bEX9LySWT31f1Uh8sCsrEt\nwGERMavAthcC/1bVjWQlckIw6z8HpL/Ql5BdPPB/Ol1QRUQMk90JceNG20naApjoxqC9nBDMzAxw\nQjAzs8QNgpmZAW4QzMwscYNgZmaAGwQzM0vcIJiZGQD/HzObiUjCqiM5AAAAAElFTkSuQmCC\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x26a1670>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VBB = 10.0 #Base Voltage (in volts)\n",
+ "RB = 47.0 #Base Resistance (in kilo-ohm)\n",
+ "VCC = 20.0 #Voltage Source (in volts)\n",
+ "RC = 10.0 #Collector Resistance (in kilo-ohm)\n",
+ "beta = 100.0 #Common-Emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ICsat = VCC / RC #Saturation current (in milli-Ampere)\n",
+ "VCEcutoff = VCC #Cutoff voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of saturation current is \",ICsat,\" mA.\\nThe value of cut-off voltage is \",VCEcutoff,\" V.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,20,100)\n",
+ "plot(x,x/10)\n",
+ "title(\"d.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.2 , Page Number 528"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Q-points corresponds to 8.84 V and 37.2 mA.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x620f450>"
+ ]
+ },
+ "execution_count": 2,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYVOXZx/HvvRSNlSoCQkAEpQgsgtiiC6KiiCgaEGwY\nxRIbikY0MRJ9bWhUBAtiYokFNUYEOwirKBbKIsVuxIBiwwKCStn7/eM5C8O6u8wuM3Nmd3+f65rL\nM2dOuWcd5p6nm7sjIiLVU07cAYiISHyUBEREqjElARGRakxJQESkGlMSEBGpxpQERESqMSUBqVTM\n7D4zuzrF1xxiZjNSec2Eaxea2a6lvJZvZqdF2yeY2QvpiEGkLEoCUtl49KgKNrwXd3/I3Q+LOR6p\nhpQEpDKyuAMQqSqUBCSrmVmumc01sxVmNgHYuoxjc8zscjP7KDp+tpntUoF77mdms8zsezN7y8z2\nTXjtVDN7J7r+x2Z2RrFzLzGzz81sqZn9oRz33KRKKqpGOtPMPjCz78xsbLHj/xDF8a2ZPW9mzcv7\nPkVASUCymJnVBiYC9wN1gceBYym9Omg4cDxwuLvvAJwKrC7nPesBzwC3AvWAm4Fnov0AXwJ9Eq5/\ni5nlRuf2jmLoBbSJ/rsl+gBdgY7AADM7LLpPP+Ay4BigATADeGQL7yXVlJKAZLN9gJruPtrd17v7\nE8CsMo4/Dfizu38I4O4L3P3bct6zD/B+VE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math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,title,xlabel,ylabel,annotate\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "RC = 300.0 #Collector resistance (in ohm)\n",
+ "VBB = 10.0 #Base voltage (in volts)\n",
+ "RB = 50.0 #Base Resistance (in kilo-ohm)\n",
+ "beta = 200.0 #Common-emittter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ICsat = VCC / RC #Saturation current (in Ampere)\n",
+ "VCEcutoff = VCC #Cutoff voltage (in volts)\n",
+ "#Using kirchoff's voltage law\n",
+ "IB = (VBB - 0.7) / RB #Base current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC * 10**-3 #Collector-to-emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Q-points corresponds to \",VCE,\" V and \",IC,\" mA.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,20,100)\n",
+ "plot(x,66.7 - 66.7/20 * x)\n",
+ "title(\"d.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")\n",
+ "annotate(\"Q\",xy=(8.84,37.2))\n",
+ "annotate(\"66.7\",xy=(0,66.7))\n",
+ "annotate(\"37.2\",xy=(0,37.2))\n",
+ "annotate(\"8.84\",xy=(8.84,0))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.3 , Page Number 533"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of base current is 0.14 mA.\n",
+ "The value of Collector current is 11.11 mA.\n",
+ "THe value of Collector-to-Emitter voltage is 15.89 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 25.0 #Source voltage (in volts)\n",
+ "RC = 820.0 #Collector Resistance (in ohm)\n",
+ "RB = 180.0 #Base Resistance (in kilo-ohm)\n",
+ "beta = 80.0 #Common-Emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = VCC / RB #Base current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC * 10**-3 #Collector-to-Emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of base current is \",round(IB,2),\" mA.\\nThe value of Collector current is \",round(IC,2),\" mA.\\nTHe value of Collector-to-Emitter voltage is \",round(VCE,2),\" V.\"\n",
+ "\n",
+ "#Slight variation in answers due to higher precision."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.4 , Page Number 534"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The base current is 0.05 mA.\n",
+ "The collector current is 5.0 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Variables\n",
+ "\n",
+ "VBB = 2.7 #Base voltage (in Volts)\n",
+ "RB = 40.0 #Base resistance (in kilo-ohm)\n",
+ "VCC = 10.0 #Supply voltage (in volts)\n",
+ "RC = 2.5 #Collector resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
+ "beta = 100.0 #Current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = (VBB - VBE)/RB #Base current (in milli-Ampere)\n",
+ "IC = beta * IB\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The base current is \",IB,\" mA.\"\n",
+ "print \"The collector current is \",IC,\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.5 , Page Number 534"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of collector current is for operation in saturation region is 1.0 mA.\n",
+ "Since 1.29 mA is greater than 1.0 mA , therefore it will operate in saturation region.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 5.0 #Source voltage (in volts)\n",
+ "RC = 5.0 #Collector resistance (in kilo-ohm)\n",
+ "VBB = 5.0 #Base voltage (in volts)\n",
+ "RB = 100.0 #Base Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "beta = 30.0 #Common-Emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = (VBB - VBE)/RB #Base Current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector Current (in milli-Ampere)\n",
+ "IC1 = VCC / RC #Collector Current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of collector current is for operation in saturation region is \",IC1,\" mA.\\nSince \",IC,\" mA is greater than \",IC1,\" mA , therefore it will operate in saturation region.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.6 , Page Number 535"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Stability factor for the fixed bias circuit is 101.0 .\n",
+ "The voltage between the collector and the ground is 2.1 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RC = 330.0 #Collector resistance (in ohm)\n",
+ "IB = 0.3 #Base current (in milli-Ampere)\n",
+ "beta = 100.0 #Common-emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RB = VCC / IB #Resistance (in kilo-ohm)\n",
+ "S = 1 + beta #Stability factor \n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC * 10**-3 #Collector-Ground voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Stability factor for the fixed bias circuit is \",S,\".\\nThe voltage between the collector and the ground is \",VCE,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.7 , Page Number 536"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "VCE of the transistor is 8.0 V.\n",
+ "VCC of the transistor is 20.0 V.\n",
+ "IB of the transistor is 0.04 mA.\n",
+ "IC of transistor is 4.0 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "RC = 2.0 #Collector resistance (in kilo-ohm)\n",
+ "RB = 400.0 #Base Resistance (in kilo-ohm)\n",
+ "beta = 100.0 #Common-Emitter current gain\n",
+ "RE = 1.0 #Emitter Resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = VCC / (RB + beta * RE) #Base current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector Current (in milli-Ampere)\n",
+ "VCE = VCC - IC * (RC + RE) #Collector-to-Emitter Voltage (volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"VCE of the transistor is \",VCE,\" V.\\nVCC of the transistor is \",VCC,\" V.\\nIB of the transistor is \",IB,\" mA.\\nIC of transistor is \",IC,\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.8 , Page Number 537"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of IC is 2.35 mA.\n",
+ "The value of VCE is 12.0 V.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x6275410>"
+ ]
+ },
+ "execution_count": 3,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXoAAAEZCAYAAACZwO5kAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XecVPXVx/HPWZoiUcSCICiCjd4R+6qI2PBRQEUeFUyU\nWLAXjImSaAx2DdaoD0ajoNGoWMCCrKKo9E40GuyIFRFFyu55/vjdhWHZMrs7s3dm9vt+vebFlDv3\nd67g2d+e+yvm7oiISO7KizsAERFJLyV6EZEcp0QvIpLjlOhFRHKcEr2ISI5TohcRyXFK9JKRzOwh\nM7s2xeccamZTU3nOhHMXmVnrMj4rMLNfR8+HmNlL6YhBpCxK9JKpPHrkgg3X4u6PuvsRMccjtYwS\nvWQyizsAkVygRC8Zwcy6mtlsM1tpZuOBLco5Ns/MfmdmH0THzzSzFlVocz8zm2FmK8xsupntm/DZ\nMDNbHJ3/QzM7q8R3LzOzL8zsMzM7oxJtblI+iko+w83sfTP73szuLHH8GVEc35nZJDPbpbLXKaJE\nL7Ezs/rAM8DfgW2BfwIDKLt0cwlwMnCku28NDAN+rmSbTYAXgNuBJsCtwAvR+wDLgaMTzn+bmXWN\nvtsviqEPsGf0Z3UcDfQAOgEnmtkRUTvHAVcCxwPbA1OBcdVsS2ohJXrJBL2Buu5+h7sXuvtTwIxy\njv81cJW7/wfA3Re4+3eVbPNo4L2oZl7k7uOBfwP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ORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x6219e50>"
+ ]
+ },
+ "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",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RC = 2.2 #Collector resistance (in kilo-ohm)\n",
+ "RB = 240.0 #Base Resistance (in kilo-ohm)\n",
+ "beta = 50.0 #Common-Emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "RE = 0 #Emitter resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = (VCC - VBE)/(RE + RB/beta) #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC #Collector-to-Emitter voltage (in volts)\n",
+ "ICsat = VCC / RC #Saturation current (in milli-Ampere)\n",
+ "VCEcutoff = VCC #Cut-off voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of IC is \",round(IC,2),\" mA.\\nThe value of VCE is \",VCEcutoff,\" V.\" \n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,12,100)\n",
+ "plot(x,5.45 - 5.45/12 * x)\n",
+ "title(\"d.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")\n",
+ "annotate(\"6.83 V\",xy=(6.83,0))\n",
+ "annotate(\"5.45 mA\",xy=(0,5.45))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.9 , Page Number 538"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Operating voltage is 20.0 V.\n",
+ "Opearing current is 2.0 mA.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x63e64b0>"
+ ]
+ },
+ "execution_count": 4,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXsAAAEZCAYAAAB2AoVaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xu8VXWd//HXG1FQsRRFzFLxxqRcAs2gmx2zGJvyEoqK\nmWD+tBrTKJOYHIXGJhWbvKDYjDWJpiLmT9R0vKCctFRKAUU0zfmJoon3G4mF8Pn9sdb2bDbnHPZt\nnX17Px+P/WDttdZe3+9iwfe8z3d/13cpIjAzs+bWq9YVMDOz7LmxNzNrAW7szcxagBt7M7MW4Mbe\nzKwFuLE3M2sBbuytLkm6TNKZVT7mREn3VPOYecdeK2mXLra1SzouXf6KpNuyqINZd9zYW72K9NUM\n3juXiLgyIv6xxvWxFuTG3uqZal0Bs2bhxt7qgqSRkhZKelPSbKBvN/v2kvQDSU+m+z8g6UNllPkJ\nSX+U9LqkP0j6eN62YyU9mh7/fyWdUPDZUyX9RdKzkr5WQpnrdCWl3T9fl/SEpNckXVSw/9fSerwq\n6VZJO5Z6nmbgxt7qgKRNgLnALGAr4FrgULruxjkFOBL4QkS8DzgWeLvEMvsDNwPnA/2BnwI3p+sB\nXgC+mHf88ySNTD97QFqHzwGD0z8r8UXgo8Bw4HBJ/5iWczDwL8CXgW2Ae4CrKyzLWpQbe6sHo4He\nEXFBRKyJiOuAP3az/3HAaRHxZ4CIWBIRr5ZY5heBx9M+9LURMRv4E3BgesxbIuKpdPlu4Hbg0+ln\nDwf+OyIejYi3gaklll3o7Ih4MyKWA/OBj6TrvwGcFRGPR8Ra4CxghKQdKizPWpAbe6sH2wPPFax7\nmq777HcA/rcKZT7TSZnbA0j6gqT7Jb0i6TXgn4Ct0/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U1veANBGeUOQx2iPiD3lJ8qa0\nnl9TMm00kj6Ynl858ssvfP84MEDS6LScjSXtyQakP9iuB84jmW4395vQvXQk3K+QzNAISYOXa7Dz\ny++b/vmKkgdyjEuP/wbwVvpDENb9AvQ24J/z+sgHS1rvC/BIHuoxn6Qb66q8TVcBn5D0T7kVkvaV\nNGRD553nL5K2LqIsgA+QdN1ZD3Fj39i+DHxOydDLR4B/B56PiOtJpnt9iKT/+9S0OwfWTVO55TOB\njdMv/h4Bfpiu/znwDPBw+iVr7gu1/wJulXRnJA9pmULyn3ox8EDaMBeWVajYY3RUNkmtVwH3pd0b\nc4B+XZTV2Xnmj36ZDZyqZIjhLsBlwM8kLST5f3EYcE563ouAj3dzLvmuIWnQ87t6TgKOlfRQuu3b\nndQnv/x3gEtJuqBuJXmEYM5xwKVpd81mwBvp+p8DjwIL0y9tL6Hr32iuBoaR160SEe8AXyJ5jN8T\nkpYC3wBeSuv4aa079HJsJ8f9HckX3d2WlfoYHT/0rAd4imOzBiJp84j4a7o8heQ5pN+pcbWA5N4N\n4IiI+GYR+14J/KSga8cy5GRv1li+mCbrJSRfxP+o1hXKiYh2kifQbdHdfpK2BbZ0Q9+znOzNzFqA\nk72ZWQtwY29m1gLc2JuZtQA39mZmLcCNvZlZC3Bjb2bWAv4/loPoBgySGVwAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x653e950>"
+ ]
+ },
+ "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",
+ "#Variables\n",
+ "\n",
+ "VCC = 30.0 #Source voltage (in volts)\n",
+ "RC = 5.0 #Collector resistance (in kilo-ohm)\n",
+ "RB = 1.5 * 10**3 #Base Resistance (in kilo-ohm)\n",
+ "beta = 100.0 #Common-emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ICsat = VCC / RC #Saturation current (in milli-Ampere)\n",
+ "VCEcutoff = VCC #Cut-off voltage (in volts)\n",
+ "IB = VCC / RB #Base current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC #Collector-to-Emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Operating voltage is \",VCE,\" V.\\nOpearing current is \",IC,\" mA.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,30,100)\n",
+ "plot(x,6.0 - 6.0/30.0 * x)\n",
+ "title(\"d.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")\n",
+ "annotate(\"20 V\",xy=(20,0))\n",
+ "annotate(\"2 mA\",xy=(0,2))\n",
+ "annotate(\"Q\",xy=(20,2))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.10 , Page Number 538"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "When VBB = 0 V , LED is in OFF condition.\n",
+ "When VBB = 3 V , LED is in ON condition.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 5.0 #Source voltage (in volts)\n",
+ "RE = 100.0 #Emitter resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Case 1 : when VBB = 0.2 V ->OFF\n",
+ "#Case 2: when VBB = 3 V ->ON\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"When VBB = 0 V , LED is in OFF condition.\\nWhen VBB = 3 V , LED is in ON condition.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.11 , Page Number 539"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector current is 9.9 mA.\n",
+ "Collector-to-Emitter voltage is 16.8669387755 V.\n",
+ "Stability factor is 81.0 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 25.0 #Source voltage (in volts)\n",
+ "RC = 820.0 #Collector resistance (in ohm)\n",
+ "RB = 180.0 * 10**3 #Base Resistance (in ohm)\n",
+ "beta = 80.0 #Common-Emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "RE = 200.0 #Emitter resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = (VCC -VBE)/(RE + RB / beta) #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC #Collector-to-Emitter voltage (in volts) \n",
+ "S = 1 + beta #Stability factor \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current is \",round(IC * 10**3,1),\" mA.\\nCollector-to-Emitter voltage is \",VCE,\" V.\\nStability factor is \",S,\".\"\n",
+ "\n",
+ "#Stability is not calculated in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.12 , Page Number 540"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector current is 0.845 mA.\n",
+ "Collector-to-Emitter voltage is 1.55 V.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x71996d0>"
+ ]
+ },
+ "execution_count": 5,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data":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bicrHnvVlZfQvsk4PLUFLYh8FzafwXZGin3pI7/79B35XY18C7qmqwi4u/A\n4cDp6caIxcA/A39JMe6r1W9TPrqX8/6K7GaJfq+V7EVPorUW83T9ZrZWkjaKiL+l7XPI1mb/t4LD\nArKxVcBxEfEvTRx7JfCVhmYzaxFXMGbWjMNSBbGI7GaOLxQdUE1EdJOtVPuG/o6T9GZgpJNLflzB\nmJlZS7iCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOz\nlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlnCCMTOzlvj/ZoU2geVfIHkAAAAASUVORK5C\nYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x65470b0>"
+ ]
+ },
+ "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",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 10.0 * 10**3 #Collector resistance (in ohm)\n",
+ "RB = 100.0 * 10**3 #Base Resistance (in ohm)\n",
+ "beta = 100.0 #Common-Emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = (VCC -VBE)/(RC + RB / beta) #Collector current (in Ampere)\n",
+ "VCE = VCC - IC * RC #Collector-to-Emitter voltage (in volts) \n",
+ "ICsat = VCC / RC #Saturation current (in milli-Ampere)\n",
+ "VCEcutoff = VCC #Cut-off voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current is \",round(IC * 10**3,3),\" mA.\\nCollector-to-Emitter voltage is \",round(VCE,2),\" V.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,10,100)\n",
+ "plot(x,6.0 - 6.0/30.0 * x)\n",
+ "title(\"d.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")\n",
+ "annotate(\"20 V\",xy=(20,0))\n",
+ "annotate(\"2 mA\",xy=(0,2))\n",
+ "annotate(\"Q\",xy=(20,2))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.13 , Page Number 541"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "IB is 0.0465 mA.\n",
+ "IC is 2.325 mA.\n",
+ "IE is 2.325 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 2.0 * 10**3 #Collector resistance (in ohm)\n",
+ "RB = 100.0 * 10**3 #Base Resistance (in ohm)\n",
+ "beta = 50.0 #Common-Emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = (VCC - VBE)/(RB + beta * RC) #Base current (in Ampere)\n",
+ "IC = beta * IB #Collector current (in Ampere)\n",
+ "IE = IC #Emitter current (in Ampere)\n",
+ "S = 1 + beta #Stability factor\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"IB is \",IB * 10**3,\" mA.\\nIC is \",IC * 10**3,\" mA.\\nIE is \",IE * 10**3,\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.14 , Page Number 542"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "In case 1, Collector junction is short circuited.\n",
+ "In case 2, Collector resistance is short circuited. \n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "#When VC = 0 volts\n",
+ "VCC = 9.0 #Source voltage (in volts)\n",
+ "RB = 220.0 #Base Resistance (in kilo-ohm)\n",
+ "RC = 3.3 #Collector Resistance (in kilo-ohm)\n",
+ "VBE = 0.3 #Emitter-to-Base voltage (in volts)\n",
+ "beta = 100.0 #Common emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = (VCC - VBE)/((RB + beta*RC)* 10**3) #Base current (in Ampere)\n",
+ "IC = beta * IB #Collector current (in Ampere)\n",
+ "VCE = VCC - IC * RC * 10**3 #Collector-to-emitter voltage (in volts)\n",
+ "VC = VCE #Collector voltage (in volts)\n",
+ "ICRC = VCC #Voltage (in volts) \n",
+ "\n",
+ "#When VC = 9 volts\n",
+ "IB1 = 16.0 #Base current (in micro-Ampere)\n",
+ "IC1 = beta * IB1 #Collector current (in micro-Ampere) \n",
+ "RC1 = 0 #Collector Resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"In case 1, Collector junction is short circuited.\\nIn case 2, Collector resistance is short circuited. \" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.15 , Page Number 542"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of R1 is 14.6 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RE = 100.0 #Emitter Resistance (in ohm)\n",
+ "RC = 3.3 #Collector Resistance (in kilo-ohm)\n",
+ "IE = 2.0 #Emitter current (in milli-Ampere)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "alpha = 0.98 #Common base current gain\n",
+ "R2 = 20.0 #Resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = alpha * IE #Collector current (in milli-Ampere)\n",
+ "VB = VBE + IE * RE * 10**-3 #Base voltage (in volts)\n",
+ "VC = VCC - IC * RC #Collector voltage (in volts) \n",
+ "IR2 = VC / (R2) #Current through resistance 2 (in milli-Ampere)\n",
+ "IB = IE - IC #Base current (in milli-Ampere)\n",
+ "IR1 = IR2 + IB #Current through resistance 1 (in milli-Ampere)\n",
+ "R1 = (VC - VB) / IR1 #Value of the resistance (in kilo-ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of R1 is \",round(R1,1),\" kilo-ohm.\"\n",
+ "\n",
+ "#Correction to be done in the book about the formula of IR2"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.16 , Page Number 543"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base resistance is 101.84 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 24.0 #Source voltage (in volts)\n",
+ "RE = 270.0 #Emitter Resistance (in ohm)\n",
+ "RC = 10.0 #Collector Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "beta = 45.0 #Common emitter current gain \n",
+ "VCE = 5.0 #Collector-to-Emitter voltage (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = (VCC - VCE) / RC #Collector current (in milli-Ampere)\n",
+ "RB = ((VCC - VBE) / IC - RC) * beta #Base Resistance (in kilo-ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Base resistance is \",round(RB,2),\" kilo-ohm.\"\n",
+ "\n",
+ "#Calculation mistake in book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.17 , Page Number 545"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "DC bias current is 1.06 mA.\n",
+ "DC bias voltage is 1.1 V.\n",
+ "Stability factor is 16.1 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 3.0 #Source voltage (in volts)\n",
+ "RB = 33.0 #Base Resistance (in kilo-ohm)\n",
+ "RC = 1.8 #Collector Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "beta = 90.0 #Common emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = (VCC - VBE) / (RB + beta * RC) #Base current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "VCE = VCC -IC * RC #Collector-to-emitter voltage (in volts)\n",
+ "S = (1 + beta)/(1 + beta*RC/(RC + RB)) #Stability factor\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"DC bias current is \",round(IC,2),\" mA.\\nDC bias voltage is \",round(VCE,1),\" V.\\nStability factor is \",round(S,1),\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.18 , Page Number 546"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector current is 5.27 mA.\n",
+ "Collector-to-Emitter voltage is 2.1 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RE = 500.0 #Emitter Resistance (in ohm)\n",
+ "RC = 1.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 10.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 5.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "beta = 100.0 #Common emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = VCC * (R2 /(R1 + R2)) #Base voltage (in volts)\n",
+ "VE = VB - VBE #Emitter voltage (in volts)\n",
+ "IE = VE / RE #Emitter current (in Ampere)\n",
+ "IC = IE #Collector current (in Ampere)\n",
+ "VCE = VCC - IC * (RC * 10**3 + RE) #Collector-to-Emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current is \",round(IC * 10**3,2),\" mA.\\nCollector-to-Emitter voltage is \",VCE,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.19 , Page Number 547"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Emitter current is 2.15 mA.\n",
+ "The value of collector-to-emitter voltage is 8.55 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 15.0 #Source voltage (in volts)\n",
+ "RE = 2.0 #Emitter Resistance (in kilo-ohm)\n",
+ "RC = 1.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 10.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 5.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * (R2 /(R1 + R2)) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent resistance (in kilo-ohm)\n",
+ "IE = (Vth - VBE)/(RE) #Emitter current (in milli-Ampere)\n",
+ "VCE = VCC - IE * (RC + RE) #Collector-to-Emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Emitter current is \",IE,\" mA.\\nThe value of collector-to-emitter voltage is \",VCE,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.20 , Page Number 549"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The percentage change in collector current is 43.5 %.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RE = 100.0 #Emitter Resistance (in ohm)\n",
+ "RC = 1.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 25.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 5.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "betamin = 50.0 #Common emitter current gain (min)\n",
+ "betamax = 150.0 #Common emitter current gain (max)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * (R2 /(R1 + R2)) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) * 10**3 #Thevenin's equivalent resistance (in ohm)\n",
+ "IE1 = (Vth - VBE)/(RE + Rth/betamin) #Emitter current (in Ampere)\n",
+ "IE2 = (Vth - VBE)/(RE + Rth/betamax) #Emitter current (in Ampere)\n",
+ "perc_change = (IE2 - IE1) / IE1 * 100 #Percentage change in the value of beta \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The percentage change in collector current is \",round(perc_change,1),\" %.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.21 , Page Number 549"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Operating point values are IC = 3.1 mA and VCE = 3.781 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 9.0 #Source voltage (in volts)\n",
+ "RE = 680.0 #Emitter Resistance (in ohm)\n",
+ "RC = 1.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 33.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 15.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = VCC * R2 / (R1 + R2) #Base voltage (in volts)\n",
+ "VE = VB - VBE #Emitter voltage (in volts)\n",
+ "IE = VE / RE #Emitter current (in Ampere)\n",
+ "IC = IE #Collector current (in Ampere)\n",
+ "VRC = IC * RC * 10**3 #Voltage across collector resistance (in volts)\n",
+ "VC = VCC - VRC #Collector voltage (in volts)\n",
+ "VCE = VC - VE #Collector-to-emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Operating point values are IC = \",round(IC * 10**3,1),\" mA and VCE = \",round(VCE,3),\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.22 , Page Number 550"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of R1 is 40.0 kilo-ohm and value of RC is 2200.0 ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 5.0 #Source voltage (in volts)\n",
+ "RE = 0.3 #Emitter Resistance (in kilo-ohm)\n",
+ "IC = 1.0 #Collector Current (in milli-Ampere)\n",
+ "beta = 100.0 #Common emitter current gain\n",
+ "VCE = 2.5 #Collector-to-Emitter voltage (in volts)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "ICO = 0 #Reverse saturation current (in Ampere) \n",
+ "R2 = 10.0 #Resistance (in kilo-ohm)\n",
+ "\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IE = IC #Emitter current (in milli-Ampere)\n",
+ "RC = (VCC - VCE) / IE - RE #Collector resistance (in kilo-ohm)\n",
+ "VE = IE * RE #Emitter voltage (in volts)\n",
+ "VB = VE + VBE #Base voltage (in volts)\n",
+ "R1 = VCC / VB * R2 - R2 #Resistance1 (in kilo-ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of R1 is \",R1,\" kilo-ohm and value of RC is \",RC * 10**3,\" ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.23 , Page Number 551"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Emitter current is 1.86 mA.\n",
+ "Value of VCE is 18.14 V.\n",
+ "Value of collector potential is 27.44 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "RE = 5.0 #Emitter Resistance (in kilo-ohm)\n",
+ "RC = 1.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 10.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 10.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = VCC * R2 / (R1 + R2) #Voltage (in volts)\n",
+ "VE = VB - VBE #Emitter voltage (in volts)\n",
+ "IE = VE / RE #Emitter current (in milli-Ampere)\n",
+ "IC = IE #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IC * RC #Collector-to-emitter voltage (in volts) \n",
+ "VC = VCE + VE #Collector potential (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Emitter current is \",IE,\" mA.\\nValue of VCE is \",VCE,\" V.\\nValue of collector potential is \",VC,\" V.\"\n",
+ "\n",
+ "#VC is not calculated in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.24 , Page Number 552"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector-to-Emitter VCE is 7.5 V.\n",
+ "Base current is 0.026 mA.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 8.0 #Source voltage (in volts)\n",
+ "VRC = 0.5 #Voltage across collector resistance (in volts)\n",
+ "RC = 800.0 #Collector resistance (in ohm)\n",
+ "alpha = 0.96 #common base current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VCE = VCC - VRC #Collector-to-emitter voltage (in volts) \n",
+ "IC = VRC / RC #Collector current (in milli-Ampere)\n",
+ "IE = IC / alpha #Emitter current (in milli-Ampere)\n",
+ "IB = IE - IC #Base current (in milli-Ampere)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector-to-Emitter VCE is \",VCE,\" V.\\nBase current is \",round(IB * 10**3,3),\" mA.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.27 , Page Number 554"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of RE is 1.4 kilo-ohm.\n",
+ "Value of R1 is 5.2 kilo-ohm.\n",
+ "Value of R2 is 7.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "VCC = 22.5 #Source voltage (in volts)\n",
+ "RC = 5.6 #Collector Resistance (in kilo-ohm)\n",
+ "VCE = 12.0 #Collector-to-emitter voltage (in volts)\n",
+ "IC = 1.5 #Collector current (in milli-Ampere)\n",
+ "#Stability factor (S) <= 3.\n",
+ "S = 3\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RE = (VCC - VCE)/IC - RC #Emitter resistance (in kilo-ohm)\n",
+ "Rth = (4375 - (1.4 * 10**3))*10**-3 #Thevenin's Equivalent Resistance (in ohm)\n",
+ "R2 = 0.1 * beta * RE #Resistance (in kilo-ohm) \n",
+ "R1 = (R2 - Rth)**-1 * R2 *Rth #Resistance 1 (in kilo-ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of RE is \",RE ,\" kilo-ohm.\\nValue of R1 is \",round(R1,1),\" kilo-ohm.\\nValue of R2 is \",R2,\" kilo-ohm.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.28 , Page Number 556"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of emitter current is 1.86 mA.\n",
+ "THe value of collector current is 1.86 mA.\n",
+ "The value of collector-to-emitter voltage is 8.84 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VEE = 10.0 #Emitter Bias Voltage (in volts)\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 1.0 #Collector Resistance (in kilo-ohm)\n",
+ "RE = 5.0 #Emitter Resistance (in kilo-ohm)\n",
+ "RB = 50.0 #Base Resistance (in kilo-ohm) \n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VE = -VBE #Emitter voltage (in volts)\n",
+ "IE = (VEE - VBE)/ RE #Emitter current (in milli-Ampere)\n",
+ "IC = IE #Collector current (in milli-Ampere)\n",
+ "VC = VCC - IC * RC #Collector voltage (in volts)\n",
+ "VCE = VC - VE #Collector-to-Emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of emitter current is \",IE,\" mA.\\nTHe value of collector current is \",IC,\" mA.\\nThe value of collector-to-emitter voltage is \",VCE,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.29 , Page Number 557"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The change is collector current is 1.513 %.\n",
+ "The change in collector to emitter voltage is 2.16 %.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VEE = 20.0 #Emitter Bias Voltage (in volts)\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "RC = 5.0 #Collector Resistance (in kilo-ohm)\n",
+ "RE = 10.0 #Emitter Resistance (in kilo-ohm)\n",
+ "RB = 10.0 #Base Resistance (in kilo-ohm) \n",
+ "VE = -0.7 #Emitter Voltage (in volts)\n",
+ "betamin = 50.0 #Common emitter current gain minimum\n",
+ "betamax = 100.0 #Common emitter current gain maximum \n",
+ "VE1 = -0.6 #Emitter Voltage1 (in volts)\n",
+ "VBE = 0.7 #Emitter-to-base voltage (in volts) \n",
+ "VBE1 = 0.6 #New emitter-to-base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IE = (VEE - VBE)/(RE + RB / betamin) #Emitter current (in milli-Ampere)\n",
+ "IC = IE #Collector current (in milli-Ampere)\n",
+ "VC = VCC - IC * RC #Collector voltage (in volts)\n",
+ "VCE = VC - VE #Collector-to-emitter voltage (in volts)\n",
+ "IE1 = (VEE - VBE1)/(RE + RB/betamax) #Emitter current 1 (in milli-Ampere)\n",
+ "IC1 = IE1 #Collector current 1 (in milli-Ampere)\n",
+ "VC1 = VCC - IC1 * RC #Collector voltage 1 (in volts)\n",
+ "VCE1 = VC1 - VE1 #Collector-to-emitter voltage 1 (in volts)\n",
+ "dIC = (IC1 - IC) / IC #Change in collector current\n",
+ "dVCE = (VCE - VCE1) / VCE #Change in collector to emitter voltage \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The change is collector current is \",round(dIC,5)* 100,\"%.\\nThe change in collector to emitter voltage is \",100*round(dVCE,4),\"%.\"\n",
+ "\n",
+ "#Slight changes due to higher precision."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.30 , Page Number 561"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Base voltage is -2.0 V.\n",
+ "Emitter voltage is -1.8 V.\n",
+ "Collector voltage is -8.4 V.\n",
+ "Collector current is 1.8 mA.\n",
+ "Emitter current is 1.8 mA.\n",
+ "Collector-to-emitter voltage is -6.6 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RE = 1.0 #Emitter Resistance (in kilo-ohm)\n",
+ "RC = 2.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 100.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 20.0 #Resistance (in kilo-ohm)\n",
+ "VBE = -0.2 #Emitter-to-Base Voltage (in volts)\n",
+ "beta = 100.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = -VCC * R2 / (R1 + R2) #Base voltage (in volts)\n",
+ "VE = VB - VBE #Emitter voltage (in volts)\n",
+ "IE = -VE / RE #Emitter current (in milli-Ampere) \n",
+ "IC = IE #Collector current (in milli-Ampere)\n",
+ "VC = -(VCC - IC * RC) #Collector voltage (in volts)\n",
+ "VCE = VC - VE #Collector-to-emitter voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Base voltage is \",VB,\" V.\\nEmitter voltage is \",VE,\" V.\\nCollector voltage is \",VC,\" V.\\nCollector current is \",IC,\" mA.\\nEmitter current is \",IE,\" mA.\\nCollector-to-emitter voltage is \",VCE,\" V.\"\n",
+ "\n",
+ "#Formula of IE and VB is given wrong in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.31 , Page Number 561"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of base voltage is 2.0 V.\n",
+ "The value of emitter voltage is 1.3 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RE = 2.0 #Emitter Resistance (in kilo-ohm)\n",
+ "RC = 10.0 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 16.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 4.0 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "beta = 100.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = VCC * R2 / (R1 + R2) #Base voltage (in volts)\n",
+ "VE = VB - VBE #Emitter voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of base voltage is \",VB,\" V.\\nThe value of emitter voltage is \",VE,\" V.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 22.32 , Page Number 562"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The operating point values are IC = 0.404 mA and VCE = -3.78 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 4.5 #Source voltage (in volts)\n",
+ "RE = 0.27 #Emitter Resistance (in kilo-ohm)\n",
+ "RC = 1.5 #Collector Resistance (in kilo-ohm)\n",
+ "R1 = 27.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 2.7 #Resistance (in kilo-ohm)\n",
+ "VBE = 0.3 #Emitter-to-Base Voltage for germanium (in volts)\n",
+ "beta = 44.0 #Common emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = - VCC * R2 / (R1 + R2) #Base voltage (in volts)\n",
+ "VE = VB - (-VBE) #Emitter voltage (in volts)\n",
+ "IE = VE / RE #Emitter current (in milli-Ampere)\n",
+ "IC = IE #Collector current (in milli-Ampere)\n",
+ "VRC = -IC * RC #Voltage across collector resistance (in volts)\n",
+ "VC = -(VCC - VRC) #Collector voltage (in volts)\n",
+ "VCE = -(-VC - (-VE)) #Collector-to-emitter voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The operating point values are IC = \",round(-IC,3),\" mA and VCE = \",round(VCE,2),\" 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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_4.ipynb
new file mode 100644
index 00000000..8770eb00
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_4.ipynb
@@ -0,0 +1,75 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8d03891bfa7f1c1585b90f0fe2a212b218b5620ee320f7a8cc11378a3eebf38b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 23 , Low and High Frequency BJT Models"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 23.1 , Page Number 580"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IC = 10.0 #Collector current (in milli-Ampere)\n",
+ "VCE = 10.0 #Collector-to-emitter voltage (in volts)\n",
+ "hie = 500.0 #Input resistance (in ohm)\n",
+ "hoe = 10 **-5 #Output conductance (in Ampere/volt)\n",
+ "hfe = 100.0 #Common emitter current gain \n",
+ "hre = 10**-4 #Constant\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "gm = IC / 25.0 #Transconductance (in Siemen) \n",
+ "rb1e = hfe / gm #Resistance (in ohm) \n",
+ "rbb1 = hie - rb1e #Base spreading resistance (in ohm)\n",
+ "gb1c = hre / rb1e #Feedback conductance (in Siemen)\n",
+ "rce = 1 / (hoe - (1 + hfe)* gb1c) #Output resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of transconductance is \",gm,\" per ohm.\\nValue of resistance rb1e is \",rb1e,\" ohm.\\nValue of base spreading resistance is \",rbb1,\" ohm.\\nValue of feedback conductance is \",gb1c,\" per ohm.\\nValue of output resistance is \",round(abs(rce * 10**-3)),\" kilo-ohm.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of transconductance is 0.4 per ohm.\n",
+ "Value of resistance rb1e is 250.0 ohm.\n",
+ "Value of base spreading resistance is 250.0 ohm.\n",
+ "Value of feedback conductance is 4e-07 per ohm.\n",
+ "Value of output resistance is 33.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_4.ipynb
new file mode 100644
index 00000000..8d4d7f99
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_4.ipynb
@@ -0,0 +1,870 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8d83d12da307337593a7cd775da037b9954c818c998b8e588f2f7e2538d508ce"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 24 , Singly-Stage BJT Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.1 , Page Number 590"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 10.0 #Collector resistance (in kilo-ohm)\n",
+ "RB = 1.0 * 10**3 #Base resistance (in kilo-ohm)\n",
+ "beta = 100.0 #Common emitter current gain \n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = (VCC - VBE) / RB #Base current (in milli-Ampere)\n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "IE = IC #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c resistance of emitter diode (in kilo-ohm)\n",
+ "R1 = beta * r1e #Input resistance looking directly into the base (in kilo-ohm)\n",
+ "Ris = RB * R1/(RB + R1) #Stage input resistance (in kilo-ohm)\n",
+ "Ro = RC #Output resistance (in kilo-ohm)\n",
+ "Av = RC / r1e #Voltage gain\n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance looking into the base is \",round(R1,2),\" kilo-ohm.\\nInput resistance of the stage is \",round(Ris,3),\" kilo-ohm.\\nOutput resistance is \",Ro,\" kilo-ohm.\\nVoltage gain is \",Av,\".\"\n",
+ "\n",
+ "#Correction to be done in the book for the formula of Ris in the question."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance looking into the base is 2.69 kilo-ohm.\n",
+ "Input resistance of the stage is 2.681 kilo-ohm.\n",
+ "Output resistance is 10.0 kilo-ohm.\n",
+ "Voltage gain is 372.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.2 , Page Number 591"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Ri = 2.5 #Input resistance (in kilo-ohm)\n",
+ "Av = 200.0 #Voltage gain\n",
+ "Vs = 5.0 * 10**-3 #Input signal voltage (in volts)\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IB = Vs / Ri #Base current (in milli-Ampere) \n",
+ "IC = beta * IB #Collector current (in milli-Ampere)\n",
+ "Ai = beta #Current gain\n",
+ "Ap = Ai * Av #Power gain\n",
+ "Gp = 10 * math.log10(Ap) #dB power gain (in decibel)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The base current is \",IB,\" mA.\\nThe collector current is \",IC,\" mA.\\nThe power gain is \",Ap,\".\\nThe dB power gain is \",Gp,\" dB.\"\n",
+ "\n",
+ "#Wrong unit of IB. IB is in micro Ampere but in book it is given in milli-Ampere in solution.\n",
+ "#Also wrong unit in IC."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The base current is 0.002 mA.\n",
+ "The collector current is 0.1 mA.\n",
+ "The power gain is 10000.0 .\n",
+ "The dB power gain is 40.0 dB.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.3 , Page Number 593"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "RC = 5.0 #Collector resistance (in kilo-ohm)\n",
+ "RE = 1.0 #Emitter resistance (in kilo-ohm)\n",
+ "RB = 100.0 #Base resistance (in kilo-ohm)\n",
+ "beta = 150.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = VCC / (RE + RB/beta) #Collector current (in milli-Ampere)\n",
+ "IE = IC #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance of emitter diode (in kilo-ohm)\n",
+ "Ri = beta * (r1e + RE) #Input resistance looking directly into the base (in kilo-ohm)\n",
+ "Ris = RB * Ri / (RB + Ri) #Input resistance of the stage (in kilo-ohm)\n",
+ "Av = RC / RE #Voltage gain \n",
+ "Gp = 10 * math.log10(Av) #dB power gain (in decibel)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance looking into the base is \",round(Ri),\" kilo-ohm.\\nInput resistance of the stage is \",round(Ris),\" kilo-ohm.\\nVoltage gain is \",Av,\".\\ndB voltage gain is \",round(Gp),\" dB.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance looking into the base is 150.0 kilo-ohm.\n",
+ "Input resistance of the stage is 60.0 kilo-ohm.\n",
+ "Voltage gain is 5.0 .\n",
+ "dB voltage gain is 7.0 dB.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.4 , Page Number 595"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RC = 10.0 * 10**3 #Collector resistance (in ohm)\n",
+ "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
+ "RB = 500.0 * 10**3 #Base resistance (in ohm)\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IC = VCC / (RE + RB/beta) #Collector current (in Ampere)\n",
+ "IE = IC #Emitter current (in Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance of emitter diode (in ohm)\n",
+ "Ri = beta * (r1e) #Input resistance looking directly into the base (in ohm)\n",
+ "Ris = RB * Ri / (RB + Ri) #Input resistance of the stage (in ohm)\n",
+ "Av = RC / r1e #Voltage gain \n",
+ "AV1 = RC / RE #New voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance looking into the base is \",round(Ri),\" ohm.\\nInput resistance of the stage is \",round(Ris,1),\" kilo-ohm.\\nVoltage gain is \",round(Av,2),\".\\nNew Voltage gain is \",AV1,\".\"\n",
+ "\n",
+ "#Slight variations in answers due to high precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance looking into the base is 1146.0 ohm.\n",
+ "Input resistance of the stage is 1143.2 kilo-ohm.\n",
+ "Voltage gain is 436.36 .\n",
+ "New Voltage gain is 10.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.5 , Page Number 597"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 30.0 #Source voltage (in volts)\n",
+ "RC = 10.0 #Collector resistance (in kilo-ohm)\n",
+ "RE = 8.2 #Emitter resistance (in kilo-ohm)\n",
+ "RL = 3.3 #Load resistance (in kilo-ohm)\n",
+ "beta = 200.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 47.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 15.0 #Resistance (in kilo-ohm)\n",
+ "Vs = 5.0 #a.c voltage (in milli-volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent voltage (in volts)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta) #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE #a.c. resistance of emitter diode (in ohm) \n",
+ "rL = RC * RL/(RC + RL) #a.c load seen by the amplifier (in kilo-ohm) \n",
+ "Av = rL * 10**3 / r1e #Voltage gain\n",
+ "vo = Av * Vs #Output voltage (in volts)\n",
+ "Ri = beta * r1e * 10**-3 #Input resistance looking directly into the base (in ohm) \n",
+ "Ris = Rth * Ri / (Rth + Ri) #input resistance of the stage (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"a.c output voltage is \",round(vo,2),\" mV.\\nInput impedance for the circuit is \",round(Ris),\" kilo-ohm.\"\n",
+ "\n",
+ "#Slight variation in value of vo due to higher precision. "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a.c output voltage is 394.14 mV.\n",
+ "Input impedance for the circuit is 4.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.6 , Page Number 599"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 5.0 #Collector resistance (in kilo-ohm)\n",
+ "RE = 1.0 #Emitter resistance (in kilo-ohm)\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 50.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 10.0 #Resistance (in kilo-ohm)\n",
+ "Vs = 10.0 #a.c voltage (in milli-volts)\n",
+ "RS = 600.0 * 10**-3 #Source resistance (in kilo-ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent voltage (in volts)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta) #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance of emitter diode (in kilo-hm) \n",
+ "Ris = Rth * beta*r1e/(Rth + beta*r1e) #input resistance of the stage (in ohm)\n",
+ "rL = RC * R1/(RC + R1) #a.c load seen by the amplifier (in kilo-ohm) \n",
+ "Av = rL / r1e #Voltage gain\n",
+ "vin = Vs * Ris / (Ris + RS) #input voltage (in milli-volts) \n",
+ "vo = Av * vin #Output voltage (in milli-volts)\n",
+ "Avs = Av * vin / Vs #Overall voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The output voltage is \",round(vo * 10**-3,3),\" V.\\nThe overall voltage gain is \",round(Avs,2),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output voltage is 1.025 V.\n",
+ "The overall voltage gain is 102.5 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.7 , Page Number 601"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "RC = 4.0 #Collector resistance (in kilo-ohm)\n",
+ "RE = 3.3 #Emitter resistance (in kilo-ohm)\n",
+ "beta = 120.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 60.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 30.0 #Resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent voltage (in volts)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta) #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance of emitter diode (in kilo-hm)\n",
+ "rL = RC #Load resistance (in kilo-ohm)\n",
+ "Av = RC / r1e #Voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The voltage gain is \",round(Av,1),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The voltage gain is 152.3 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.8 , Page Number 601"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = -18.0 #Source voltage (in volts)\n",
+ "RC = 4.3 #Collector resistance (in kilo-ohm)\n",
+ "RE = 1.0 #Emitter resistance (in kilo-ohm)\n",
+ "beta = 200.0 #Common emitter current gain\n",
+ "VBE = -0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 39.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 8.2 #Resistance (in kilo-ohm)\n",
+ "RL = 3.0 #Load resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent voltage (in volts)\n",
+ "IC = (Vth - VBE)/(RE + Rth/beta) #Collector current (in milli-Ampere)\n",
+ "IE = -IC #Emitter current (in milli-Amper) \n",
+ "r1e = 30.0/IE * 10**-3 #a.ac resistance (in kilo-ohm)\n",
+ "Ris = Rth * beta*r1e/(Rth + beta*r1e) #input resistance of the stage (in ohm)\n",
+ "rL = RC * RL / (RC + RL) #a.c. load resistance (in kilo-ohm) \n",
+ "Av = rL / r1e #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,1),\".\"\n",
+ "\n",
+ "#printing mistake in book about formula for rL it is in fact rL = RC * RL /(RC + RL).\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain is 138.3 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.9 , Page Number 603"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "RC = 5.7 #Collector resistance (in kilo-ohm)\n",
+ "RE = 1.0 #Emitter resistance (in kilo-ohm)\n",
+ "beta = 100.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 100.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 10.0 #Resistance (in kilo-ohm)\n",
+ "Vs = 10.0 * 10**-3 #a.c voltage (in volts)\n",
+ "RS = 100.0 * 10**-3 #Source resistance (in kilo-ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 /(R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent resistance (in kilo-ohm)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta) #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance of emitter diode (in kilo-hm)\n",
+ "Ris = Rth * beta*r1e/(Rth + beta*r1e) #input resistance of the stage (in ohm)\n",
+ "rL = RC #Load resistance (in kilo-ohm)\n",
+ "Av = rL / r1e #Voltage gain \n",
+ "vin = Vs * Ris / (Ris + RS) #input voltage (in milli-volts) \n",
+ "vo = Av * vin #Output voltage (in milli-volts)\n",
+ "Avs = Av * vin / Vs #Overall voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Av is \",Av,\".\\nRi is \",round(Ris * 10**3,2),\" ohm.\\nVo is \",round(vo,2),\" V.\\nAvs is \",round(Avs,2),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Av is 233.7 .\n",
+ "Ri is 1923.08 ohm.\n",
+ "Vo is 2.22 V.\n",
+ "Avs is 222.15 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.10 , Page Number 604"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = -18.0 #Source voltage (in volts)\n",
+ "RC = 4.3 #Collector resistance (in kilo-ohm)\n",
+ "RE = 1.0 #Emitter resistance (in kilo-ohm)\n",
+ "beta = 200.0 #Common emitter current gain\n",
+ "VBE = -0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 39.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 8.2 #Resistance (in kilo-ohm)\n",
+ "RV = 75.0 * 10**-3 #Resistance (in kilo-ohm)\n",
+ "re = 30.0 * 10**-3 #Emitter resistance (in kilo-ohm)\n",
+ "RL = 3.3 #Load resistance (in kilo-ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 /(R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent resistance (in kilo-ohm)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta) #Emitter current (in milli-Ampere)\n",
+ "IC = round(IE,2) #Collector current (in milli-Ampere) \n",
+ "VCE = VCC - IC * (RC + RE) #Collector-to-Emitter voltage (in volts)\n",
+ "r1e = 30.0/abs(IE) * 10**-3 #a.c. resistance (in kilo-ohm)\n",
+ "Ris = Rth * beta*r1e/(Rth + beta*r1e) #input resistance of the stage (in ohm)\n",
+ "rL = RC * RL / (RC + RL) #Load resistance (in kilo-ohm)\n",
+ "Av = rL / (r1e + RV) #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain Av is \",round(Av,1),\".\\nInput impedance is ,\",round(Ris,3),\" kilo-ohm.\\nVCE is \",VCE,\" V.\" \n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain Av is 21.3 .\n",
+ "Input impedance is , 1.856 kilo-ohm.\n",
+ "VCE is -5.545 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.11 , Page Number 606"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 5.0 #Collector resistance (in kilo-ohm)\n",
+ "rE = 500 * 10**-3 #Emitter resistance (in kilo-ohm)\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "R1 = 50.0 #Resistance (in kilo-ohm) \n",
+ "R2 = 10.0 #Resistance (in kilo-ohm)\n",
+ "Vs = 100.0 * 10**-3 #a.c voltage (in volts)\n",
+ "RS = 600.0 * 10**-3 #Source resistance (in kilo-ohm)\n",
+ "RL = 50.0 #Load resistance (in kilo-ohm)\n",
+ "RE1 = 500.0 * 10**-3 #Resistance (in kilo-ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 /(R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent resistance (in kilo-ohm)\n",
+ "RE = RE1 + rE #Emitter total resistance (in kilo-ohm)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta) #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance (in kilo-ohm) \n",
+ "Ri = beta * (rE + r1e) #Input resistance directly into the base (in kilo-ohm)\n",
+ "Ris = Rth * Ri/(Rth + Ri) #Input resistance of the stage (in kilo-ohm)\n",
+ "rL = RC * RL / (RC + RL) #a.c. load resistance (in kilo-ohm)\n",
+ "Av = rL/(rE + r1e) #Voltage gain\n",
+ "Avs = Av * Ris / (RS + Ris) #Overall voltage gain\n",
+ "Vo = Avs * Vs #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance looking directly into the base is \",round(Ri,1),\" kilo-ohm.\\nInput resistance of the stage is \",round(Ris,2),\" kilo-ohm.\\nVoltage gain is \",round(Av,3),\" .\\nOverall voltage gain is \",round(Avs,2),\" .\\nOutput voltage is \",round(Vo,2),\"V.\"\n",
+ "\n",
+ "#Slight variations due to higher precision.\n",
+ "#Vo in the book is not properly calculated. Calculation error in Vo. Vo value should be 0.78 V."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance looking directly into the base is 26.5 kilo-ohm.\n",
+ "Input resistance of the stage is 6.34 kilo-ohm.\n",
+ "Voltage gain is 8.574 .\n",
+ "Overall voltage gain is 7.83 .\n",
+ "Output voltage is 0.78 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.12 , Page Number 611"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 10.0 #Collector resistance (in kilo-ohm)\n",
+ "alpha = 0.98 #Common base current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "Vs = 10.0 * 10**-3 #a.c voltage (in volts)\n",
+ "RL = 5.1 #Load resistance (in kilo-ohm)\n",
+ "RE = 20.0 #Resistance (in kilo-ohm) \n",
+ "VEE = 10.0 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IE = (VEE - VBE) / RE #Emitter current (in milli-Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. emitter resistance (in kilo-ohm)\n",
+ "Ri = r1e #input resistance looking directly in the emitter (in kilo-ohm)\n",
+ "Ris = RE * r1e / (RE + r1e) #Input resistance of the stage (in kilo-ohm) \n",
+ "Ai = alpha #Current gain\n",
+ "rL = RC * RL / (RC + RL) #a.c. load resistance (in kilo-ohm)\n",
+ "Av = rL / r1e #Voltage gain\n",
+ "Ap = Av * Ai #Power gain\n",
+ "Gp = 10 * math.log10(Ap) #Power gain (in decibels)\n",
+ "vin = Vs #input voltage (in volts)\n",
+ "Vo = Av * vin #Output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The input resistance looking directly into the emitter is \",round(Ri * 10**3,1),\" ohm.\\nThe input resistance of the stage is \",round(Ris * 10**3,2),\" ohm.\\nThe current gain is \",Ai,\" .\\nThe voltage gain is \",round(Av,1),\" .\\nThe power gain is \",round(Ap,2),\" .\\nThe power gain in decibels is \",round(Gp,1),\" dB.\\nThe output voltage is \",round(Vo * 10**3),\" mV.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The input resistance looking directly into the emitter is 53.8 ohm.\n",
+ "The input resistance of the stage is 53.62 ohm.\n",
+ "The current gain is 0.98 .\n",
+ "The voltage gain is 62.8 .\n",
+ "The power gain is 61.56 .\n",
+ "The power gain in decibels is 17.9 dB.\n",
+ "The output voltage is 628.0 mV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.13 , Page Number 613"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Rs = 50.0 #source resistance (in ohm)\n",
+ "IE = 0.465 #Emitter current (in milli-Ampere)\n",
+ "r1e = 53.8 #a.c. resistance (in ohm)\n",
+ "Ri = 53.8 #Input resistance (in ohm)\n",
+ "Ris = 52.4 #Input resistance of stage (in ohm)\n",
+ "RL = 3.38 * 10**3 #Load resistance (in ohm) \n",
+ "Vs = 10.0 * 10**-3 #Input a.c. voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Avs = RL / (Rs + r1e) #Overall voltage gain\n",
+ "Av = RL / r1e #Voltage gain\n",
+ "vo = Avs * Vs #Output a.c. voltage (in volts)\n",
+ "vin = vo / Av #input voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain from source to output is \",round(Avs,1),\" .\\nVoltage gain from emitter to output is \",round(Av,1),\" .\\nValue of Vin is \",round(vin * 10**3,1),\" V.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain from source to output is 32.6 .\n",
+ "Voltage gain from emitter to output is 62.8 .\n",
+ "Value of Vin is 5.2 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.14 , Page Number 617"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VEE = 10.0 #Voltage (in volts)\n",
+ "RE = 10.0 * 10**3 #Emitter resistance (in ohm) \n",
+ "RB = 100.0 * 10**3 #Base resistance (in ohm)\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IE = (VEE - VBE)/(RE + RB/beta) #Emitter current (in Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. resistance (in ohm)\n",
+ "Ri = beta * (RE + r1e) #Input resistance directly looking into the base (in ohm)\n",
+ "Ris = RB * Ri / (RB + Ri) #Input resistance of the stage (in ohm)\n",
+ "Ro = r1e #Output resistance (in ohm) \n",
+ "Av = RE / (r1e + RE) #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance looking directly into the base is \",round(Ri * 10**-3,1),\" ohm.\\nInput resistance of the stage is \",round(Ris * 10**-3 ,1),\" ohm.\\nOutput resistance is \",round(Ro,1),\" ohm.\\nVoltage gain is \",round(Av,3),\" .\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance looking directly into the base is 501.6 ohm.\n",
+ "Input resistance of the stage is 83.4 ohm.\n",
+ "Output resistance is 32.3 ohm.\n",
+ "Voltage gain is 0.997 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.15 , Page Number 618"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "beta = 80.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base Voltage (in volts)\n",
+ "VCC = 15.0 #Voltage (in volts)\n",
+ "R1 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "Vs = 5.0 * 10**-3 #a.c voltage (in volts)\n",
+ "RE = 8.2 * 10**3 #Emitter resistance (in ohm)\n",
+ "RL = 1.5 * 10**3 #Load resistance (in ohm)\n",
+ "RS = 2.0 * 10**3 #Source resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent resistance (in ohm)\n",
+ "IE = (Vth - VBE)/(RE + Rth / beta) #Emitter resistance (in ohm)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c resistance of emitter diode (in ohm)\n",
+ "rL = RE * RL /(RE + RL) #a.c. load resistance (in ohm)\n",
+ "Ri = beta * (rL + r1e) #Input resistance looking directly into the base (in ohm)\n",
+ "Ris = Rth * Ri / (Rth + Ri) #Input resistance of the stage (in ohm)\n",
+ "Ro = r1e + (RS*Rth)/(Rth + RS)/beta #Output resistance of the stage (in ohm)\n",
+ "Vin = Vs * (Ris / (RS + Ris)) #Input voltage (in volts)\n",
+ "Vo = Vin #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of input resistance looking directly into the base is \",round(Ri * 10**-3),\" kilo-ohm.\\nValue of input resistance of the stage is \",round(Ris * 10**-3,1),\" kilo-ohm.\\nOutput resistance is \",round(Ro,1),\" ohm.\\nA.C. output voltage is \",round(Vo * 10**3,1),\" mV.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of input resistance looking directly into the base is 104.0 kilo-ohm.\n",
+ "Value of input resistance of the stage is 9.1 kilo-ohm.\n",
+ "Output resistance is 51.4 ohm.\n",
+ "A.C. output voltage is 4.1 mV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_4.ipynb
new file mode 100644
index 00000000..586d46b8
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_4.ipynb
@@ -0,0 +1,666 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:75e52141ccf00cb8c14c8a0ee5b9c60f38850c2413b13d2345d9dd0ac1dc6df4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 25 , Hybrid Parameters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.1 , Page Number 626"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 6.0 #Resistance (in ohm)\n",
+ "R2 = 4.0 #Resistance (in ohm)\n",
+ "R3 = 4.0 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "#Let i1 = 10 A and v2 = 10 V.\n",
+ "i1 = 10.0 #Assumed current (in Ampere) \n",
+ "v2 = 10.0 #Assumed voltage (in volts)\n",
+ "#Parameters h11 and h21\n",
+ "\n",
+ "h11 = R1 + R2 * R3/(R2 + R3) #Input resistance looking from the input terminals (in ohm)\n",
+ "i2 = -i1 / 2 #Current2 (in Ampere)\n",
+ "h21 = i2/i1 #h21\n",
+ "\n",
+ "#Parameters h12 and h22\n",
+ "\n",
+ "v1 = v2/2 #Voltage1 (in volts) \n",
+ "h12 = v1 / v2 #h12\n",
+ "rnet = R2 + R3 #Output resistance (in ohm) \n",
+ "h22 = 1/rnet #h22 (in mhos)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"h11 : \",h11,\"\\nh21 : \",h21,\"\\nh12 : \",h12,\"\\nh22 : \",h22"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "h11 : 8.0 \n",
+ "h21 : -0.5 \n",
+ "h12 : 0.5 \n",
+ "h22 : 0.125\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.2 , Page Number 635"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hie = 1.0 * 10**3 #hie (in ohm)\n",
+ "hre = 1.0 * 10**-4 #hre\n",
+ "hoe = 100.0 * 10**-6 #hoe (in mho)\n",
+ "RC = 1.0 * 10**3 #Collector resistance (in ohm) \n",
+ "RS = 1000.0 #Source resistance (in ohm)\n",
+ "hfe = beta = 50.0 #Common emitter current gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RC #a.c. load resistance (in ohm)\n",
+ "Ai = -hfe /(1 + hoe * rL) #Current gain of a transistor\n",
+ "Ri = hie + hre * Ai * rL #Input resistance looking directly into the base (in ohm)\n",
+ "Ris = Ri #Iput resistance of the amplified stage (in ohm)\n",
+ "dh = hie * hoe - hre * hfe #Change in h\n",
+ "Ro = (RS + hie)/(RS * hoe + dh) #Output resistance looking directly into collector (in ohm)\n",
+ "Ros = Ro * rL /(Ro + rL) #Output resistance of the amplified stage (in ohm)\n",
+ "Ais = Ai * RS / (RS + Ris) #Current gain of amplified stage\n",
+ "Av = Ai * rL / Ri #Voltage gain of transistor \n",
+ "Avs = Av * Ris / (RS + Ris) #Voltage gain of amplified stage \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance of the amplifier stage is \",round(Ris),\" ohm.\\nOutput resistance of amplifier stage is \",round(Ros),\" ohm.\\nCurrent gain of amplified stage is \",round(Ais,1),\"\\nVoltage gain of amplifier stage is \",round(Avs,1),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance of the amplifier stage is 995.0 ohm.\n",
+ "Output resistance of amplifier stage is 911.0 ohm.\n",
+ "Current gain of amplified stage is -22.8 \n",
+ "Voltage gain of amplifier stage is -22.8 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.3 , Page Number 637"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hie = 1.1 * 10**3 #hie (in ohm)\n",
+ "hre = 2.5 * 10**-4 #hre\n",
+ "hoe = 25.0 * 10**-6 #hoe (in mho)\n",
+ "RS = 1000.0 #Source resistance (in ohm)\n",
+ "hfe = beta = 50.0 #Common emitter current gain \n",
+ "rL = 1000.0 #ac.c load resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ai = hfe /(1 + hoe * rL) #Current gain of a transistor\n",
+ "Ri = hie + hre * Ai * rL #Input impedance (in ohm)\n",
+ "Av = Ai * rL / Ri #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current gain is \",round(Ai,2),\"\\nInput impedance is \",round(Ri,1),\"\\nVoltage gain is \",round(Av,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current gain is 48.78 \n",
+ "Input impedance is 1112.2 \n",
+ "Voltage gain is 43.86\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.4 , Page Number 639"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RC = 4.0 * 10**3 #Collector resistance (in ohm)\n",
+ "RB = 40.0 * 10**3 #Base resistance (in ohm)\n",
+ "RS = 10.0 * 10**3 #Source resistance (in ohm)\n",
+ "hie = 1100.0 #hie (in ohm)\n",
+ "hfe = 50.0 #hfe\n",
+ "hre = hoe = dh = 0 #hre and hoe\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RB2 = RB #Resistance (in kilo-ohm) \n",
+ "rL = RC * RB2 /(RC +RB2) #a.c. load resistance (in ohm)\n",
+ "Ai = -hfe #Current gain\n",
+ "Ri = hie #Input resistance of the amplifier looking into the base (in ohm) \n",
+ "Av = Ai * rL / Ri #Voltage gain\n",
+ "RB1 = RB/(1 - Av) #Resistance (in ohm)\n",
+ "Ris = Ri * RB1 / (Ri + RB1) #Input resistance looking from source terminals (in ohm)\n",
+ "Ro = \"infinite\" #Output resistance (in ohm)\n",
+ "Ros = rL #Output resistance of the stage (in ohm)\n",
+ "Avs = Av * Ris / (RS + Ris) #Voltage gain of the stage \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Avs,1),\".\\nInput resistance is \",round(Ris),\" ohm.\\nOutput resistance is \",round(Ros),\" ohm.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain is -3.2 .\n",
+ "Input resistance is 197.0 ohm.\n",
+ "Output resistance is 3636.0 ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.5 , Page Number 640"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hie = 1.1 * 10**3 #hie (in ohm)\n",
+ "hre = 2.5 * 10**-4 #hre\n",
+ "hoe = 25.0 * 10**-6 #hoe (in mho)\n",
+ "RS = 10000.0 #Source resistance (in ohm)\n",
+ "hfe = beta = 50.0 #Common emitter current gain \n",
+ "rL = 1000.0 #ac.c load resistance (in ohm)\n",
+ "RB = 200.0 * 10**3 #Feedback resistor (in ohm)\n",
+ "RC = 5.0 * 10**3 #Collector resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RC * RB / (RC + RB) #a.c. load resistance (in ohm) \n",
+ "Ai = hfe /(1 + hoe * rL) #Current gain\n",
+ "Ri = hie + hre * Ai * rL #Input resistance of the amplifier looking into the base (in ohm) \n",
+ "Av = Ai * rL / Ri #Voltage gain\n",
+ "RB1 = RB/(1 - (-17.4)) #Resistance (in ohm)\n",
+ "Ris = Ri * RB1 / (Ri + RB1) #Input resistance looking from source terminals (in ohm)\n",
+ "Avs = Av * Ris / (RS + Ris) #Voltage gain of the stage \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Ai is \",round(Ai,2),\"\\nAv is \",round(Av,2),\"\\nAvs is \",round(Avs,1),\"\\nRi is \",round(Ri*10**-3,3),\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ai is 44.57 \n",
+ "Av is 188.32 \n",
+ "Avs is 17.8 \n",
+ "Ri is 1.154 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.6 , Page Number 643"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hib = 28.0 #hib (in ohm)\n",
+ "hfb = -0.98 #hfb\n",
+ "hrb = 5.0 * 10**-4 #hrb\n",
+ "hob = 0.34 * 10**-6 #hoh (in Siemen)\n",
+ "rL = 1.2 * 10**3 #a.c. load resistance (in ohm)\n",
+ "RS = 0.0 #Source resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ai = -(hfb/(1 + hob * rL)) #Current gain\n",
+ "Ri = hib + hrb * Ai * rL #Input resistance (in ohm)\n",
+ "dh = hib * hob - hrb * hfb #change in h\n",
+ "Ro = (RS + hib)/(RS*hib + dh)#Output resistance (in ohm)\n",
+ "Av = Ai * rL / Ri #Voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of input resistance is \",round(Ri,1),\" ohm.\\nThe value of output resistance is \",round(Ro * 10**-3),\" kilo-ohm.\\nThe value of current gain is \",round(Ai,2),\" .\\nThe value of voltage gain is \",round(Av),\" .\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of input resistance is 28.6 ohm.\n",
+ "The value of output resistance is 56.0 kilo-ohm.\n",
+ "The value of current gain is 0.98 .\n",
+ "The value of voltage gain is 41.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.7 , Page Number 644"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hic = 2.0 * 10**3 #hic (in ohm)\n",
+ "hfc = -51.0 #hfe\n",
+ "hrc = 1.0 #hrc\n",
+ "hoc = 25.0 * 10**-6 #hoc (in mho)\n",
+ "rL = RE = 5.0 * 10**3 #a.c. load resistance (in ohm)\n",
+ "RS = 1.0 * 10**3 #Source resistance (in ohm)\n",
+ "R1 = R2 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ai = -hfc / (1 + hoc * rL) #Current gain\n",
+ "Ri = hic + hrc * Ai * rL #Input resistance (in ohm)\n",
+ "Ris = (R1*R2*Ri)/(Ri*R1 + Ri*R2 + R1*R2) #Input resistance of the amplified stage (in ohm)\n",
+ "Ro = -(RS + hic)/hfc #Output resistance (in ohm)\n",
+ "Ros = Ro * RE / (Ro + RE) #Input resistance of the amplified stage (in ohm)\n",
+ "Ais = Ai * RS / (RS + Ris) #Current gain of amplified stage \n",
+ "Av = Ai * rL / Ri #Voltage gain\n",
+ "Avs = Av * Ris / (RS + Ris) #Voltage gain of amplified stage \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of input resistance of amplified stage is \",round(Ris),\" ohm.\\nThe value of output resistance of amplified stage is \",round(abs(Ros),1),\" kilo-ohm.\\nThe value of current gain of amplified stage is \",round(Ais,1),\" .\\nThe value of voltage gain of amplified stage is \",round(Avs,3),\" .\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of input resistance of amplified stage is 4893.0 ohm.\n",
+ "The value of output resistance of amplified stage is 58.1 kilo-ohm.\n",
+ "The value of current gain of amplified stage is 7.7 .\n",
+ "The value of voltage gain of amplified stage is 0.823 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.8 , Page Number 646"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hie = 1500.0 #hie (in ohm)\n",
+ "hfe = 50.0 #hfe\n",
+ "hre = 50.0 * 10**-4 #hre\n",
+ "hoe = 20.0 * 10**-6 #hoe\n",
+ "R1 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "RC = 5.0 * 10**3 #Collector resistance (in ohm) \n",
+ "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
+ "RL = 10.0 * 10**3 #Load resistance (in ohm) \n",
+ "RS = 0 #Source resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ai = -hfe\n",
+ "rL = RC * RL /(RC + RL) #a.c. load resistance (in ohm)\n",
+ "Ri = hie #Input resistance (in ohm)\n",
+ "Ris = (R1*R2*Ri)/(Ri*R1 + Ri*R2 + R1*R2) #Input resistance of the amplified stage (in ohm)\n",
+ "Ro = 1 / hoe #Output resistance (in ohm)\n",
+ "Ros = Ro * rL /(Ro + rL) #Output resistance of the stage (in ohm)\n",
+ "Av = Ai * rL / Ri #Voltage gain\n",
+ "Avs = Av * Ris / (RS + Ris) #Voltage gain of the stage \n",
+ "Ais = Ai #Current gain of the stage\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance of the stage is \",round(Ris * 10**-3,2),\" kilo-ohm.\\nOutput resistance of the stage is \",round(Ros * 10**-3,1),\" kilo-ohm.\\nVoltage gain of the stage is \",round(Avs),\" .\\nCurrent gain of the stage is \",Ai,\" .\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance of the stage is 1.22 kilo-ohm.\n",
+ "Output resistance of the stage is 3.1 kilo-ohm.\n",
+ "Voltage gain of the stage is -111.0 .\n",
+ "Current gain of the stage is -50.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.9 , Page Number 647"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RC = 12.0 * 10**3 #Collector resistance (in ohm)\n",
+ "RL = 4.7 * 10**3 #Load resistance (in ohm) \n",
+ "R1 = 33.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 4.7 * 10**3 #Resistance (in ohm)\n",
+ "IC = 1.0 * 10**-3 #Collector current (in Ampere)\n",
+ "hiemin = 1.0 * 10**3 #hie minimum (in ohm)\n",
+ "hiemax = 5.0 * 10**3 #hie maximum (in ohm)\n",
+ "hfemin = 70.0 #Current gain minimum\n",
+ "hfemax = 350.0 #Current gain maximum\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "hie = (hiemin * hiemax)**0.5 #hie (in ohm)\n",
+ "hfe = (hfemin * hfemax)**0.5 #current gain \n",
+ "Ri = hie #input resistance (in ohm)\n",
+ "Ris = (R1*R2*Ri)/(Ri*R1+Ri*R2+R1*R2) #Input resistance of the amplified stage (in ohm)\n",
+ "Ai = hfe #Current gain of transistor\n",
+ "rL = RC * RL / (RC + RL) #a.c. load resistance (in ohm)\n",
+ "Avs = Av = Ai*rL / Ri #overall voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input impedance is \",round(Ris * 10**-3,2),\" kilo-ohm.\\nOverall voltage gain is \",round(Avs,1),\".\"\n",
+ "\n",
+ "#Calculation error in book for hfe."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input impedance is 1.45 kilo-ohm.\n",
+ "Overall voltage gain is 236.4 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.10 , Page Number 648"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RB = 330.0 * 10**3 #Base resistance (in ohm)\n",
+ "RC = 2.7 * 10**3 #Collector resistance (in ohm) \n",
+ "hfe = 120.0 #current gain\n",
+ "hie = 1.175 * 10**3 #hie (in ohm)\n",
+ "hoe = 20 * 10**-6 #hoe (in Ampere per volt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ri = hie #Input resistance of transistor (in ohm)\n",
+ "Ris = hie * RB /(hie + RB) #Input resistance of the circuit (in ohm)\n",
+ "Ro = 1 / hoe #Output resistance of transistor (in ohm)\n",
+ "Ros = Ro * RC / (Ro + RC) #Output resistance of the circuit (in ohm)\n",
+ "Ai = hfe #Current gain of the circuit\n",
+ "Avs = Ai * RC / Ri #Overall voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance of the circuit is \",round(Ris * 10**-3,2),\" kilo-ohm.\\nOutput resistance of the circuit is \",round(Ros * 10**-3,2),\" kilo-ohm.\\nCurrent gain of the circuit is \",Ai,\".\\nVoltage gain of the circuit is \",round(Avs,1),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance of the circuit is 1.17 kilo-ohm.\n",
+ "Output resistance of the circuit is 2.56 kilo-ohm.\n",
+ "Current gain of the circuit is 120.0 .\n",
+ "Voltage gain of the circuit is 275.7 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.11 , Page Number 649"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hfe = 50.0 #Current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "hfb = -hfe / (1 + hfe) #hfb\n",
+ "hfc = -(1 + hfe) #hfc \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of hfb = \",round(hfb,2),\".\\nValue of hfc = \",hfc,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of hfb = -0.98 .\n",
+ "Value of hfc = -51.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.12 , Page Number 649"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hie = 1100.0 #hie (in ohm)\n",
+ "hre = 2.5 * 10**-4 #hre\n",
+ "hfe = 50.0 #Current gain\n",
+ "hoe = 24.0 * 10**-6 #hoe (in Ampere per volt)\n",
+ "rL = RL = 10.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 (in ohm)\n",
+ "hrc = (1 - hre) #hrc\n",
+ "hfc = -(1 + hfe) #hfc\n",
+ "Ai = -(hfc/(1 + hoe * rL)) #Current gain\n",
+ "Ri = hic + hrc * Ai * rL #Input resistance (in ohm)\n",
+ "Av = Ai * rL / Ri #Voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Current gain is \",round(Ai,1),\".\\nInput resistance is \",round(Ri * 10**-3,1),\" kilo-ohm.\\nVoltage gain is \",round(Av,3),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current gain is 41.1 .\n",
+ "Input resistance is 412.3 kilo-ohm.\n",
+ "Voltage gain is 0.998 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_4.ipynb
new file mode 100644
index 00000000..41dd2f3c
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_4.ipynb
@@ -0,0 +1,491 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1adbacabb5391b7ec0914bdea7be4967c3225d247b9edb92e72750634ec2b9e5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 26 , Multistage BJT Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.1 , Page Number 658"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av1 = 10.0 #Voltage gain1\n",
+ "Av2 = 20.0 #Voltage gain2\n",
+ "Av3 = 40.0 #Voltage gain3\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = Av1 * Av2 * Av3 #Voltage gain\n",
+ "Gv1 = 20 * math.log10(Av1) #dB voltage gain1\n",
+ "Gv2 = 20 * math.log10(Av2) #dB voltage gain2\n",
+ "Gv3 = 20 * math.log10(Av3) #dB voltage gain3\n",
+ "Gv = Gv1 + Gv2 + Gv3 #dB voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Overall voltage gain is \",Av,\".\\nTotal dB voltage gain is \",round(Gv),\" dB.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Overall voltage gain is 8000.0 .\n",
+ "Total dB voltage gain is 78.0 dB.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.2 , Page Number 659"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "n = 3 #Number of amplified stages\n",
+ "Vin1 = 0.05 #Input to first stage (in volts peak-to-peak)\n",
+ "Vout3 = 150.0 #Output of final stage (in volts peak-to-peak)\n",
+ "Av1 = 20.0 #Voltage gain of first stage \n",
+ "Vin3 = 15.0 #Input of final stage (in volts peak-to-peak) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = Vout3 / Vin1 #Overall voltage gain\n",
+ "Av3 = Vout3 / Vin3 #Voltage gain of third stage\n",
+ "Av2 = Av / (Av1 * Av3) #Voltage gain of second stage\n",
+ "Vin2 = Vin3 / Av2 #Input voltage gain of second stage \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Overall voltage gain is \",Av,\".\\nVoltage gain of 2nd and 3rd stage is \",Av2,\" and \",Av3,\".\\nInput voltage of the second stage is \",Vin2,\" Vpk-pk.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Overall voltage gain is 3000.0 .\n",
+ "Voltage gain of 2nd and 3rd stage is 15.0 and 10.0 .\n",
+ "Input voltage of the second stage is 1.0 Vpk-pk.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.3 , Page Number 663"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RC = 5.0 * 10**3 #Collector resistance (in ohm) \n",
+ "RB = 1.0 * 10**6 #Base resistance (in ohm)\n",
+ "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
+ "RL = 10.0 * 10**3 #Load resistance (in ohm)\n",
+ "beta1 = beta2 = 100.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IE = VCC /(RE + RB/beta1) #Emitter current (in Ampere)\n",
+ "r1e = 25.0/IE * 10**-3 #a.c. emitter diode resistance (in ohm)\n",
+ "Ri1 = beta1 * r1e #Input resistance of first stage (in ohm)\n",
+ "Ri2 = beta2 * r1e #Input resistance of second stage (in ohm)\n",
+ "Ro1 = RC * Ri2 / (RC + Ri2) #Output resistance of first stage (in ohm)\n",
+ "Ro2 = RC * RL / (RC + RL) #Output resitance of second stage (in ohm)\n",
+ "Av1 = Ro1 / r1e #Voltage gain of first stage\n",
+ "Av2 = Ro2 / r1e #Voltage gain of second stage\n",
+ "Av = Av1 * Av2 #Overall voltage gain\n",
+ "Gv = 20 * math.log10(Av) #Overall dB voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance of first and scond stage is \",round(Ri1),\" ohm and \",round(Ri2),\" ohm.\\nOutput resistance of first and second stage is \",round(Ro1,1),\" ohm and \",round(Ro2,1),\" ohm.\\nVoltage gain of first and second stage is \",round(Av1),\" and \",round(Av2,1),\".\\nOverall voltage gain and dB voltage gain is \",round(Av),\" and \",round(Gv,1),\" dB.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input resistance of first and scond stage is 2750.0 ohm and 2750.0 ohm.\n",
+ "Output resistance of first and second stage is 1774.2 ohm and 3333.3 ohm.\n",
+ "Voltage gain of first and second stage is 65.0 and 121.2 .\n",
+ "Overall voltage gain and dB voltage gain is 7820.0 and 77.9 dB.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.4 , Page Number 664"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 15.0 #Source voltage (in volts)\n",
+ "RC = 3.3 * 10**3 #Collector resistance (in ohm) \n",
+ "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
+ "RL = 10.0 * 10**3 #Load resistance (in ohm)\n",
+ "R1 = 33.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 8.2 * 10**3 #Resistance (in ohm)\n",
+ "beta1 = beta2 = 100.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "Rth = R1 * R2 / (R1 + R2) #Thevenin's equivalent resistance (in ohm)\n",
+ "IE = (Vth - VBE)/(RE + Rth/beta1) #Emitter current (in Ampere)\n",
+ "r1e = 25.0/IE * 10**-3 #a.c. emitter resistance (in ohm)\n",
+ "Ri2 = beta1 * r1e #Input resistance of second stage (in ohm)\n",
+ "Ro1 = RC * Ri2 / (RC + Ri2) #Output resistance of first stage (in ohm)\n",
+ "Ro2 = RC * RL /(RC + RL) #Output resistance of second stage (in ohm)\n",
+ "Av1 = Ro1 / r1e #Voltage gain of the first stage\n",
+ "Av2 = Ro2 / r1e #Voltage gain of second stage\n",
+ "Av = Av1 * Av2 #Overall voltage gain\n",
+ "Gv = 20 * math.log10(Av) #Overall voltage (in decibels)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain of stage one and two are as follows \",round(Av1,2),\" and \",round(Av2,2),\".\\nOverall voltage gain is \",round(Av),\".\\nOverall voltage gain in decibels is \",round(Gv,1),\" dB.\"\n",
+ "\n",
+ "#Slight variation in the value of Av2 and Av due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain of stage one and two are as follows 73.9 and 212.85 .\n",
+ "Overall voltage gain is 15728.0 .\n",
+ "Overall voltage gain in decibels is 83.9 dB.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.5 , Page Number 669"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RB = 470.0 * 10**3 #Base resistance (in ohm) \n",
+ "RE = 1.0 * 10**3 #Emitter resistance (in ohm)\n",
+ "RL = 1.0 * 10**3 #Load resistance (in ohm)\n",
+ "a = 4.0 #Turn's ratio\n",
+ "beta1 = beta2 = 50.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IE = VCC/ (RE + RB/beta1) #Emitter current (in Ampere)\n",
+ "r1e = 25.0 / IE * 10**-3 #a.c. emitter diode resistance (in ohm)\n",
+ "Ri1 = RB*beta1*r1e/(RB+beta1*r1e) #Input resistance of first stage (in ohm)\n",
+ "Ri2 = RB*beta2*r1e/(RB+beta2*r1e) #Input resistance of Second stage (in ohm)\n",
+ "R1i2 = a**2 * Ri2 #Input resistance of the second stage transformed to primary side (in ohm)\n",
+ "Ro1 = R1i2 #Output resistance of second stage (in ohm)\n",
+ "R1o2 = a**2 * RL #Output resistance of the second stage transformed to the primary side (in ohm) \n",
+ "Av1 = Ro1/r1e #Voltage gain of first stage\n",
+ "Av2 = R1o2/r1e #Voltage gain of second stage\n",
+ "Av = Av1 * Av2 #Overall voltage gain\n",
+ "Gv = 20 * math.log10(Av) #Overall voltage gain (in decibels) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain of first stage is \",round(Av1,1),\".\\nVoltage gain of second stage is \",round(Av2,1),\".\\nOverall voltage gain is \",round(Av),\".\\nOverall voltage gain in decibels is \",round(Gv),\" dB.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain of first stage is 797.8 .\n",
+ "Voltage gain of second stage is 615.4 .\n",
+ "Overall voltage gain is 490950.0 .\n",
+ "Overall voltage gain in decibels is 114.0 dB.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.6 , Page Number 672"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 12.0 #Source voltage (in volts)\n",
+ "R1 = 100.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "R3 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "R4 = 2.0 * 10**3 #Resistance (in ohm)\n",
+ "R5 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "R6 = 2.0 * 10**3 #Resistance (in ohm)\n",
+ "beta1 = beta2 = 100.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vth = VCC * R2 / (R1 + R2) #Thevenin's voltage (in volts)\n",
+ "IE1 = Vth / R4 #Emitter curren1 (in Ampere)\n",
+ "r1e = 25.0 / IE1 * 10**-3 #a.c. emitter diode resistance (in ohm) \n",
+ "VR6 = VCC - IE1 * R3 #Voltage across resistance6 (in volts)\n",
+ "IE2 = VR6 / R6 #Emitter current2 (in Ampere)\n",
+ "r1e2 = 25.0 / IE2 * 10**-3 #a.c. emitter diode resistance2 (in ohm)\n",
+ "Ri2 = beta2*(r1e2 + R6) #Input resistance of second stage (in ohm)\n",
+ "Ro1 = R3 * Ri2 /(R3 + Ri2) #Output resistance of first stage (in ohm)\n",
+ "Ro2 = R5 #Output resistance of second stage (in ohm)\n",
+ "Av1 = Ro1/(r1e + R4) #Voltage gain of first stage \n",
+ "Av2 = Ro2/(r1e2 + R6) #Voltage gain of second stage\n",
+ "Av = Av1 * Av2 #Overall voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain of first stage is \",round(Av1,1),\".\\nVoltage gain of second stage is \",round(Av2,1),\".\\nOverall voltage gain is \",round(Av,2),\".\"\n",
+ "\n",
+ "#Calculation mistake in book about Ro1 , therefore slight variation in the answers."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain of first stage is 4.7 .\n",
+ "Voltage gain of second stage is 4.9 .\n",
+ "Overall voltage gain is 23.24 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.7 , Page Number 674"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "R1 = 800.0 #Resistance (in ohm)\n",
+ "R2 = 200.0 #Resistance (in ohm)\n",
+ "R3 = 600.0 #Resistance (in ohm)\n",
+ "R4 = 200.0 #Resistance (in ohm)\n",
+ "R5 = 100.0 #Resistance (in ohm)\n",
+ "R6 = 1000.0 #Resistance (in ohm)\n",
+ "beta1 = beta2 = 100.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VR2 = VCC * (R2 / (R1 + R2)) #Voltage across resistance2 (in volts)\n",
+ "IE1 = (VR2 - VBE)/R2 #Emitter current of Q1 transistor (in Ampere)\n",
+ "IC1 = IE1 #Collector current of Q1 transistor (in Ampere)\n",
+ "VC1 = VCC - IC1 * R3 #Voltage at the collector of Q1 transistor (in volts)\n",
+ "VE1 = IE1 * R4 #Voltage at the emitter of Q1 transistor (in volts)\n",
+ "VCE1 = VC1 - VE1 #Collector-to-emitter voltage of Q1 transistor (in volts)\n",
+ "VE2 = VC1 - (-VBE) #Voltage at the emitter of Q2 transistor (in volts)\n",
+ "IE2 = (VCC - VE2)/R6 #Emitter current of Q2 transistor (in Ampere)\n",
+ "IC2 = IE2 #Collector-current of Q2 transistor (in Ampere)\n",
+ "VC2 = IC2 * R5 #Voltage at the collector of Q2 transistor (in volts)\n",
+ "VCE2 = VC2 - VE2 #Collector-to-emitter voltage of Q2 transistor (in volts)\n",
+ "\n",
+ "r1e1 = 25.0 / IE1 * 10**-3 #a.c. emitter diode resistance of Q1 transistor (in ohm)\n",
+ "r1e2 = 25.0 / IE2 * 10**-3 #a.c. emitter diode resistance of Q2 transistor (in ohm)\n",
+ "Ri2 = beta2 * (r1e2 + R6) #Input resistance of second stage (in ohm)\n",
+ "Ro1 = R3 * Ri2 / (R3 + Ri2) #Output resistance of first stage (in ohm)\n",
+ "Av1 = Ro1 / (r1e1 + R4) #Voltage gain of first stage\n",
+ "Av2 = 1.0 #Voltage gain of second stage \n",
+ "Av = Av1 * Av2 #Overall voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Emitter current of Q1 transistor is \",IE1 * 10**3,\" mA.\\nCollector current of Q1 transistor is \",IC1 * 10**3,\" mA.\\nEmitter current of Q2 transistor is \",IE2 * 10**3,\" mA.\\nCollecotr-current of Q2 transistor is \",IC2 * 10**3,\" mA.\"\n",
+ "print \"Collector-to-emitter voltage of Q1 transistor is \",VCE1,\" v.\\nCollector-to-emitter voltage of Q2 transistor is \",VCE2,\".\"\n",
+ "print \"Overall voltage gain is \",round(Av,2),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Emitter current of Q1 transistor is 6.5 mA.\n",
+ "Collector current of Q1 transistor is 6.5 mA.\n",
+ "Emitter current of Q2 transistor is 3.2 mA.\n",
+ "Collecotr-current of Q2 transistor is 3.2 mA.\n",
+ "Collector-to-emitter voltage of Q1 transistor is 4.8 v.\n",
+ "Collector-to-emitter voltage of Q2 transistor is -6.48 .\n",
+ "Overall voltage gain is 2.93 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 26.8 , Page Number 679"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RE = 1.5 * 10**3 #Emitter resistance (in ohm)\n",
+ "R1 = 30.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "beta1 = 150.0 #Common emitter current gain\n",
+ "beta2 = 100.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ai = beta1 * beta2 #Overall current gain of transistor\n",
+ "VR2 = VCC * R2/(R1 + R2) #Voltage across resistor2 (in volts)\n",
+ "VB2 = VR2 - VBE #Voltage at the base of Q2 (in volts)\n",
+ "VE2 = VB2 - VBE #Voltage at the emitter of Q2 (in volts)\n",
+ "IE2 = VE2 / RE #Emitter current of Q2 (in Ampere)\n",
+ "r1e2 = 25.0/IE2 * 10**-3 #a.c. emitter diode resistance of Q2 (in ohm)\n",
+ "IB2 = IE2 / beta2 #Base current of Q2 (in Ampere)\n",
+ "IE1 = IB2 #Emitter current of Q2\n",
+ "r1e1 = 25.0/IE1 * 10**-3 #a.c. emitter diode resistance of Q1 (in ohm) \n",
+ "Ri1 = R1 * R2/(R1 + R2) #Total input resistance (in ohm)\n",
+ "Av = RE/(r1e1/beta2 + r1e2 + RE) #Overall voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The overall current gain is \",Ai,\".\"\n",
+ "print \"The a.c. emitter diode resistance of Q1 transistor is \",round(r1e1,1),\" ohm.\\nThe a.c. emitter diode resistance of Q2 transistor is \",round(r1e2,2),\" ohm.\"\n",
+ "print \"Total input resistance is \",Ri1 * 10**-3,\" kilo-ohm.\"\n",
+ "print \"Overall voltage gain is \",round(Av,2),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The overall current gain is 15000.0 .\n",
+ "The a.c. emitter diode resistance of Q1 transistor is 1442.3 ohm.\n",
+ "The a.c. emitter diode resistance of Q2 transistor is 14.42 ohm.\n",
+ "Total input resistance is 12.0 kilo-ohm.\n",
+ "Overall voltage gain is 0.98 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_4.ipynb
new file mode 100644
index 00000000..433935a4
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_4.ipynb
@@ -0,0 +1,782 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 27 , Power Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.1 , Page Number 689"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector current at saturation point is 8.77 mA.\n",
+ "Collector-to-emitter voltage at saturation point is 0 V.\n",
+ "Collector current at cut off point is 0 mA.\n",
+ "Collector-to-emitter voltage at cut-off point is 5.26 V.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x6269f30>"
+ ]
+ },
+ "execution_count": 1,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAEZCAYAAABsPmXUAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt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d19bbR9FbCtu1+ScFhAeHYCGOjuF6Rx7hjglhKlGomReu4i2eWoqOe8mHDj\n/E9JB1TM3YsIK6w1Le88M9sGaK7EnlnquYuI5CD13EVEcpCSu4hIDlJyFxHJQUruIiI5SMldRCQH\nKbmLiOSg/wedVsAa/LN/MwAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x26fc390>"
+ ]
+ },
+ "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",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "R1 = 10.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 5.0 #Resistance (in kilo-ohm)\n",
+ "RC = 1.0 #Collector resistance (in kilo-ohm) \n",
+ "RE = 500.0 * 10**-3 #Emitter resistance (in kilo-ohm) \n",
+ "RL = 1.5 #Load resistance (in kilo-ohm)\n",
+ "beta = 100.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VR2 = VCC * (R2 /(R1 + R2)) #Voltage drop across R2 (in volts)\n",
+ "IEQ = (VR2 - VBE) / RE #Emitter current (in milli-Ampere)\n",
+ "ICQ = IEQ #Collector current (in milli-Ampere)\n",
+ "VCEQ = VCC - ICQ * (RC + RE) #Collector-to-Emitter voltage (in volts)\n",
+ "rL = RC * RL /(RC + RL) #a.c. load resistance (in kilo-ohm)\n",
+ "ICsat = ICQ + VCEQ / rL #Collector current at saturation point (in milli-Ampere) \n",
+ "VCEsat = 0 #Voltage at saturation point (in volts)\n",
+ "ICcutoff = 0 #Collector current at cut off point (in milli-Ampere)\n",
+ "VCEcutoff = VCEQ + ICQ * rL #Collector-to-emitter voltage at cut-off point (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector current at saturation point is \",round(ICsat,2),\" mA.\\nCollector-to-emitter voltage at saturation point is \",VCEsat,\" V.\"\n",
+ "print \"Collector current at cut off point is \",ICcutoff,\" mA.\\nCollector-to-emitter voltage at cut-off point is \",VCEcutoff,\" V.\"\n",
+ "\n",
+ "#Slight variation due to higher precision.\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,5.27,100)\n",
+ "plot(x,8.78 - 8.78/5.27 * x)\n",
+ "title(\"a.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")\n",
+ "annotate(\"Q\",xy=(2.11,5.26))\n",
+ "annotate(\"8.78\",xy=(0,8.78))\n",
+ "annotate(\"5.27\",xy=(5.27,0))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.2 , Page Number 691"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Overall compliance (PP) of the amplifier is 9.61 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "VCC = 20.0 #Source voltage (in volts)\n",
+ "R1 = 10.0 #Resistance (in kilo-ohm)\n",
+ "R2 = 1.8 #Resistance (in kilo-ohm)\n",
+ "RC = 620.0 * 10**-3 #Collector resistance (in kilo-ohm) \n",
+ "RE = 200.0 * 10**-3 #Emitter resistance (in kilo-ohm) \n",
+ "RL = 1.2 #Load resistance (in kilo-ohm)\n",
+ "beta = 180.0 #Common emitter current gain\n",
+ "VBE = 0.7 #Emitter-to-Base voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VB = VCC * (R2 /(R1 + R2)) #Voltage drop across R2 (in volts)\n",
+ "VE = VB - VBE #Voltage at the emitter (in volts)\n",
+ "IE = VE / RE #Emitter current (in milli-Ampere)\n",
+ "IC = IE #Collector current (in milli-Ampere)\n",
+ "VCE = VCC - IE*(RC + RE) #Collector-to-emitter voltage (in volts)\n",
+ "ICEQ = IC #Collector current at Q (in milli-Ampere)\n",
+ "VCEQ = VCE #Collector-to-emitter voltage at Q (in volts) \n",
+ "rL = RC * RL/(RC + RL) #a.c. load resistance (in kilo-ohm) \n",
+ "PP = 2 * ICEQ * rL #Compliance of the amplifier (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Overall compliance (PP) of the amplifier is \",round(PP,2),\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.3 , Page Number 694"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is 27.5 and Power gain is 1375.0 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "r1e = 8.0 #a.c. load resistance (in ohm)\n",
+ "RC = 220.0 #Collector resistance (in ohm)\n",
+ "RE = 47.0 #Emitter resistance (in ohm)\n",
+ "R1 = 4.7 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 470.0 #Resistance (in ohm)\n",
+ "beta = 50.0 #Common emitter current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RC #Load resistance (in ohm)\n",
+ "Av = rL / r1e #Voltage gain\n",
+ "Ai = beta #Current gain\n",
+ "Ap = Av * Ai #Power gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",Av,\" and Power gain is \",Ap,\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.4 , Page Number 698"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Collector efficiency is 25.0 % .\n",
+ "Power rating of the transistor is 20.0 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "Ptrdc = 20.0 #dc Power (in watt)\n",
+ "Poac = 5.0 #ac Power (in watt) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ne = Poac / Ptrdc #Collector efficiency \n",
+ "P = Ptrdc #Power rating of the transistor\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Collector efficiency is \",ne * 100,\"% .\\nPower rating of the transistor is \",P,\" W.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.5 , Page Number 699"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The a.c. power output is 4.7 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "Pcdc = 10.0 #dc power (in watt)\n",
+ "ne = 0.32 #efficiency\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Poac = ne * Pcdc / (1 - ne) #a.c. power output (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The a.c. power output is \",round(Poac,1),\" W.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.6 , Page Number 699"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Total power within the circuit is 7.0 W.\n",
+ "The power Pcdc = 3.5 W is dissipated in the form of heat within the transistor collector region.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "nc = 0.5 #Efficiency\n",
+ "VCC = 24.0 #Source voltage (in volts)\n",
+ "Poac = 3.5 #a.c. power output (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ptrdc = Poac / nc #dc power (in watt)\n",
+ "Pcdc = Ptrdc - Poac #Power dissipated as heat (in watt) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Total power within the circuit is \",Ptrdc,\" W.\\nThe power Pcdc = \",Pcdc,\" W is dissipated in the form of heat within the transistor collector region.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.7 , Page Number 699"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Power supplied by the d.c. source to the amplifier circuit is 12.0 W.\n",
+ "D.C. power consumed by the load resistor is 5.76 W.\n",
+ "A.C. power developed across the load resistor is 0.72 W.\n",
+ "D.C. power delivered to the transistor is 6.24 W.\n",
+ "D.C. power wasted in the transistor collector is 5.52 W.\n",
+ "Overall efficiency is 0.06 .\n",
+ "Collector efficiency is 11.5 % .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "VCC = 20.0 #Supply voltage (in volts)\n",
+ "VCEQ = 10.0 #Collector-to-emitter voltage (in volts)\n",
+ "ICQ = 600.0 * 10**-3 #Collector current (in Ampere)\n",
+ "RL = 16.0 #Load resistance (in ohm)\n",
+ "Ip = 300.0 * 10**-3 #Output current variation (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Pindc = VCC * ICQ #dc power supplied (in watt)\n",
+ "PRLdc = ICQ**2 * RL #dc power consumed by load resistor (in watt) \n",
+ "I = Ip / 2**0.5 #r.m.s. value of Collector current (in Ampere) \n",
+ "Poac = I**2 * RL #a.c. power across load resistor (in ohm) \n",
+ "Ptrdc = Pindc - PRLdc #dc power delievered to transistor (in watt)\n",
+ "Pcdc = Ptrdc - Poac #dc power wasted in transistor collector (in watt) \n",
+ "no = Poac / Pindc #Overall efficiency\n",
+ "nc = Poac / Ptrdc #Collector efficiency \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power supplied by the d.c. source to the amplifier circuit is \",Pindc,\" W.\"\n",
+ "print \"D.C. power consumed by the load resistor is \",PRLdc,\" W.\"\n",
+ "print \"A.C. power developed across the load resistor is \",Poac,\" W.\"\n",
+ "print \"D.C. power delivered to the transistor is \",Ptrdc,\" W.\"\n",
+ "print \"D.C. power wasted in the transistor collector is \",Pcdc,\" W.\"\n",
+ "print \"Overall efficiency is \",no,\".\"\n",
+ "print \"Collector efficiency is \",round(nc * 100,1),\"% .\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.8 , Page Number 702"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The effective resistance is 1.8 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "a = 15.0 #Turns ratio\n",
+ "RL = 8.0 #Load resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R1L = a**2 * RL #Effective resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The effective resistance is \",R1L * 10**-3,\" kilo-ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.9 , Page Number 702"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Turns ratio is 25.0 : 1.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "RL = 16.0 #Load resistance (in ohm)\n",
+ "R1L = 10.0 * 10**3 #Effective resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "a = (R1L / RL)**0.5 #Turns ratio\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Turns ratio is \",a,\": 1.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.10 , Page Number 702"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The maximum power delievered to load is 100.0 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "RL = 8.0 #Load resistance (in ohm)\n",
+ "a = 10.0 #Turns ratio\n",
+ "ICQ = 500.0 * 10**-3 #Collector current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R1L = a**2 * RL #Effective load (in ohm)\n",
+ "Poac = 1.0/2* ICQ**2 * R1L #Maximum power delieverd (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The maximum power delievered to load is \",Poac,\" W.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.11 , Page Number 702"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Maximum undistorted a.c. output power is 0.05 W.\n",
+ "Quiescent collector current is 0.01 A.\n",
+ "Transformer turns ratio is 8.0 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "Ptrdc = 100.0 * 10**-3 #Maximum collector dissipated power (in watt)\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "RL = 16.0 #Load resistance (in ohm)\n",
+ "no = nc = 0.5 #Efiiciency\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Poac = no * Ptrdc #Maximum undistorted a.c. output power (in watt)\n",
+ "ICQ = 2 * Poac / VCC #Quiescent collector current (in Ampere)\n",
+ "R1L = VCC / ICQ #Effective load resistance (in ohm)\n",
+ "a = (R1L / RL)**0.5\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum undistorted a.c. output power is \",Poac,\" W.\\nQuiescent collector current is \",ICQ,\" A.\\nTransformer turns ratio is \",round(a),\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.12 , Page Number 703"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Power transferred when directly connected is 4.9 mW.\n",
+ "The average power transferred to the speaker is 260.0 mW.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "VCC = 10.0 #Source voltage (in volts)\n",
+ "Ip = 50.0 * 10**-3 #Collector current (in Ampere)\n",
+ "RL = 4.0 #Load resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "I = round(Ip / 2**0.5,3) #r.m.s. value of collector current (in Ampere)\n",
+ "Poac = I**2 * RL #Average power delievered (in watt)\n",
+ "V1 = VCC #Primary voltage (in volts)\n",
+ "R1L = V1 / Ip #Effective load resistance (in ohm)\n",
+ "a = round((R1L / RL)**0.5) #Turns ratio\n",
+ "V2 = V1 / a #Secondary voltage (in volts)\n",
+ "I2p = V2 / RL #Peak value of secondary current (in Ampere)\n",
+ "I2 = I2p / 2**0.5 #r.m.s. value of secondary current (in Ampere)\n",
+ "Pavg = I2**2 * RL #Average power transferred to speaker (in watt) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power transferred when directly connected is \",Poac * 10**3,\" mW.\" \n",
+ "print \"The average power transferred to the speaker is \",round(Pavg,2) * 10**3,\" mW.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.13 , Page Number 706"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Power delivered to the load is 0.1 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "RL = 1.0 * 10**3 #Load resistance (in ohm)\n",
+ "IC = 10.0 * 10**-3 #Collector current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "PL = IC**2 * RL #Load power (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Power delivered to the load is \",PL,\" W.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.14 , Page Number 710"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The power drawn from the source is 16.0 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "RL = 8.0 #Load resistance (in ohm)\n",
+ "VP = 16.0 #Peak output voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "P = VP**2 / (2 * RL) #Power drawn from the source (in watt) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The power drawn from the source is \",P,\" W.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.15 , Page Number 710"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 16,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Maximum power output is 73.02 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "Pcdc = 10.0 #Power rating of amplifier (in watt)\n",
+ "n = 0.785 #Maximum overall efficiency \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "PT = 2 * Pcdc #Total power dissipation of two transistors (in watt)\n",
+ "Poac = (PT * n) / (1-n) #Maximum power output (in watt)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum power output is \",round(Poac,2),\" W.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 27.16 , Page Number 711"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The d.c. input power is 12.5 W.\n",
+ "The a.c. output power is 7.5 W.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "no = 0.6 #efficiency \n",
+ "Pcdc = 2.5 #Maximum collector dissipation of each transistor (in watt)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "PT = 2 * Pcdc #Total power dissipation of two transistors (in watt)\n",
+ "Pindc = PT / (1 - no ) #dc input power (in watt)\n",
+ "Poac = no * Pindc #ac output power (in watt) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The d.c. input power is \",Pindc,\" W.\\nThe a.c. output power is \",Poac,\" W.\""
+ ]
+ }
+ ],
+ "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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_4.ipynb
new file mode 100644
index 00000000..6c1d54c3
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_4.ipynb
@@ -0,0 +1,271 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a760aed16bae58a496fddddaee6e49db519972c26c6f372274bdabcee7c8db3b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 28 , Tuned Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.1 , Page Number 717"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "L = 150.0 * 10**-6 #Inductance (in Henry)\n",
+ "C = 100.0 * 10**-12 #Capacitance (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fo = 0.159 / (L * C)**0.5 #Resonant frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The resonant frequency is \",round(fo * 10**-6,1),\" MHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resonant frequency is 1.3 MHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.2 , Page Number 718"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "L = 100.0 * 10**-6 #Inductance (in Henry)\n",
+ "C = 100.0 * 10**-12 #Capacitance (in Farad)\n",
+ "R = 5.0 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fo = 0.159 / (L * C)**0.5 #Resonant frequency (in Hertz)\n",
+ "Zp = L / (C*R) #Circuit impedance at resonance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resonant frequency is \",fo * 10**-6,\" MHz.\\nCircuit impedance at resonance is \",Zp * 10**-3,\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resonant frequency is 1.59 MHz.\n",
+ "Circuit impedance at resonance is 200.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.3 , Page Number 720"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 1.0 * 10**6 #Resonant frequency (in Hertz)\n",
+ "Qo = 100.0 #Quality factor\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "BW = fo / Qo #Bandwidth (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Bandwidth of the circuit is \",BW * 10**-3,\" kHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Bandwidth of the circuit is 10.0 kHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.4 , Page Number 720"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 1600.0 * 10**3 #Resonant frequency (in Hertz)\n",
+ "BW = 10.0 * 10**3 #Bandwidth (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Qo = fo / BW #Quality factor\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The Q-factor is \",Qo,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Q-factor is 160.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.5 , Page Number 720"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 2.0 * 10**6 #Resonant frequency (in Hertz)\n",
+ "BW = 50.0 * 10**3 #Bandwidth (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Qo = fo / BW #Quality factor\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The Q-factor is \",Qo,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Q-factor is 40.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.6 , Page Number 720"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 455.0 * 10**3 #Resonant frequency (in Hertz)\n",
+ "BW = 10.0 * 10**3 #Bandwidth (in Hertz)\n",
+ "XL = 1255.0 #Inductive reactance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Qo = fo / BW #Quality factor\n",
+ "R = XL / Qo #Resistance (in ohm)\n",
+ "L = XL / (2*math.pi*fo) #Inductance (in Henry)\n",
+ "C = 1 / (XL*2*math.pi*fo) #Capacitance (in Farad)\n",
+ "Zp = L / (C*R) #Circuit impedance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of circuit impedance at resonance is \",round(Zp * 10**-3),\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of circuit impedance at resonance is 57.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_4.ipynb
new file mode 100644
index 00000000..893f02e3
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_4.ipynb
@@ -0,0 +1,754 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:94c613f9e33d60c6bbad037ec5805751242a2be2fb5357365540a6d5b86b31b7"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 29 , Feedback Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.1 , Page Number 730"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 400.0 #Voltage gain\n",
+ "beta = 0.1 #feedback ratio\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A1v = Av / (1 + beta * Av) #Voltage gain with negative feedback\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The voltage gain of an amplifier with negative feedback is \",round(A1v,2),\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The voltage gain of an amplifier with negative feedback is 9.76 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.2 , Page Number 730"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 100.0 #Voltage gain\n",
+ "A1v = 20.0 #Voltage gain with negative feedback \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = (Av/A1v - 1) / Av #feedback ratio \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The percentage of the negative feedback is \",beta * 100,\"%.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The percentage of the negative feedback is 4.0 %.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.3 , Page Number 730"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 1000.0 #Voltage gain\n",
+ "A1v = 10.0 #Voltage gain with negative feedback \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = (Av/A1v - 1) / Av #feedback ratio \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The fraction of the output that is feedback to the input is \",beta,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The fraction of the output that is feedback to the input is 0.099 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.4 , Page Number 730"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1o = Vo = 12.5 #Output voltage (in volts)\n",
+ "V1in = 1.5 #Input voltage with feedback (in volts)\n",
+ "Vin = 0.25 #Input voltage without feedback (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = Vo / Vin #Voltage gain without negative feedback\n",
+ "A1v = V1o / V1in #Voltage gain with negative feedback\n",
+ "beta = (Av/A1v - 1) / Av #feedback ratio \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of voltage gain without negative feedback is \",Av,\".\\nThe value of voltage gain with negative feedback is \",round(A1v,2),\".\\nThe value of beta is \",beta,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of voltage gain without negative feedback is 50.0 .\n",
+ "The value of voltage gain with negative feedback is 8.33 .\n",
+ "The value of beta is 0.1 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.5 , Page Number 731"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 60.0 #Voltage gain\n",
+ "A1v = 80.0 #Voltage gain with negative feedback\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = (1 - Av/A1v ) / Av #feedback ratio \n",
+ "beta1 = 1/Av #feedback ratio which causes oscillation\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of feedback ratio is \",round(beta,3),\".\\nThe percentage of feedback which causes oscillation is \",round(beta1 * 100,1),\"%.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of feedback ratio is 0.004 .\n",
+ "The percentage of feedback which causes oscillation is 1.7 %.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.6 , Page Number 732"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "A1v = 100.0 #Voltage gain with negative feedback\n",
+ "Vin = 50.0 * 10**-3 #Input voltage without feedback (in volts)\n",
+ "V1in = 0.6 #Input voltage with feedback (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "V1o = A1v * V1in #Output voltage with feedback (in volts)\n",
+ "Vo = V1o #Output voltage without feedback (in volts) \n",
+ "Av = Vo / Vin #Voltage gain without feedback \n",
+ "beta = (Av/A1v - 1) / Av #feedback ratio \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of voltage gain without feedback is \",Av,\".\\nThe value of voltage gain with feedback is \",A1v,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of voltage gain without feedback is 1200.0 .\n",
+ "The value of voltage gain with feedback is 100.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.7 , Page Number 733"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 800.0 #Voltage gain\n",
+ "beta = 0.05 #Feedback ratio \n",
+ "dAvbyAv = 20.0 #Percentage change in open loop gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "dA1vbyA1v = 1 / (1 + beta*Av)*dAvbyAv #Percentage change in closed loop gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The percentage change in closed loop gain is \",round(dA1vbyA1v,1),\"%.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The percentage change in closed loop gain is 0.5 %.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.8 , Page Number 733"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "A1v = 100.0 #Voltage gain with feedback\n",
+ "dA1vbyA1v = 0.01 #Percentage change in closed loop gain \n",
+ "dAvbyAv = 0.20 #Percentage change in open loop gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "betamultAvplus1 = dAvbyAv/dA1vbyA1v #Product of feedback ratio and voltage ratio plus one\n",
+ "Av = A1v * betamultAvplus1 #Voltage gain without feedback \n",
+ "beta = betamultAvplus1 / Av #Feedback ratio \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of Av is \",Av,\".\\nThe value of beta is \",beta,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Av is 2000.0 .\n",
+ "The value of beta is 0.01 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.9 , Page Number 735"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 100.0 #Voltage gain without feedback\n",
+ "BW = 200.0 * 10**3 #Bandwidth without feedback (in Hertz)\n",
+ "beta = 0.05 #Feedback ratio\n",
+ "BWn = 1.0 * 10**6 #New bandwidth without feedback (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "BW1 = (1 + beta*Av) * BW #Bandwidth with feedback (in Hertz) \n",
+ "A1v = Av/(1 + beta*Av) #Voltage gain with feedback\n",
+ "beta1 = (BWn/BW - 1)/Av #Amount of feedback required \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The new bandwidth is \",BW1 * 10**-3,\" kHz.\\nThe new gain is \",round(A1v,1),\".\"\n",
+ "print \"Amout of feedback required when BW = 1MHz is \",beta1 * 100,\"%.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The new bandwidth is 1200.0 kHz.\n",
+ "The new gain is 16.7 .\n",
+ "Amout of feedback required when BW = 1MHz is 4.0 %.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.10 , Page Number 735"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 1500.0 #Voltage gain\n",
+ "BW = 4.0 * 10**6 #Bandwidth wihtout feedback (in Hertz)\n",
+ "A1v = 150.0 #Voltage gain with feedback\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = (Av/A1v -1) / Av #Feedback ratio\n",
+ "BW1 = (1 + beta*Av) * BW #Bandwidth with feedback (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of feedback factor is \",beta * 100,\"%.\\nThe value of bandwidth with feedback is \",BW1 * 10**-6,\" MHz.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of feedback factor is 0.6 %.\n",
+ "The value of bandwidth with feedback is 40.0 MHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.11 , Page Number 736"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Rin = 4.2 * 10**3 #Input resistance (in ohm)\n",
+ "Av = 220.0 #Voltage gain without feedback\n",
+ "beta = 0.01 #Feedback ratio\n",
+ "f1 = 1.5 * 10**3 #Cut off frequency without feedback (in Hertz)\n",
+ "f2 = 501.5 * 10**3 #Cut off frequency with feedback (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R1i = (1 + beta * Av) * Rin #Input resistance of feedback amplifier (in ohm)\n",
+ "f11 = f1 / (1 + beta * Av) #New cut off frequency without feedback (in Hertz) \n",
+ "f21 = (1 + beta * Av) * f2 #New cut off frequency with feedback (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of input resistance with feedback is \",R1i * 10**-3,\" kilo-ohm.\\nNew cut off frequency without feedback is \",round(f11),\" Hz.\\nNew cut off frequency with feedback is \",f21 * 10**-3,\" kHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of input resistance with feedback is 13.44 kilo-ohm.\n",
+ "New cut off frequency without feedback is 469.0 Hz.\n",
+ "New cut off frequency with feedback is 1604.8 kHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.12 , Page Number 737"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 1000.0 #Voltage gain without feedback\n",
+ "beta = 0.01 #Feedback ratio\n",
+ "f1 = 50.0 #Cut off frequency without feedback (in Hertz)\n",
+ "f2 = 200.0 * 10**3 #Cut off frequency with feedback (in Hertz)\n",
+ "D = 0.05 #Distortion \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A1v = Av / (1 + beta * Av) #Voltage gain with feedback\n",
+ "f11 = f1 / (1 + beta * Av) #New cut off frequency without feedback (in Hertz) \n",
+ "f21 = (1 + beta * Av) * f2 #New cut off frequency with feedback (in Hertz) \n",
+ "D1 = D/(1 + beta * Av) #New Distortion\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain with feedback is \",round(A1v,1),\".\\nf11 is \",round(f11,1),\" Hz.\\nf21 is \",f21 * 10**-6,\" MHz.\\nDistortion with feedback is \",round(D1 * 100,2),\"%.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain with feedback is 90.9 .\n",
+ "f11 is 4.5 Hz.\n",
+ "f21 is 2.2 MHz.\n",
+ "Distortion with feedback is 0.45 %.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.13 , Page Number 737"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 100.0 #Voltage gain without feedback\n",
+ "N = 0.8 #Reduction in noise\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "beta = ((1 - N)**-1 - 1)/Av #feedback ratio\n",
+ "A1v = Av / (1 + beta * Av) #Voltage gain with feedback\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Percentage of negative feedback is \",beta * 100,\"%.\\nVoltage gain with feedback is \",A1v,\".\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percentage of negative feedback is 4.0 %.\n",
+ "Voltage gain with feedback is 20.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.14 , Page Number 739"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Av = 300.0 #Voltage gain without feedback\n",
+ "Ri = 1.5 * 10**3 #Input resistance (in ohm)\n",
+ "Ro = 50.0 * 10**3 #Output resistance (in ohm)\n",
+ "beta = 1.0/15.0 #feedback ratio \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "A1v = Av/ (1 + beta*Av) #Voltage gain with feedback \n",
+ "R1i = (1 + beta* Av)* Ri #Input resistance with feedback (in ohm) \n",
+ "R1o = Ro/(1 + beta * Av) #Output resistance with feedback (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain with feedback is \",round(A1v,1),\".\\nInput resistance with feedback is \",R1i * 10**-3,\" kilo-ohm.\\nOutput resistance with feedback is \",round(R1o * 10**-3,1),\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain with feedback is 14.3 .\n",
+ "Input resistance with feedback is 31.5 kilo-ohm.\n",
+ "Output resistance with feedback is 2.4 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.15 , Page Number 741"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hfe = 100.0 #hfe \n",
+ "hie = 2.0 * 10**3 #hie (in ohm)\n",
+ "Re1 = 100.0 #Emitter resistance (in ohm)\n",
+ "R1 = 15.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 5.6 * 10**3 #Resistance (in ohm)\n",
+ "Rc = 470.0 #Collector resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ai = hfe #Current gain\n",
+ "Av = Ai * Rc / hie #Voltage gain \n",
+ "Ri = (R1*R2*hie)/(R1*R2+R2*hie+R1*hie) #Input resistance (in ohm) \n",
+ "beta = Re1 / Rc #feedback ratio \n",
+ "A1v = Av / (1 + beta * Av) #Voltage ratio with feedback\n",
+ "R1i = Ri*(1 + beta * Av) #Input resistancewith feedback (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain without feedback is \",Av,\".\\nInput resistance without feedback is \",round(Ri),\" kilo-ohm.\\nVoltage gain with feedback is \",round(A1v,2),\".\\nInput resistance with feedback is \",round(R1i,1),\" kilo-ohm.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain without feedback is 23.5 .\n",
+ "Input resistance without feedback is 1342.0 kilo-ohm.\n",
+ "Voltage gain with feedback is 3.92 .\n",
+ "Input resistance with feedback is 8051.1 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 29.16 , Page Number 743"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "hfe = 99.0 #hfe\n",
+ "hie = 2.0 * 10**3 #hie (in ohm)\n",
+ "Rc = 22.0 * 10**3 #Load resistor of frist stage (in ohm) \n",
+ "R4 = 100.0 #Emitter resistance of first stage (in ohm)\n",
+ "R1 = 220.0 * 10**3 #Biasing resistor of second stage (in ohm)\n",
+ "R2 = 22.0 * 10**3 #Biasing resistor of second stage (in ohm)\n",
+ "R1c = 4.7 * 10**3 #Load resistance of second stage (in ohm)\n",
+ "R3 = 7.8 * 10**3 #Feedback resistor from collector of second stage to emitter of first stage (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Ri = hie #Input resistance of first stage (in ohm)\n",
+ "Ro1 = (1/Rc + 1/R1 + 1/R2 + 1/hie)**-1 #Output resistance of first stage (in ohm)\n",
+ "Ri2 = hie #Input resistance of second stage (in ohm) \n",
+ "Ro2 = R1c * (R3 + R4)/(R1c + R3 + R4) #Output resistance of second stage (in ohm)\n",
+ "Av1 = hfe * Ro1 / hie #Voltage gain of first stage \n",
+ "Av2 = hfe * Ro2 / hie #Voltage gain of second stage \n",
+ "Av = Av1 * Av2 #Overall voltage gain without feedback\n",
+ "beta = R4 / (R3 + R4) #Feedback ratio\n",
+ "Ri1 = Ri*(1 + beta*Av) #Input resistance with feedback (in ohm)\n",
+ "R1o2 = Ro2 / (1 + beta * Av) #Output resistance with feedback (in ohm)\n",
+ "A1v = Av / (1 + beta * Av) #Overall voltage gain with feedback \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain without feedback is \",round(Av,1),\".\\nInput resistance of first stage without feedback is \",Ri * 10**-3,\" kilo-ohm.\\nInput resistance of second stage without feedback is \",Ri2 * 10**-3,\" kilo-ohm.\\nOutput resistance of first stage without feedback is \",round(Ro1 * 10**-3,2),\" kilo-ohm.\\nOutput resistance of second stage without feedback is \",round(Ro2 * 10**-3,2),\" kilo-ohm .\"\n",
+ "print \"Voltage gain with feedback is \",round(A1v,1),\".\\nInput resistance with feedback is \",round(Ri1 * 10**-3,2),\" kilo-ohm.\\nOutput resistance with feedback is \",round(R1o2 * 10**-3,3),\" kilo-ohm.\"\n",
+ "\n",
+ "#Calculation error in book about value of Av."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage gain without feedback is 12126.0 .\n",
+ "Input resistance of first stage without feedback is 2.0 kilo-ohm.\n",
+ "Input resistance of second stage without feedback is 2.0 kilo-ohm.\n",
+ "Output resistance of first stage without feedback is 1.68 kilo-ohm.\n",
+ "Output resistance of second stage without feedback is 2.95 kilo-ohm .\n",
+ "Voltage gain with feedback is 78.5 .\n",
+ "Input resistance with feedback is 308.99 kilo-ohm.\n",
+ "Output resistance with feedback is 0.019 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_4.ipynb
new file mode 100644
index 00000000..8b4fe821
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_4.ipynb
@@ -0,0 +1,922 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 30 , Field-Effect Transistor Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.1 , Page Number 750"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of drain-to-source voltage is 2.5 V.\n",
+ "Value of Gate-to-source voltage is -2.5 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ID = 5.0 * 10**-3 #Drain current (in Ampere)\n",
+ "VDD = 10.0 #Voltage (in volts)\n",
+ "RD = 1.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RS = 500.0 #Source resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VS = ID * RS #Source voltage (in volts)\n",
+ "VD = VDD - ID * RD #Drain voltage (in volts)\n",
+ "VDS = VD - VS #Drain-Source voltage (in volts)\n",
+ "VGS = -VS #Gate-to-source voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of drain-to-source voltage is \",VDS,\" V.\\nValue of Gate-to-source voltage is \",VGS,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.2 , Page Number 751"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of resistance R1 is 1.5 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RD = 56.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RG = 1.0 * 10**6 #Gate resistance (in ohm)\n",
+ "IDSS = 1.5 * 10**-3 #Drain to ground current (in Ampere)\n",
+ "Vp = -1.5 #Voltage (in volts)\n",
+ "VDD = 20.0 #Supply voltage (in volts)\n",
+ "VD = 10.0 #Drain voltage (in volts) \n",
+ "R = 4.0 * 10**3 #Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ID = (VDD - VD) / RD #Drain current (in Ampere) \n",
+ "VGS = (1 - (ID / IDSS)**0.5)*Vp #Gate-to-source voltage (in volts)\n",
+ "VS = -VGS #Source voltage (in volts) \n",
+ "R1 = VS / ID - R #Resistance R1 (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of resistance R1 is \",round(R1 * 10**-3,1),\" kilo-ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.3 , Page Number 752"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of RS is 933.0 ohm.\n",
+ "Value of RD is 5.7 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ID = 1.5 * 10**-3 #Drain current (in Ampere)\n",
+ "IDSS = 5.0 * 10**-3 #Drain-to-source current (in Ampere) \n",
+ "Vp = -2.0 #Voltage (in volts)\n",
+ "VDS = 10.0 #Drain-to-source voltage (in volts)\n",
+ "VDD = 20.0 #Supply voltage (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VGS = (1 - ID/IDSS)*Vp #Gate-to-Source voltage (in volts)\n",
+ "VS = -VGS #Source voltage (in volts)\n",
+ "RS = VS / ID #Source resistance (in ohm)\n",
+ "RD = (VDD - VDS) / ID - RS #Drain resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of RS is \",round(RS),\" ohm.\\nValue of RD is \",round(RD * 10**-3,1),\" kilo-ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.4 , Page Number 754"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Quiescent values of ID and VGS is 5.0 mA and -1.4 V.\n",
+ "D.C. voltage between drain and ground is 6.0 V.\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAEZCAYAAACaWyIJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xd4VHXWwPHvoQsiorLgigILgiAoohQRNIICKuquZbGj\n62JZbFjADiwWLC8W7GJvKIoFRBGVqCwg0juICoJ0RIpICTnvH+cGhjhJJsnM3EnmfJ7nPszcuXPv\nyU2YM78uqopzzrn0VSbsAJxzzoXLE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scSG4orL\nSwTOOZfmvETgnHNpzhOBc86lOU8EzjmX5jwROOdcmvNE4Jxzac4TgXPOpbn/B3m/W9+ewuSMAAAA\nAElFTkSuQmCC\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x2683f70>"
+ ]
+ },
+ "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",
+ "RD = 1.8 * 10**3 #Drain resistance (in ohm)\n",
+ "RS = 270.0 #Source resistance (in ohm)\n",
+ "RG = 10.0 * 10**6 #Resistance (in ohm)\n",
+ "IDSS = 12.0 * 10**-3 #Drain-to-source current (in Ampere) \n",
+ "ID = 6.0 * 10**-3 #Drain current (in Ampere)\n",
+ "VDD = 15.0 #Supply voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VS = ID * RS #Source voltage (in volts)\n",
+ "VGS = - VS #Gate-to-Source Voltage \n",
+ "IDQ = 5.0 * 10**-3 #Drain current at Q point (in Ampere)\n",
+ "VGSQ = -1.4 #Gate-to-source voltage (in volts) \n",
+ "VD = VDD - IDQ * RD #Drain voltage (in volts)\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(-4,0,100)\n",
+ "plot(x,12*(1 + x/4)**2,'r')\n",
+ "title(\"transfer characteristic\")\n",
+ "plot(x,x*(-5.0/1.40),'b')\n",
+ "xlabel(\"Gate-to-Source voltage VGS (V)\")\n",
+ "ylabel(\"Drain current ID(mA)\")\n",
+ "annotate(\"Q\",xy=(-1.62,6.0))\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Quiescent values of ID and VGS is \",IDQ * 10**3,\" mA and \",VGSQ,\" V.\"\n",
+ "print \"D.C. voltage between drain and ground is \",VD,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.5 , Page Number 755"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of RD is 1.5 kilo-ohm.\n",
+ "Value of RS is 528.0 ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VP = VGSoff = 5.0 #Voltage (in volts)\n",
+ "IDSS = 12.0 * 10**-3 #Drain-to-source current (in Ampere)\n",
+ "VDD = 12.0 #Drain voltage (in volts)\n",
+ "ID = 4.0 * 10**-3 #Drain current (in Ampere)\n",
+ "VDS = 6.0 #Drain-to-source voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VGS = (1 - (ID / IDSS)**0.5)*VGSoff #Gate-to-source voltage (in volts)\n",
+ "VS = VGS #Source voltage (in volts)\n",
+ "RS = VS / ID #Source resistance (in ohm)\n",
+ "RD = (VDD - VDS) / ID #Drain resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of RD is \",RD * 10**-3,\" kilo-ohm.\\nValue of RS is \",round(RS),\" ohm.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.6 , Page Number 756"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Operating point is ID = 5.0 mA and VDS = 10.0 V.\n",
+ "Value of RD is 2.0 kilo-ohm and RS is 440.0 ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "IDSS = 10.0 * 10**-3 #Drain-to-source current (in Ampere)\n",
+ "VDD = 20.0 #Drain voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "IDQ = IDSS / 2 #Drain current at Q point (in Ampere)\n",
+ "VDSQ = VDD / 2 #Drain-to-source voltage at Q point (in volts)\n",
+ "VGS = -2.2 #Gate-to-source voltage (in volts)\n",
+ "ID = 5.0 * 10**-3 #Drain current (in Ampere)\n",
+ "RD = (VDD - VDSQ) / ID #Drain resistance (in ohm)\n",
+ "VS = - VGS #Source voltage (in volts)\n",
+ "RS = VS / ID #Source resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Operating point is ID = \",IDQ * 10**3,\" mA and VDS = \",VDSQ,\" V.\"\n",
+ "print \"Value of RD is \",RD * 10**-3,\" kilo-ohm and RS is \",RS,\" ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.7 , Page Number 758"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of VGS is -3.8 V. and value of VDS is 4.0 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VDD = 20.0 #Supply voltage (in volts)\n",
+ "RD = 2.5 * 10**3 #Drain resistance (in ohm)\n",
+ "RS = 1.5 * 10**3 #Source resistance (in ohm)\n",
+ "R1 = 2.0 * 10**6 #Resistance (in ohm)\n",
+ "R2 = 250.0 * 10**3 #Resitance (in ohm)\n",
+ "ID = 4.0 * 10**-3 #Drain current (in Ampere) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VG = VDD * R2 / (R1 + R2) #Gate voltage (in volts)\n",
+ "VS = ID * RS #Source voltage (in volts)\n",
+ "VGS = VG - VS #Gate-to-source voltage (in volts)\n",
+ "VD = VDD - ID * RD #Drain voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of VGS is \",round(VGS,1),\" V. and value of VDS is \",VD - VS,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.8 , Page Number 764"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is -6.0 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 4.0 * 10**-3 #Transconductance (in Siemen)\n",
+ "RD = 1.5 * 10**3 #Drain resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = -gm * RD #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",Av,\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.9 , Page Number 764"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is -24.5 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 2.5 * 10**-3 #Transconductance (in Ampere per volt)\n",
+ "rd = 500.0 * 10**3 #Resistance (in ohm)\n",
+ "RD = 10.0 * 10**3 #Load resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RD * rd / (RD + rd) #a.c. equivalent resistance (in ohm)\n",
+ "Av = -gm * rL #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,1),\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.10 , Page Number 764"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is -26.7 .\n",
+ "Input resistance is 100.0 Mega-ohm.\n",
+ "Output resistance is 13.3 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 2.0 * 10**-3 #Transconductance (in Ampere per volt)\n",
+ "rd = 40.0 * 10**3 #Resistance (in ohm)\n",
+ "RD = 20.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RG = 100.0 * 10**6 #Gate resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RD * rd / (RD + rd) #a.c. equivalent resistance (in ohm)\n",
+ "Av = -gm * rL #Voltage gain \n",
+ "R1i = RG #input resistance (in ohm)\n",
+ "R1o = rL #output resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,1),\".\"\n",
+ "print \"Input resistance is \",R1i * 10**-6,\" Mega-ohm.\\nOutput resistance is \",round(R1o * 10**-3,1),\" kilo-ohm.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.11 , Page Number 765"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is -16.67 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 2.0 * 10**-3 #Transconductance (in Ampere per volt)\n",
+ "rd = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "RD = 50.0 * 10**3 #Drain resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RD * rd / (RD + rd) #a.c. equivalent resistance (in ohm)\n",
+ "Av = - gm * rL #Voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,2),\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.12 , Page Number 765"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is -48.9 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RD = 100.0 * 10**3 #Drain resistance (in ohm) \n",
+ "gm = 1.6 * 10**-3 #Transconductance (in Ampere per volt)\n",
+ "rd = 44.0 * 10**3 #Resistance (in ohm)\n",
+ "Cgs = 3.0 * 10**-12 #Capacitance gate-to-source (in Farad)\n",
+ "Cds = 1.0 * 10**-12 #Capacitance drain-to-source (in Farad)\n",
+ "Cgd = 2.8 * 10**-12 #Capacitance gate-to-drain (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RD * rd / (RD + rd) #a.c. load resistance (in ohm) \n",
+ "Av = -gm * rL #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,1),'.'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.13 , Page Number 766"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output voltage is 0.844 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 4500.0 * 10**-6 #Transconductance (in Ampere per volt)\n",
+ "RD = 3.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RL = 5.0 * 10**3 #Load resistance (in ohm) \n",
+ "Vin = 100.0 * 10**-3 #Input voltage (in volts)\n",
+ "ID = 2.0 * 10**-3 #Drain current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "rL = RD * RL / (RD + RL) #a.c. load resistance (in ohm)\n",
+ "vo = -gm * rL * Vin #Output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output voltage is \",abs(round(vo,3)),\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.14 , Page Number 768"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain when RL is zero is -2.0 .\n",
+ "Voltage gain when Rl is 100 kilo-ohm is -1.97 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 4.0 * 10**-3 #Transconductance (in Siemen)\n",
+ "RD = 1.5 * 10**3 #Drain resistance (in ohm)\n",
+ "RG = 10.0 * 10**6 #Gate resistance (in ohm)\n",
+ "rs = 500.0 #resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Voltage gain when Rl is zero\n",
+ "\n",
+ "rL = RD #a.c. load resistance (in ohm)\n",
+ "Av = -(gm * rL)/(1 + gm * rs) #Voltage gain1 \n",
+ "\n",
+ "#Voltage gain when Rl is 100 kilo-ohm\n",
+ "\n",
+ "RL = 100.0 * 10**3 #Load resistance (in ohm) \n",
+ "rL1 = RD * RL / (RD + RL) #a.c. load resistance (in ohm)\n",
+ "Av1 = -(gm * rL1)/(1 + gm * rs) #Voltage gain1 \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain when RL is zero is \",Av,\".\\nVoltage gain when Rl is 100 kilo-ohm is \",round(Av1,2),\".\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.15 , Page Number 768"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain for unbypassed Rs is -1.35 .\n",
+ "Voltage gain for bypassed Rs is -4.163 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RD = 1.5 * 10**3 #Drain resistance (in ohm)\n",
+ "RS = 750.0 #Source resistance (in ohm)\n",
+ "RG = 1.0 * 10**6 #Gate resistance (in ohm)\n",
+ "IDSS = 10.0 * 10**-3 #Supply current (in Ampere)\n",
+ "Vp = -3.5 #Voltage (in volts)\n",
+ "IDQ = 2.3 * 10**-3 #Drain current at Q point (in Ampere)\n",
+ "VGSQ = -1.8 #Gate-to-source voltage at Q point (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "gmo = -2 * IDSS / Vp #Maximum transconductance (in Ampere per volt)\n",
+ "gm = gmo * (1 - VGSQ/Vp) #Transconductance at Q point (in Ampere per volt) \n",
+ "rL = RD #a.c. load resistance (in ohm)\n",
+ "Av = - gm * rL / (1 + gm * RS) #Unbypassed RS (in ohm)\n",
+ "Av1 = -gm * rL #Bypassed RS (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain for unbypassed Rs is \",round(Av,2),\".\\nVoltage gain for bypassed Rs is \",round(Av1,3),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.16 , Page Number 771"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 16,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is 0.988 .\n",
+ "Input resistance is 100.0 Mega-ohm.\n",
+ "Output resistance is 125.0 ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 8000.0 * 10**-6 #Transconductance (in Siemen)\n",
+ "RS = 10.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RG = 100.0 * 10**6 #Gate resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = RS / (RS + 1 / gm) #Voltage gain\n",
+ "R1i = RG #Input resistance (in ohm)\n",
+ "R1o = 1 / gm #Output resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,3),\".\\nInput resistance is \",R1i * 10**-6,\" Mega-ohm.\\nOutput resistance is \",R1o,\" ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.17 , Page Number 772"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Voltage gain is 0.965 .\n",
+ "Input resistance is 0.5 Mega-ohm.\n",
+ "Output resistance is 175.4 ohm.\n",
+ "Output voltage is 1.77 mV.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "vin = 2.0 * 10**-3 #Input voltage (in volts)\n",
+ "gm = 5500.0 * 10**-6 #Transconductance (in Siemen)\n",
+ "R1 = R2 = 1.0 * 10**6 #Resistance (in ohm)\n",
+ "RS = 5.0 * 10**3 #Source resistance (in ohm)\n",
+ "RL = 2.0 * 10**3 #Load resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = RS / (RS + 1/gm) #Voltage gain \n",
+ "R1i = R1 * R2 / (R1 + R2) #Input resistance (in ohm)\n",
+ "R1o = RS * 1/gm /(RS + 1/gm) #Output resistance (in ohm)\n",
+ "Vo = RL / (RL + R1o) * Av * vin #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Voltage gain is \",round(Av,3),\".\\nInput resistance is \",R1i * 10**-6,\" Mega-ohm.\\nOutput resistance is \",round(R1o,1),\" ohm.\\nOutput voltage is \",round(Vo * 10**3,2),\" mV.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.18 , Page Number 774"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 18,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Amplifier voltage gain is 25.0 .\n",
+ "Input resistance is 333.0 ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 2500.0 * 10**-6 #Transconductance (in Amper per volt)\n",
+ "RD = 10.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RS = 2.0 * 10**3 #Source resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = gm * RD #Voltage gain \n",
+ "R1i = RS * 1/gm /(RS + 1/gm) #Input resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Amplifier voltage gain is \",Av,\".\\nInput resistance is \",round(R1i),\" ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 30.19 , Page Number 775"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Input resistance is 100.0 ohm.\n",
+ "a.c. voltage gain is 3.75 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gmo = 5.0 * 10**-3 #Maximum transconductance (in Siemen)\n",
+ "RD = 1.0 * 10**3 #Drain resistance (in ohm)\n",
+ "RS = 200.0 #Source resistance (in ohm)\n",
+ "ID = 5.0 * 10**-3 #Drain current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R1i = RS * 1/gmo /(RS + 1/gmo) #Input resistance (in ohm)\n",
+ "VS = ID * RS #Source voltage (in volts) \n",
+ "VGS = VS #Gate-to-Source voltage (in volts)\n",
+ "IDSS = 2 * ID #Supply current (in Ampere)\n",
+ "VGSoff = -2 * IDSS / ID #Gate-to-source cut off voltage (in volts)\n",
+ "gm = gmo * (1 - abs(VGS / VGSoff)) #Transconductance (in Siemen) \n",
+ "Av = gm * RD #Voltage gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Input resistance is \",R1i,\" ohm.\\na.c. voltage gain is \",Av,\".\""
+ ]
+ }
+ ],
+ "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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_4.ipynb
new file mode 100644
index 00000000..d0e5134b
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_4.ipynb
@@ -0,0 +1,776 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3d2015ac31b05394e05afcfb5c1742d239465e40465a478e82205d7108590d8c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 31 , Sinusoidal Oscillators"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.1 , Page Number 787"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 22.0 * 10**3 #Frequency (in Hertz)\n",
+ "C = 2.0 * 10**-9 #Capacitance (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = (0.159/fo)**2/C #Inductance (in Henry) \n",
+ " \n",
+ "#Result\n",
+ "\n",
+ "print \"Inductance is \",round(L,3),\" H.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Inductance is 0.026 H.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.2 , Page Number 787"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 2.2 * 10**6 #Frequency (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f1o = fo * 2**0.5 #New frequency (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"It will work at frequency of \",round(f1o * 10**-6,2),\" MHz when capacitance is reduced by 50%.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "It will work at frequency of 3.11 MHz when capacitance is reduced by 50%.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.3 , Page Number 789"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C = 100.0 * 10**-12 #Capacitance (in Farad)\n",
+ "L1 = 30.0 * 10**-6 #Inductance1 (in Henry)\n",
+ "L2 = 1.0 * 10**-8 #Inductance2 (in Henry) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = L1 + L2 #Net inductance (in Henry)\n",
+ "fo = 1/(2*math.pi*(L * C)**0.5) #Frequency of oscillations (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of oscillations is \",round(fo * 10**-6,1),\" MHz,\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of oscillations is 2.9 MHz,\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.4 , Page Number 790"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "L1 = 1000.0 * 10**-6 #Inductance1 (in Henry)\n",
+ "L2 = 100.0 * 10**-6 #Inductance2 (in Henry)\n",
+ "M = 20.0 * 10**-6 #Mutual Inductance (in Henry)\n",
+ "C = 20.0 * 10**-12 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = L1 + L2 + 2 * M #Net inductance (in Henry)\n",
+ "fo = 1/(2*math.pi*(L * C)**0.5) #Frequency of oscillations (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of oscillations is \",round(fo * 10**-6,3),\" MHz,\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of oscillations is 1.054 MHz,\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.5 , Page Number 790"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C = 1.0 * 10**-9 #Capacitance (in Farad)\n",
+ "L1 = 4.7 * 10**-3 #Inductance1 (in Henry)\n",
+ "L2 = 47.0 * 10**-6 #Inductance2 (in Henry)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = L1 + L2 #Net inductance (in Henry)\n",
+ "fo = 1/(2*math.pi*(L * C)**0.5) #Frequency of oscillations (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of oscillations is \",round(fo * 10**-3,2),\" kHz,\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of oscillations is 73.05 kHz,\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.6 , Page Number 791"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "L1 = 2.0 * 10**-3 #Inductance1 (in Henry)\n",
+ "L2 = 20.0 * 10**-6 #Inductance2 (in Henry)\n",
+ "fomin = 950.0 * 10**3 #Frequency minimum (in Hertz)\n",
+ "fomax = 2050.0 * 10**3 #Frequency maximum (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = L1 + L2 #Net inductance (in Henry)\n",
+ "C1 = 1.0/(4 * math.pi**2*(L*fomin**2)) #Capacitance1 (in Farad)\n",
+ "C2 = 1.0/(4 * math.pi**2*(L*fomax**2)) #Capacitance2 (in Farad)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Range of capacitance required is \",round(C2 * 10**12,2),\" pF and \",round(C1 * 10**12,1),\" pF.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Range of capacitance required is 2.98 pF and 13.9 pF.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.7 , Page Number 792"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ " \n",
+ "L1 = 0.1 * 10**-3 #Inductance1 (in Henry)\n",
+ "L2 = 10.0 * 10**-6 #Inductance2 (in Henry)\n",
+ "M = 20.0 * 10**-6 #Mutual Inductance (in Hnery) \n",
+ "fo = 4110.0 * 10**3 #Frequency (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "L = L1 + L2 + 2*M #Net inductance (in Henry)\n",
+ "C = 1.0/(4 * math.pi**2 * L*fo**2) #Capacitance (in Farad)\n",
+ "beta = L2 / L1 #Feedback ratio\n",
+ "Av = 1/beta #Voltage gain\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Capacitance required is \",round(C * 10**12,4),\" pF.\\nVoltage gain for sustained condition is \",Av,\".\"\n",
+ "\n",
+ "#Calculation error in the value of M used in formula , therefore incorrect value of C."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Capacitance required is 9.9969 pF.\n",
+ "Voltage gain for sustained condition is 10.0 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.8 , Page Number 793"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C1 = 0.001 * 10**-6 #Capacitance (in Farad) \n",
+ "C2 = 0.01 * 10**-6 #Capacitance (in Farad)\n",
+ "L = 5.0 * 10**-6 #Inductance (in Henry) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Av = C2 / C1 #Voltage gain\n",
+ "C = C1 * C2 / (C1 + C2) #Net capacitance (in Farad)\n",
+ "fo = 1 /(2*math.pi*(L * C)**0.5) #Frequency (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Required voltage gain is \",Av,\".\\nFrequency of oscillation is \",round(fo * 10**-6,2),\" Mhz.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Required voltage gain is 10.0 .\n",
+ "Frequency of oscillation is 2.36 Mhz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.9 , Page Number 793"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C1 = 0.1 * 10**-6 #Capacitance (in Farad)\n",
+ "C2 = 1.0 * 10**-6 #Capacitance (in Farad)\n",
+ "L = 470.0 * 10**-6 #Inductance (in Henry) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = C1 * C2/ (C1 + C2) #Net capacitance (in Farad) \n",
+ "fo = 1 /(2*math.pi*(L * C)**0.5) #Frequency (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of oscillation is \",round(fo * 10**-3,2),\" kHz.\"\n",
+ "\n",
+ "#Slight variation due to higher precision"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of oscillation is 24.35 kHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.10 , Page Number 794"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C1 = 100.0 * 10**-12 #Capacitance (in Farad)\n",
+ "C2 = 7500.0 * 10**-12 #Capacitance (in Farad)\n",
+ "fomin = 950.0 * 10**3 #Frequency minimum (in Hertz)\n",
+ "fomax = 2050.0 * 10**3 #Frequency maximum (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = C1 * C2/ (C1 + C2) #Net capacitance (in Farad) \n",
+ "L1 = 1.0/(4 * math.pi**2*(C*fomin**2)) #Inductance1 (in Henry)\n",
+ "L2 = 1.0/(4 * math.pi**2*(C*fomax**2)) #Inductance2 (in Henry)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The range of inductance required is from \",round(L2 * 10**6),\" micro-Henry to \",round(L1 * 10**6),\" micro-Henry.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The range of inductance required is from 61.0 micro-Henry to 284.0 micro-Henry.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.11 , Page Number 795"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 450.0 * 10**3 #Frequency(in Hertz)\n",
+ "#Let us assume \n",
+ "C1 = C2 = C = 10.0 * 10**-6 #Capacitance (in Farad)\n",
+ "C21 = 2 * C2 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fo1 = fo * (3.0/4.0)**0.5 #New Frequency (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The oscillation frequency if C2 is doubled is \",round(fo1 * 10**-3,1),\" kHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The oscillation frequency if C2 is doubled is 389.7 kHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.12 , Page Number 796"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C1 = 0.1 * 10**-6 #Capacitance (in Farad)\n",
+ "C2 = 1.0 * 10**-6 #Capacitance (in Farad) \n",
+ "C3 = 100.0 * 10**-12 #Capacitance (in Farad)\n",
+ "L = 470.0 * 10**-6 #Inductance (in Henry)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = (1.0/C1 + 1.0/C2 +1.0/C3)**-1 #Capacitance (in Farad) \n",
+ "fo = 1/(2*math.pi *(L*C)**0.5) #Frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of oscillation is \",round(fo * 10**-3,1),\" kHz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of oscillation is 734.5 kHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.13 , Page Number 799"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "L = 0.33 #Inductance (in Henry)\n",
+ "C1 = 0.065 * 10**-12 #Capacitance (in Farad) \n",
+ "C2 = 1.0 * 10**-12 #Capacitance (in Farad)\n",
+ "R = 5.5 * 10**3 #Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fs = 1/(2*math.pi*(L*C1)**0.5) #Series Resonant frequency (in Hertz)\n",
+ "Qfactor = 2*math.pi*fs*L/R #Q-factor\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Series resonant frequency is \",round(fs * 10**-6,2),\" MHz.\\nQ-factor of the crystal is \",round(Qfactor,1),\".\"\n",
+ "\n",
+ "#Slight variation due to higher precision"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Series resonant frequency is 1.09 MHz.\n",
+ "Q-factor of the crystal is 409.7 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.14 , Page Number 802"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "gm = 5000.0 * 10**-6 #Transconductance (in mho)\n",
+ "rd = 40.0 * 10**3 #Resistance (in ohm)\n",
+ "R = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "fo = 1.0 * 10**3 #Frequency (in Hertz) \n",
+ "Av = 40.0 #Voltage gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = 1/(2*math.pi*(R)*6**0.5*fo) #Capacitance (in Farad)\n",
+ "rL = Av / gm #a.c. load resistance (in ohm) \n",
+ "RD = (rL * rd)/(rd-rL) #Drain resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of capacitor is \",round(C* 10**6,5),\" micro-Farad.\"\n",
+ "print \"Value of drain resistance is \",RD * 10**-3,\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of capacitor is 0.0065 micro-Farad.\n",
+ "Value of drain resistance is 10.0 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.15 , Page Number 803"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 2.0 * 10**3 #Frequency (in Hertz)\n",
+ "mu = 50.0 #Amplification factor \n",
+ "rd = 5.0 * 10**3 #Resistance (in ohm) \n",
+ "Av = 40.0 #Voltage gain\n",
+ "R = 10.0 * 10**3 #Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "gm = mu / rd #Transconductance (in mho)\n",
+ "rL = Av/ gm #a.c. load resistance (in ohm) \n",
+ "RD = (rL * rd)/(rd-rL) #Drain resistance (in ohm)\n",
+ "RC = 0.065/(fo) #RC product (in second)\n",
+ "C = RC / R #Capacitance (in Farad) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum value of RD is \",RD * 10**-3,\" kilo-ohm.\\nValue of the RC product is \",RC,\" s.\\nValue of R is \",R * 10**-3,\" kilo-ohm.\\nValue of C is \",C * 10**9,\" nF.\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum value of RD is 20.0 kilo-ohm.\n",
+ "Value of the RC product is 3.25e-05 s.\n",
+ "Value of R is 10.0 kilo-ohm.\n",
+ "Value of C is 3.25 nF.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.18 , Page Number 807"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 2.0 * 10**3 #Frequency (in Hertz)\n",
+ "hie = 2.0 * 10**3 #hie (in ohm)\n",
+ "R1 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 80.0 * 10**3 #Resistance (in ohm)\n",
+ "RC = 10.0 * 10**3 #Collector Resistance (in ohm)\n",
+ "R = 8.0 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = 1/(2*math.pi*R)*(1/(6 + 4*RC/R)**0.5)/fo #Capacitance (in Farad)\n",
+ "hfe = 23 + 29 * R/RC + 4* RC /R #Current gain \n",
+ "Ri = (1/R1 + 1/R2 + 1/hie)**-1 #Input resistance (in ohm)\n",
+ "R3 = R - Ri #Feedback resitor (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of capacaitor C is \",round(C * 10**6,3),\" micro-Farad.\\nValue of transistor gain is hfe >= \",hfe,\".\\nValue of feedback resistor R3 is \",round(R3 * 10**-3,1),\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of capacaitor C is 0.003 micro-Farad.\n",
+ "Value of transistor gain is hfe >= 51.2 .\n",
+ "Value of feedback resistor R3 is 6.2 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 31.19 , Page Number 809"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "fo = 10.0 * 10**3 #Frequency (in Hertz)\n",
+ "R = 100.0 * 10**3 #Resistance (in ohm) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = 1/(2*math.pi*R*fo) #Capacitance (in Farad) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of the capacitor C is \",round(C * 10**12),\" pico-Farad.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of the capacitor C is 159.0 pico-Farad.\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_4.ipynb
new file mode 100644
index 00000000..183fa27e
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_4.ipynb
@@ -0,0 +1,606 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 32 , Non-Sinusoidal Oscillators"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.1 , Page Number 816"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The upper end point is ic = 50.0 mA.\n",
+ "The lower end point is VCE = 10.0 V.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x60d9af0>"
+ ]
+ },
+ "execution_count": 1,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYEAAAEZCAYAAABxbJkKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcXFWZ//HPly2sDosYEgWDIi4II6soqM0ySAAREVlG\nGYL8DMwooGAgKITMz98IyLi9XGdgxChhU4ZABIEAaQT5yR4SgoAKUcQQkF0dA5Jn/rin6Juiuru6\nu27dqrrf9+tVr9y6XffepytJPfWcc885igjMzKyaVik7ADMzK4+TgJlZhTkJmJlVmJOAmVmFOQ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n1UREP9mKgesN9TpJrwHWdwJoL1cCZmYV5krAzKzCnATMzCrMScDMrMKcBMzMKsxJwMyswpwEzMwq\n7H8BS89mPFZd97UAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x273e870>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VCC = 10.0 #Supply voltage (in volts)\n",
+ "VBB = 5.0 #Voltage across base (in volts)\n",
+ "RC = 200.0 #Collector resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "#Upper end point\n",
+ "ic = VCC / RC #Collector current (in Ampere)\n",
+ "VCE = VCEsat = 0 #Collector-to-emitter voltage (in volts)\n",
+ "\n",
+ "#lower cut-off point\n",
+ "ic1 = 0 #Collector current (in Ampere) \n",
+ "VCE1 = VCC #Collector-to-emitter voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The upper end point is ic = \",ic * 10**3,\" mA.\\nThe lower end point is VCE = \",VCE1,\" V.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,VCE1,100)\n",
+ "plot(x,ic*10**3 - ic*10**3/VCE1*x)\n",
+ "title(\"d.c. load line\")\n",
+ "xlabel(\"Collector-to-emitter voltage VCE (V)\")\n",
+ "ylabel(\"Collector current IC (mA)\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.2 , Page Number 822"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Frequency of oscillation is 362.0 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = R2 = R = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "C1 = C2 = C = 100.0 * 10**-12 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f = 1/(1.38 * R * C) #Frequency (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of oscillation is \",round(f * 10**-3),\" kHz.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.3 , Page Number 822"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Time period of oscillation is 0.7 ms.\n",
+ "Frequency of oscillation is 1.42 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 2.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 20.0 * 10**3 #Resistance (in ohm)\n",
+ "C1 = 0.01 * 10**-6 #Capacitance (in Farad)\n",
+ "C2 = 0.05 * 10**-6 #Capacitance (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = 0.69*(R1*C1 + R2*C2) #Time periode of oscillation (in seconds)\n",
+ "f = 1/T #Frequency of oscillation (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Time period of oscillation is \",round(T * 10**3,1),\" ms.\\nFrequency of oscillation is \",round(f * 10**-3,2),\" kHz.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.4 , Page Number 822"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of C1 capacitor is 145.0 pico-Farad.\n",
+ "Value of C2 capacitor is 1304.0 pico-Farad.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "T1 = 1.0 * 10**-6 #Pulse width (in seconds)\n",
+ "f = 100.0 * 10**3 #Frequency (in Hertz)\n",
+ "R1 = R2 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = 1/f #Time period of oscillation (in seconds) \n",
+ "C1 = T1 / 0.69 / R1 #Capacitance (in Farad)\n",
+ "T2 = T - T1 #Time period (in seconds) \n",
+ "C2 = T2 / 0.69 / R2 #Capacitance (in Farad)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of C1 capacitor is \",round(C1 * 10**12),\" pico-Farad.\\nValue of C2 capacitor is \",round(C2 * 10**12),\" pico-Farad.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.5 , Page Number 823"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Rc : 3000.0 ohm.\n",
+ "RC1 : 3000.0 ohm.\n",
+ "IBsat : 0.00025 A.\n",
+ "IB : 0.0005 A.\n",
+ "R1 : 30.0 kilo-ohm.\n",
+ "R2 : 30.0 kilo-ohm.\n",
+ "C1 : 14976.0 pico-Farad.\n",
+ "C2 : 12077.0 pico-Farad.\n",
+ "Output waveform time constants :\n",
+ "t1 = 449.3 micro-second.\n",
+ "t2 : 362.3 micro-second\n",
+ "t11 : 44.9 micro-second\n",
+ "t12 : 36.2 micro-second.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "T2A = 310.0 * 10**-6 #Time period (in seconds)\n",
+ "T2B = 250.0 * 10**-6 #Time period (in seconds)\n",
+ "VCC = 15.0 #Supply voltage (in volts)\n",
+ "ICsat = 5.0 * 10**-3 #Saturated collector current (in Ampere)\n",
+ "hFEmin = 20.0 #Current gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "RC = VCC / ICsat #Collector resistance (in ohm)\n",
+ "RC1 = RC2 = RC #Collector resistance of transistors Q1 and Q2 (in ohm) \n",
+ "IBsat = ICsat / hFEmin #Saturated Base current (in Ampere)\n",
+ "IB = 2 * IBsat #Base current (in Ampere)\n",
+ "R1 = R2 = R = VCC / IB #Resistance (in ohm)\n",
+ "C1 = T2A / 0.69 / R1 #Capacitance (in Farad)\n",
+ "C2 = T2B / 0.69 / R2 #Capacitance (in Farad)\n",
+ "t1 = R1 * C1 #Time constant1 (in seconds)\n",
+ "t2 = R2 * C2 #Time constant2 (in seconds)\n",
+ "t11 = RC1 * C1 #Time constant (in seconds)\n",
+ "t12 = RC1 * C2 #Time constant (in seconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Rc : \",RC,\" ohm.\\nRC1 : \",RC1,\" ohm.\\nIBsat : \",IBsat,\" A.\\nIB : \",IB,\" A.\\nR1 : \",R1*10**-3,\" kilo-ohm.\\nR2 : \",R2*10**-3,\" kilo-ohm.\\nC1 : \",round(C1 * 10**12),\" pico-Farad.\\nC2 : \",round(C2*10**12),\" pico-Farad.\"\n",
+ "print \"Output waveform time constants :\\nt1 = \",round(t1 * 10**6,1),\" micro-second.\\nt2 : \",round(t2 * 10**6,1),\" micro-second\\nt11 : \",round(t11 * 10**6,1),\" micro-second\\nt12 : \",round(t12 * 10**6,1),\" micro-second.\" \n",
+ "\n",
+ "#In some places milli seconds is mentioned in place of micro second in book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.6 , Page Number 826"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The duty cycle of the waveform at the output (Q) of the monostable multivibrator is 10.0 %.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "f = 20.0 * 10**3 #Frequency (in Hertz)\n",
+ "tp = 5.0 * 10**-6 #Pulse duration (in seconds) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = 1/f #Time period (in seconds)\n",
+ "duty_cycle = tp / T #Duty cycle of monostable multivibrator \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The duty cycle of the waveform at the output (Q) of the monostable multivibrator is \",duty_cycle * 100,\"%.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.7 , Page Number 826"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Value of R3 is 7.246 kilo-ohm and value of C1 is 1.0 nF.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "f = 100.0 * 10**3 #Frequency (in Hertz)\n",
+ "C1 = 0.001 * 10**-6 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "duty_cycle = 0.5 #Duty cycle \n",
+ "T = 1/f #Time period (in seconds)\n",
+ "tp = duty_cycle * T #Pulse width (in seconds) \n",
+ "R3 = tp / 0.69 / C1 #Resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Value of R3 is \",round(R3 * 10**-3,3),\" kilo-ohm and value of C1 is \",C1 * 10**9,\" nF.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.8 , Page Number 834"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The pulse width is 24.2 micro-second.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 2.2 * 10**3 #Resistance (in ohm)\n",
+ "C1 = 0.01 * 10**-6 #Capacitance (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "tp = 1.1 * R1 * C1 #Pulse width (in seconds)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The pulse width is \",tp * 10**6,\" micro-second.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.9 , Page Number 834"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Resistance required is 9.09 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "C = 1000.0 * 10**-12 #Capacitance (in Farad) \n",
+ "tp = 10.0 * 10**-6 #Pulse width (in seconds)\n",
+ "T = 60.0 * 10**-6 #time period (in seconds) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "R1 = tp / (1.1 * C) #Resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Resistance required is \",round(R1 * 10**-3,2),\" kilo-ohm.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.10 , Page Number 836"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t1 is 8.05 micro-seconds.\n",
+ "t2 is 3.29 micro-seconds.\n",
+ "Duty cycle is 71.0 %.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 6.8 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 4.7 * 10**3 #Resistance (in ohm)\n",
+ "C1 = 1000.0 * 10**-12 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "t2 = 0.7 * R2 * C1 #Time interval2 (in seconds)\n",
+ "t1 = 0.7 * (R1 + R2 ) * C1 #Time interval1 (in seconds) \n",
+ "T = t1 + t2 #Total time (in seconds)\n",
+ "duty_cycle = t1 / T * 100 #Duty cycle of the waveform \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"t1 is \",t1 * 10**6,\" micro-seconds.\\nt2 is \",t2 * 10**6,\" micro-seconds.\\nDuty cycle is \",round(duty_cycle),\"%.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.11 , Page Number 837"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Frequency is 1.03 kHz.\n",
+ "Duty cycle is 60.0 %.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 27.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 56.0 * 10**3 #Resistance (in ohm) \n",
+ "C1 = 0.01 * 10**-6 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "t2 = 0.7 * R2 * C1 #Time interval2 (in seconds)\n",
+ "t1 = 0.7 * (R1 + R2 ) * C1 #Time interval1 (in seconds) \n",
+ "T = t1 + t2 #Total time (in seconds)\n",
+ "f = 1 / T #Frequency (in Hertz)\n",
+ "duty_cycle = t1 / T * 100 #Duty cycle of the waveform \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency is \",round(f * 10**-3,2),\" kHz.\\nDuty cycle is \",round(duty_cycle),\"%.\" \n",
+ "\n",
+ "#In book it forgot to mention the duty_cycle."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 32.12 , Page Number 838"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Time period is 0.02 ms.\n",
+ "t1 is 0.012 ms.\n",
+ "t2 is 0.008 ms.\n",
+ "R2 is 5.19 kilo-ohm.\n",
+ "R1 is 2.6 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "f = 50.0 * 10**3 #Frequency (in Hertz)\n",
+ "duty_cycle = 0.6 #Duty cycle\n",
+ "C = 0.0022 * 10**-6 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = 1/f #Time period (in seconds)\n",
+ "t1 = duty_cycle * T #time interval1 (in seconds)\n",
+ "t2 = T - t1 #time interval2 (in seconds)\n",
+ "R2 = t2 / (0.7 * C ) #Resistance (in ohm) \n",
+ "R1 = t1 / (0.7 * C) - R2 #Resistance (in ohm) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Time period is \",T * 10**3,\"ms.\\nt1 is \",t1 * 10**3,\" ms.\\nt2 is \",t2 * 10**3,\" ms.\\nR2 is \",round(R2 * 10**-3,2),\" kilo-ohm.\\nR1 is \",round(R1 * 10**-3,1),\" kilo-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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_4.ipynb
new file mode 100644
index 00000000..16fb1982
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_4.ipynb
@@ -0,0 +1,863 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 33 , Wave Shaping"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.2 , Page Number 853"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output peak voltage is 0.3 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ " \n",
+ "Vpk = 1.0 #Peak-to-peak voltage (in volts)\n",
+ "Tby2 = 0.1 #Half-period (in seconds)\n",
+ "tau = 0.25 #Time constant (in seconds) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vc = 0.5 * math.exp(-Tby2/tau) #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output peak voltage is \",round(Vc,1),\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.3 , Page Number 854"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The peak value of input voltage is 10.0 kV.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "RC = 250.0 * 10**-12 #Time constance (in seconds)\n",
+ "Vomax = 50.0 #Maximum output voltage (in volts) \n",
+ "tau = 0.05 * 10**-6 #time (in seconds)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "alpha = Vomax / RC #alpha (in volt per second)\n",
+ "Vp = alpha * tau #Peak voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The peak value of input voltage is \",Vp * 10**-3,\" kV.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.5 , Page Number 861"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Following graph shows the output.\n",
+ "The part above the line is clipped out.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x82616f0>"
+ ]
+ },
+ "execution_count": 11,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEZCAYAAACXRVJOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8leP6+PHPpVkzjiEcoRCSNCK1K6k0CScyz9MxHMXP\ncJyvOr7H8MUhp0NH5AipNGhOoZ00alKpVJSKBopSadz3749r7ex2e7f3Gu/nWet6v177Ze+1nvU8\nV8t61nXPtzjnMMYYYw7zHYAxxphgsIRgjDEGsIRgjDEmwhKCMcYYwBKCMcaYCEsIxhhjAEsIxoSC\niHQWkTUi8quI1PEdj0lPlhBMSonITSKyUES2i8g6EXlVRCpH8fpVItIigfEc8nwi8rWIdMnz94Ui\nklPAY1tFJJn30wvAPc65is65L5N4HZPBLCGYlBGR7sCzQHegEtAYOAmYKCKlinkaB0gCwyrqfJOB\npnn+bgosLeCxac65nATGtZ+ICPBHYHGMr7f73BSLfVBMSohIJaAH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nSXT0ln02o1TUe4l9LqN1IXAdsEBE5kUeexz4I8T2+bSJacYYY4BgNBkZY4wJAEsIxhhjAEsIxhhj\nIiwhGGOMASwhGGOMibCEYIwxBrCEYEzURKSyiNztOw5jEs0SgjHRqwrc4zsIYxLNEoIx0XsWODWy\nictzvoMxJlFsprIxURKRk4DRzrnavmMxJpGshmBM9GwTF5OWLCEYY4wBLCEYE4tfgYq+gzAm0Swh\nGBMl59wmYKqILLROZZNOrFPZGGMMYDUEY4wxEZYQjDHGAJYQjDHGRFhCMMYYA1hCMMYYE2EJwRhj\nDGAJwRhjTIQlBGOMMQD8f9FvPgMDCCzeAAAAAElFTkSuQmCC\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7e69970>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,xlabel,ylabel,title,annotate\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vi = 2.0 #positive clipping (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vomax = 5.0 #Maximum output voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Following graph shows the output.\\nThe part above the line is clipped out.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "t = numpy.linspace(0.001,2,400)\n",
+ "y = numpy.sin(2*math.pi*t)\n",
+ "plot(t, 5*y)\n",
+ "plot(t,(2*t)/t,'--')\n",
+ "ylim( (-6,6) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('t')\n",
+ "title('Output Waveform')\n",
+ "annotate(\"Clipping level\",xy=(0.575,2))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.6 , Page Number 861"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x61a9b30>"
+ ]
+ },
+ "execution_count": 1,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEZCAYAAACXRVJOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHQFJREFUeJzt3Xu0nFWd5vHvkwsKogSIBHIjEEiQy0gijSxAcxpRufQE\nx2kVZ2wB17TIyGAr3W3r2Iuw7FFcOi2KzWUcUdAOwUYXAwitoJwYRFEhCSFXAgm5QSKQCxKQkPzm\nj71PqFTqnFPnnPetOnXq+axVi7rs2vXL4X3refd+L6WIwMzMbFizCzAzs8HBgWBmZoADwczMMgeC\nmZkBDgQzM8scCGZmBjgQzFqGpH+S9AdJG5pdiw1NDgRrCkkXSlok6UVJT0u6VtIBfXj/aklnFFhP\nof0VTdJE4DPAMRExttn12NDkQLCGk3Q5cBVwOfAm4BTgcOBeSSPr7CYAFVhW0f0VbSLwXEQ819c3\nShpRQj02BDkQrKEkvQmYBVwaET+LiJ0R8RTwQWAS8JHc7nuSvljxvg5Ja/P975O+IO+U9IKkv5U0\nSdIuSX8tab2kDTl46E9/NeqeK+n9+f5p+bPOyY/fJWl+vj9Z0i8kPZund37QNfKR9FlJ/1bV7zck\nfSPfP0DSd3Lt6yR9UdIwSWcCPwPG5vpuzO1nSlosabOk+yUdU9Hvakl/L+lR4IVc1648Mlsj6TlJ\nn5D0Z5IezX1c0/f/ozaUOBCs0U4FXg/8uPLJiHgRuBt4d9dT+baXiPgrYA3wFxHxxoj4WsXLHcBR\nwHuAz0p61wD769KZ+waYATwJvLPicWdF2/8FHAa8BZhACkCAW4BzJO0PIGk48AHgX/Pr3wNeASYD\n0/K/4b9FxH3A2cCGXN/HJE0BZgOXAaNJf7s7q0YD5+f3jQJ25udOzn+f84FvAJ8HzgCOAz4o6Z1Y\n23IgWKONBp6NiF01XnsGOLjic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3ux6+uhUYKakVcAtwBmSbm5yTX2xjrR19Lv8\n+DZSQLSKk4AHI+K5iHgV+DHp/0mr2SjpUABJhwGbmlxPn0i6kDRt2mphPJm0MbEwr8PjgYclHdLT\nmwZzIOw+sU3SPqQT2+5ock11kyTgO8CSiLi62fX0VUR8PiImRMQRpJ2Zv4iIjza7rnpFxDPAWklT\n8lNnAoubWFJfLQNOkbRvXpbOJO3cbzV3ABfk+xcALbNhJOks0pTpeRHxcrPr6YuIWBQRYyLiiLwO\nryMdoNBjIA/aQMhbRV0nti0Bbo2IljlKBDgN+Ajw5/mwzfl5AWtVLTfUB/4H8K+SFpKOMvpSk+up\nW0QsBG4mbRh1zQH/n+ZV1DtJtwAPAlMlrZV0EXAV8G5JK4Az8uNBp0btHwOuAfYH7s3r77VNLbIH\nFfVPqfjbV6pr/fWJaWZmBgziEYKZmTWWA8HMzAAHgpmZZQ4EMzMDHAhmZpY5EMzMDHAgmPWLpAMk\nXdLsOsyK5EAw658Dgf/e7CLMiuRAMOufq4DJ+QzWrzS7GLMi+Exls36QdDhwV/7xGrMhwSMEs/5p\nxUuCm/XIgWBmZoADway/XgDe2OwizIrkQDDrh4h4DviVpEXeqWxDhXcqm5kZ4BGCmZllDgQzMwMc\nCGZmljkQzMwMcCCYmVnmQDAzM8CBYGZmmQPBzMwA+P+c7puEaHGu0gAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x6196530>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import xlim,ylim,plot,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables \n",
+ "\n",
+ "Vp = 10.0 #Peak to peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vi = 4.0 #Input voltage (in volts)\n",
+ "Vo = 1.0 #Maximum output voltage (in volts)\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,11,400)\n",
+ "y = numpy.sin(x)\n",
+ "xlim((0,14))\n",
+ "ylim((0,3))\n",
+ "plot(x,5*y - 4)\n",
+ "plot(x,x-x+1,\"--\")\n",
+ "title(\"Output waveform\")\n",
+ "xlabel(\"t\")\n",
+ "ylabel(\"Vo\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.7 , Page Number 862"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Following is the graph :\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Annotation at 0x7ed13b0>"
+ ]
+ },
+ "execution_count": 9,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEZCAYAAACXRVJOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XecVOXVwPHfkS4goNGgIqLYAAWRboGlSicoiogl1gRj\nS9BoTHwBzWuJr9EYYxIRNSgoSLFQlCKLBQRUihQpIoKoSEBpS9/n/ePcxWXZZXdmZ+a5d+Z8P5/9\nsDt7596zw9w5T3/EOYcxxhhzhO8AjDHGhIMlBGOMMYAlBGOMMQFLCMYYYwBLCMYYYwKWEIwxxgCW\nEIyJBBHpLSLrRGSbiDTyHY9JT5YQTEqJyC9F5DMR2SEi34rIMyJSLYbnrxGRdgmM57DnE5HlInJ5\nvp8vEJHcQh7bKiLJvJ/+D7jFOVfVObcwidcxGcwSgkkZERkIPAIMBI4CWgInA1NFpFwJT+MASWBY\nxZ1vJtA638+tgc8LeWyWcy43gXEdICIC1AaWxvl8u89NidgbxaSEiBwFDAZudc5Ncc7td859BVwO\n1AGuCo57UUQezPe8LBFZF3z/E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gCcGYeGwDqvoOwphEs4RgTIyc\nc5uAD0XkM+tUNunEOpWNMcYAVkMwxhgTsIRgjDEGsIRgjDEmYAnBGGMMYAnBGGNMwBKCMcYYwBKC\nMcaYgCUEY4wxAPw/JbNFykf5N3IAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7e73810>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,ylabel,xlabel,title,annotate\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vp = 10.0 #Peak-to-peak voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Following is the graph :\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "t = numpy.arange(0.001, 2.0, 0.005)\n",
+ "y = numpy.sin(2*math.pi*t)\n",
+ "plot(t, 5*y)\n",
+ "plot(t,(-3*t)/t,'--')\n",
+ "ylim( (-6,6) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('t')\n",
+ "title('Output Waveform')\n",
+ "annotate(\"Clipping level\",xy=(0.575,-2.9))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.8 , Page Number 866"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Following is the output :\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x7cc8310>"
+ ]
+ },
+ "execution_count": 8,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEZCAYAAACXRVJOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJRE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7JlZE+Bh4O4QwqO1HJLV/ZmEhPA6sLuZtTGzpsBJwOM1jnmczFwFM+sIfBlC+LS4YaZGne+nmX3P\nzCzz+aH48OMFxQ+1JOjezBPdl9nJvFe3AlNDCDes57Cs7s/oTUYhhFVm9gvgaXyEzK0hhGlm9tPM\n9/8VQhhhZn0yS1wsBX4cMeREq8/7CQwEzjGzVcAy4ORoASecmd0HdAG+a2ZzgcH46C3dm1mq671E\n92W2DgdOBSab2YTMa1cCrSG3+1MT00REBEhGk5GIiCSAEoKIiABKCCIikqGEICIigBKCiIhkKCGI\niAighCCSNTPb3MzOiR2HSL4pIYhkryVwbuwgRPJNCUEke9cCu2Y2cbkudjAi+aKZyiJZMrOdgOEh\nhP1ixyKST6ohiGRPm7hISVJCEBERQAlBJBeLgU1jByGSb0oIIlkKIXwOvGhmb6lTWUqJOpVFRARQ\nDUFERDKUEEREBFBCEBGRDCUEEREBlBBERCRDCUFERAAlBBERyVBCEBERAP4f9QwKmZTYY7AAAAAA\nSUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7caa690>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,ylabel,xlabel,title\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vp = 5.0 #Peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vpos = 3.0 #Positive clipping voltage (in volts)\n",
+ "Vneg = -2.0 #Negative clipping voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Following is the output :\"\n",
+ "#Graph\n",
+ "\n",
+ "t = numpy.arange(0.001, 2.0, 0.005)\n",
+ "y = numpy.sin(2*math.pi*t)\n",
+ "plot(t, 5*y)\n",
+ "plot(t,(3*t)/t,'--')\n",
+ "plot(t,(-2*t)/t,'--')\n",
+ "ylim( (-6,6) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('t')\n",
+ "title('Output Waveform')"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.9 , Page Number 866"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output waveform is as follows :\n",
+ "The parts below and above the clipping levels are clipped off.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x7d25710>"
+ ]
+ },
+ "execution_count": 7,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEZCAYAAACJjGL9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYVdW9//H3l6agAiqIiiCxYEXFGxFFYagCAiqYWIkl\n+uRaoj/TrNHR3FiiJsbEmBtL4rWgolFBBaWNIgJRmiA2jICAjYggVWDW7491RodhZjhln7P2Pufz\nep55nDmzZ+8vx73Pd/VlzjlERETq0iB0ACIiEm9KFCIiUi8lChERqZcShYiI1EuJQkRE6qVEISIi\n9VKiEEkwMzvFzD42s6/N7PDQ8UhxUqKQWDCzc81srpmtMbNPzOwvZtYig79faGa9Ioyn3vOZ2Xtm\n9sNqP3czs8paXltlZvl8zu4ALnbO7eScm5PH60gJU6KQ4Mzs58CtwM+B5kBXYG9gnJk1TvM0DrAI\nw9rW+V4Bulf7uTvwbi2vve6cq4wwrm+ZmQHtgflZ/r2ef0mLbhQJysyaA+XApc65l51zm51zi4Af\nAh2As1PH/cPMflPt78rM7OPU9w/jPzBHp5pgfmFmHVIl/AvNbKmZLUslJLI5Xy2hv8qWSeE44LYa\nrx2fOg4zG5mqKX1lZq+Y2cGp149Ovf5tUko1J81Jfd/AzK4yswVmttzMnjCznc1sO+B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EoVIdL4GdgodhEjUlChEIuKc+w8wxczmqjNbiok6\ns0VEpF6qUYiISL2UKEREpF5KFCIiUi8lChERqZcShYiI1EuJQkRE6qVEISIi9VKiEBGRev1/E2Kk\nyJEW5s0AAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x798b430>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,xlabel,ylabel,title\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vp = 10.0 #Peak-to-peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vpos = 3.0 #Positive clipping voltage (in volts)\n",
+ "Vneg = -2.0 #Negative clipping voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output waveform is as follows :\\nThe parts below and above the clipping levels are clipped off.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "t = numpy.arange(0.001, 2.0, 0.005)\n",
+ "y = numpy.sin(2*math.pi*t)\n",
+ "plot(t, 10*y)\n",
+ "plot(t,(-2*t)/t,'--')\n",
+ "plot(t,(3*t)/t,'--')\n",
+ "ylim( (-11,11) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('t')\n",
+ "title('Output Waveform')"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.10 , Page Number 866"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of R1 is 5.3 kilo-ohm.\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x76bb7f0>"
+ ]
+ },
+ "execution_count": 6,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
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wt6oeD3xmelrrc7DHs4C3TrfPk6rqUwPMtYz2AWdU1YnAk4Hf\nnT5XzrR9LmQIgJOBq6vq2qraB3wQOHXgmbaDdX+KQPeoqn8CvnXA2c8F3jtdfi/wa1s61BJb4/EE\nt8+ZVdXNVXXZdPk7wJXAI5hx+1zUEDwCuH7V6Rum52njCrgwycVJXj70MNvAw6vqlunyLcDDhxxm\nm/i9JF9M8m5faptdkl3AScBFzLh9LmoI/Ezr/D2lqk4CnsVk9/Hnhx5ou6jJZ7DdZjfnncCjgScA\nNwF/Nuw4yyXJUcBHgVdX1bdXX7ae7XNRQ3AjsHPV6Z1M9gq0QVV10/Tf/wL+msnLb9q4W5IcC5Dk\nOODWgedZalV1a00B78Ltc92SHMkkAu+rqo9Pz55p+1zUEFwMPC7JriQ/DLwQ+MTAMy2tJA9I8qDp\n8gOBZwKXH/pWug+fAF46XX4p8PFDXFf3Yfpk9X3Pw+1zXZIEeDfwlao6b9VFM22fC/uXxUmeBZwH\nHAG8u6reMvBISyvJo5nsBQDsAP7Kx3P9knwAOAV4GJPXW/8I+Bvgw8AjgWuBF1TVfw814zI5yON5\nNjBi8rJQAdcAr1z1GrfWkOSpwD8CX+Kel3/OAr7ADNvnwoZAkrQ1FvWlIUnSFjEEktScIZCk5gyB\nJDVnCCSpOUMgSc0ZAmlGSR6c5LSh55DmxRBIs3so8DtDDyHNiyGQZncO8JjpAVT+ZOhhpM3yL4ul\nGSV5FPC3VfWTQ88izYN7BNLsPICKthVDIEnNGQJpdt8GHjT0ENK8GAJpRlX1DeBfklzum8XaDnyz\nWJKac49AkpozBJLUnCGQpOYMgSQ1ZwgkqTlDIEnNGQJJas4QSFJz/w+YE2ojS8AWzAAAAABJRU5E\nrkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x6827490>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,xlabel,ylabel,title\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vp = 8.0 #Peak voltage (in volts) \n",
+ "Vo = 2.7 #Maximum acceptance voltage (in volts)\n",
+ "Io = 1.0 * 10**-3 #maximum output current (in Ampere)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "VR1 = Vp - Vo #Maximum voltage drop across R1 (in volts) \n",
+ "R1min = VR1 / Io #Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of R1 is \",R1min * 10**-3,\" kilo-ohm.\"\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "k = numpy.arange(0.0001, 5.0, 0.0005)\n",
+ "k1= numpy.arange(5.0, 10.0, 0.0005)\n",
+ "k2= numpy.arange(10.0, 15.0, 0.0005)\n",
+ "k3= numpy.arange(15.0, 20.0, 0.0005)\n",
+ "\n",
+ "m=numpy.arange(-2.7,2.7, 0.0005)\n",
+ "x1=(0.001*m)/m\n",
+ "x5=(5*m)/m\n",
+ "x10=(10*m)/m\n",
+ "x15=(15*m)/m\n",
+ "\n",
+ "plot(k,-2.7*k/k,'b')\n",
+ "plot(k1,2.7*k1/k1,'b')\n",
+ "plot(k2,-2.7*k2/k2,'b')\n",
+ "plot(k3,2.7*k3/k3,'b')\n",
+ "plot(x1,m,'b')\n",
+ "plot(x5,m,'b')\n",
+ "plot(x10,m,'b')\n",
+ "plot(x15,m,'b')\n",
+ "ylim( (-5,5) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('t')\n",
+ "title('Output')"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.11 , Page Number 868"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x769e750>"
+ ]
+ },
+ "execution_count": 5,
+ "metadata": {},
+ "output_type": "exec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OzEnCyNzMrASd76zqSlpb0tarnq0i6NKexdpQ0KX28q6R1ql77Ybcvk2Hl4WRv3WhZ\n4OuVJxHxfETskdNYR5CsQQLJqojrVr12GnBUPTuRtGyL4zLLxMneutEJwFrpDRtOlLSG0puaSDpA\n0uXpzSieknSopCMl3SvpjkrSlbSWpGvSVUtvkfTBgYNIGguMjojZkjYDdgJOSsddMyL+DIyrc7XH\nuyRdKOmT6fIDZm3lZG/d6GjgiYiYEBFH8+41vT9MslbIxsB/Aq9ExAbAHcD+6Xt+BhwWERuRzM7/\nZ5BxNgfuBYiI20nWUjkyHfep9D1TgY/XEfPawMXAocCDko4ZsLaMWa5yu+G4WY6GmxnfFBGvAa9J\n+jtwVbp9OvCRdPG6zYBLqybZowfZz+okS8cONfbzwLjhAo6IBSSrFV4taXmSn06ekfTxiLh7uM+b\nNcvJ3nrRvKrHC6qeLyD5N78I8FJ6P4LhDEzuAxeT0sBtafmnsorraRHxs3T70sDeJCssziO5LWFH\nrhRpvcfJ3rrRXGDJBj4ngIiYm9bzPxcRv05r6OtHxP0D3v80sMWAcZca8J6Vgf7qDRExk+RuTgsH\nli4ENiVZZXG/iHiigfjNGuaavXWdiHgRuE3SdEknksysK7PrgXccGvi48nxf4KD0Vm8PkNyPdKDb\ngA2qnv8SOCo92btmum0CybmA4fwKWDsijnWityJ4iWOzIUi6Edi3cmeyAa+tDZwcEYN9UZh1FM/s\nzYZ2MnBwjdcOBn7QxljMGuaZvZlZCXhmb2ZWAk72ZmYl4GRvZlYCTvZmZiXgZG9mVgJO9mZmJfD/\nAaTWw6sIdNJsAAAAAElFTkSuQmCC\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x63429b0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vp = 10.0 #Peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vi = 3.0 #Input voltage (in volts) \n",
+ "Vo = Vi - 2.0 #Output voltage (in volts) \n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "t = numpy.linspace(0,2,100)\n",
+ "t1 = numpy.linspace(2,4,100)\n",
+ "t2 = numpy.linspace(4,9,100)\n",
+ "t3 = numpy.linspace(9,11,100)\n",
+ "t4 = numpy.linspace(11,21,100)\n",
+ "t5 = numpy.linspace(21,23,100)\n",
+ "t6 = numpy.linspace(23,28,100)\n",
+ "t7 = numpy.linspace(28,30,100)\n",
+ "t8 = numpy.linspace(30,32,100)\n",
+ "\n",
+ "ylim((0,5))\n",
+ "plot(t1,0.5*t1 -1,'b')\n",
+ "plot(t2,(1*t2)/t2,'b')\n",
+ "plot(t3,1 -0.5*(t3-9))\n",
+ "plot(t5,0.5*(t5-21),'b')\n",
+ "plot(t6,(1*t6)/t6,'b')\n",
+ "plot(t7,1-0.5*(t7-28),'b')\n",
+ "plot(t8,(0*t8/t8),'b')\n",
+ "title(\"Output waveform\")\n",
+ "xlabel(\"time (t) ->\")\n",
+ "ylabel(\"Output voltage (Vo) ->\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.12 , Page Number 869"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x63b38b0>"
+ ]
+ },
+ "execution_count": 2,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYAAAAEZCAYAAACervI0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm8VWW9x/HPL9BEVMQhh9TwUioZKQ6lprlzuuTY1Rum\n5YA3vZk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HUDrx8H\n3ANhtExLJqIxs5PN7G4zezCZQKOh99ZN/nNl8vnPmdluyWQbL5vZ/ybrbGVmk5N1ZprZvsnb7yXc\nqt+cHYG5ZjbUzHZq5d9fpE3KPiewSAlcAOzsYXTWIskkQ19z93mNvHcXwuiOnxIOwL9x9zfrrePA\na+7ex8yuBW4B9ga6EIYC+QNwPPCQu1+ZjM3TFcDdFyVjy3R1948a+wu4+zQz+zph/KvhZuaE8X3G\nNfU+kfZQC0CqQVOTdGwGLG3i9YnuvtTdVwCzgR6NrFc3KOFM4Bl3/8jdFwMrzGwjYArQP5nZ7Ose\nhmOus4iw8ouOAAABRklEQVTiUW4b5O7L3H2Eu+8LnJb8LGjufSJtpQIgWdBUgVhR8Hg1Yfanptar\nJbQWKHje2cMsZ/sRhjS/xcxOqLf9okG3zOx7tnZu2d0KlvdIisjdwGvAMU1kF2kXnQKSarAUaOxK\nm8XABq34rOam/GvwdTPbDnjT3Yeb2eeB3YDbkpe3oN68Fh7G7J9Q8P4ehDHmNwVGAvu4e0PTZop0\nGBUAqXju/q6ZPZV07j7g7hcUvLbazGaZ2Y7uPrduccGf9YfDbWh4XK/3uP5zgBxwnpmtJBSkE2HN\nhO3vtuA8/irgQnd/rpn1RDqMhoOWqmdmJxPGbm/wKp8Sb/s0oKu7X1fubYs0RwVAql4yu9xjwP5e\n5l94M5sIHFWvU1gkFVQAREQySlcBiYhklAqAiEhGqQCIiGSUCoCISEapAIiIZJQKgIhIRv0/gS6r\npvtxRpEAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x61964f0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import ylim,xlim,plot,title,xlabel,ylabel\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "VSmax = 20.0 #peak voltage (in volts)\n",
+ "VD2 = 0.7 #Voltage drop across diode D2 (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vomin = 5.0 - VD2 #Minimum output voltage (in volts) \n",
+ "Vomax = 10.7 #Maximum output voltage (in volts) \n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "t = numpy.linspace(0,4,100)\n",
+ "t1 = numpy.linspace(4,10,100)\n",
+ "t2 = numpy.linspace(10,20,100)\n",
+ "t3 = numpy.linspace(20,24,100)\n",
+ "t4 = numpy.linspace(24,30,100)\n",
+ "t5 = numpy.linspace(30,40,100)\n",
+ "\n",
+ "ylim((0,15))\n",
+ "xlim((0,40))\n",
+ "plot(t,4.3+t-t,'b')\n",
+ "plot(t1,4.3 + 6.4/6*(t1 - 4))\n",
+ "plot(t2,(10.7)+t2-t2,'b')\n",
+ "plot(t3,(4.3+t3)-t3,'b')\n",
+ "plot(t4,4.3 + 6.4/6*(t4 - 24),'b')\n",
+ "plot(t5,(10.7)+t5-t5,'b')\n",
+ "\n",
+ "title(\"Output waveform\")\n",
+ "xlabel(\"t (in ms) ->\")\n",
+ "ylabel(\"Vo (in volt) ->\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.13 , Page Number 872"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x6594970>"
+ ]
+ },
+ "execution_count": 3,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEZCAYAAACQK04eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xm81mP+x/HXp01SlhRlNwiJKWHsHRWyjLEvY99+Y0mM\nfRvV2GUra1kqSxlki0mSTpYYpIjQRCgSkkol1fn8/ri+Zzpyzuk+59z3fd3L+/l4nMe57++57/v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rKOC5yJmKhpkZ8AAw\n2d1vj52npsyshZmtmdxeFdgbmBA3VWrc/XJ339DdNyV8VH/F3U+InasmzKyJmTVLbq8G7APkxQg3\nd/8WmG5mbZJDXYGPIkaqrWMIDYdqxVqrp1L5PrHLzIYCnYC1zWw6cJW7D4wcqyZ2A44DPjCz8oJ5\nmbu/GDFTTbQGBiejGuoBD7v76MiZaisfuz3XBZ4O7QcaAI+6+0txI9XIOcCjSaPzM+DkyHlqJHmz\n7Qqs9NpKTg3nFBGRzMu1rh4REckwFX4RkSKjwi8iUmRU+EVEiowKv4hIkVHhFxEpMir8UlTMbO0K\nS9fONLMZye35ZnZnGs9zs5l1Sm6fl0woK//Z6PKJTiIxaBy/FC0z6wnMd/db0/y6zYDR7r5Tcn8a\nsIO7z07un05Ydjmt5xVJlVr8UuwMwMxKyjc/MbNeZjbYzF5NNhY5NGnBf2BmI5K12jGzjmZWmqxE\n+WKynwGEpcRfTh7Tg7C09RgzK59FPJywLINIFCr8IpXbFNgLOAh4BBjl7tsBi4ADksXs7gAOc/cd\ngIHAtclzdyesO4W79wO+AUrcvUty7FugRTLFXiTrcmqtHpEc4cAId19mZh8C9dx9ZPKzScAmQBtg\nG8La8xDWlvomecxGwMyVnGMWYfXZT9IbXWTlVPhFKvcrhPX9zWxJheNlhP83Bnzk7rtW8fyVfZo2\n8nMhNikA6uoR+b1UNkL5FGhZviG3mTU0s7bJz74EWlV47Hxg9RWevy7aa0IiUeGXYucVvld2G37f\nMvdkT+jDgRuTrR4nALskP3+d324AMwB4sfzibnIReLa7L0jbn0KkBjScUyTNkq0rx7j7jlX8/P+A\n1dz9tuwmEwnU4hdJs2Sf4jFmtlcVDzkKuC+LkUR+Qy1+EZEioxa/iEiRUeEXESkyKvwiIkVGhV9E\npMio8IuIFBkVfhGRIvP/oMiPFSU8spUAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x625a790>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,xlabel,ylabel,title\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vp = 48.0 #Peak-to-peak voltage (in volts)\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,2 * math.pi,100)\n",
+ "y = numpy.sin(x)\n",
+ "plot(x,24 + 24*y)\n",
+ "plot(x,(24)+x-x,'--')\n",
+ "xlabel(\"Time(t)\")\n",
+ "ylabel(\"Output voltage (Vo)\")\n",
+ "title(\"Output waveform\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 33.14 , Page Number 872"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x64a0b30>"
+ ]
+ },
+ "execution_count": 2,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEZCAYAAACJjGL9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHbhJREFUeJzt3X2wHVWZ7/HvTwQZBUwckPASiAooUAhYU5EBga0gE1Bg\ncFTEKxmduUpJITM1cocXucWJVGEY1HJEcJgaFEUSjGAogoAkXjYgInMViIEQk1xICAkg74TwYgLP\n/aPXCZ2dvfvsc/ZL9znn96nadbpXr939nE6nn16r+/RSRGBmZtbKm8oOwMzMqs2JwszMCjlRmJlZ\nIScKMzMr5ERhZmaFnCjMzKyQE4XZKCDpBEmrJK2VtH/Z8dj44kRhfSXp85IWSVon6TFJl0p6+zC+\nv0LSR7oYT+H6JP1R0qdz84dIer1J2QuSevn/6ZvAqRGxbUQs7OF2NiNpS0nXSHo4/e6H93P7Vj4n\nCusbSV8FZgJfBbYDDg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Wjv7E/gk8GVJG4CXgM+UFnDFSZoNHA5sL2kVcB7Z02Q+NkdgqP2Jj83hOAT4\nHPAHSfemsnOA3WBkx6df4WFmZoWq3PVkZmYV4ERhZmaFnCjMzKyQE4WZmRVyojAzs0JOFGZmVsiJ\nwqxLJL1d0pfLjsOs25wozLpnInBq2UGYdZsThVn3zATekwbWubDsYMy6xX+ZbdYlknYHboiI/cqO\nxayb3KIw6x4PrGNjkhOFmZkVcqIw6561wLZlB2HWbU4UZl0SEU8Dd0pa5JvZNpb4ZraZmRVyi8LM\nzAo5UZiZWSEnCjMzK+REYWZmhZwozMyskBOFmZkVcqIwM7NCThRmZlbo/wODNv2bYBc2BgAAAABJ\nRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x6264e10>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import math\n",
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylim,xlabel,ylabel,title,subplot\n",
+ "\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Vi = 10.0 #Input a.c. voltage (in volts)\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "#Positive Clipping\n",
+ "subplot(211)\n",
+ "k1= numpy.arange(0.0001, 0.500, 0.0005)\n",
+ "k2= numpy.arange(0.500, 1.000, 0.0005)\n",
+ "k3= numpy.arange(1.000,1.500, 0.0005)\n",
+ "k4= numpy.arange(1.500,2.000, 0.0005)\n",
+ "m = numpy.arange(-10,10,0.0005)\n",
+ "\n",
+ "x5=(0.0500*m)/m\n",
+ "x10=(0.500*m)/m\n",
+ "x15=(1.000*m)/m\n",
+ "x25=(1.500*m)/m\n",
+ "\n",
+ "plot(k1,10*k1/k1,'b')\n",
+ "plot(k2,-10*k2/k2,'b')\n",
+ "plot(k3,10*k3/k3,'b')\n",
+ "plot(k4,-10*k4/k4,'b')\n",
+ "plot(x10,m,'b')\n",
+ "plot(x15,m,'b')\n",
+ "plot(x25,m,'b')\n",
+ "\n",
+ "ylim( (-12,12) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('Positive Clipping')\n",
+ "title('Output Waveform 1')\n",
+ "\n",
+ "#Negative Clipping\n",
+ "subplot(212)\n",
+ "k1= numpy.arange(0.0001, 0.500, 0.0005)\n",
+ "k2= numpy.arange(0.500, 1.000, 0.0005)\n",
+ "k3= numpy.arange(1.000,1.500, 0.0005)\n",
+ "k4= numpy.arange(1.500,2.000, 0.0005)\n",
+ "m = numpy.arange(-20,0,0.0005)\n",
+ "\n",
+ "x5=(0.500*m)/m\n",
+ "x10=(0.500*m)/m\n",
+ "x15=(1.000*m)/m\n",
+ "x25=(1.500*m)/m\n",
+ "\n",
+ "plot(k1,0*k1/k1,'b')\n",
+ "plot(k2,-20*k2/k2,'b')\n",
+ "plot(k3,0*k3/k3,'b')\n",
+ "plot(k4,-20*k4/k4,'b')\n",
+ "plot(x10,m,'b')\n",
+ "plot(x15,m,'b')\n",
+ "plot(x25,m,'b')\n",
+ "\n",
+ "ylim( (-22,0) )\n",
+ "ylabel('Vo')\n",
+ "xlabel('t')\n",
+ "title('Output Waveform 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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_4.ipynb
new file mode 100644
index 00000000..cb56befb
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_4.ipynb
@@ -0,0 +1,119 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3fc338a030e4c2c109e9bc75c84604c2cf87b091971f96fe505c5b211472f4a5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 34 , Time Base Circuits"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 34.1, Page Number 883"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R = 100.0 * 10**3 #Resistance (in ohm)\n",
+ "C = 0.4 * 10**-6 #Capacitance (in Farad)\n",
+ "n = 0.57 #Ratio of peak-peak voltage to the supply voltage \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f = 1 / (2.3 * R * C * math.log10(1/(1-n))) #Frequency (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Frequency of sweep is \",round(f,2),\" Hz.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of sweep is 29.66 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 34.2 , Page Number 883"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "n = 0.62 #Ratio of peak-peak voltage to the supply voltage \n",
+ "R = 5.0 * 10**3 #Resistance (in ohm)\n",
+ "C = 0.05 * 10**-6 #Capacitor (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "T = 2.3 * R * C * math.log10(1/(1-n)) #Time period of oscillation (in seconds)\n",
+ "f = 1/T #Frequency of oscillation (in Hertz) \n",
+ "f1 = 50.0 #New frequency (in Hertz)\n",
+ "T1 = 1/f1 #New time period of oscillation (in seconds)\n",
+ "R1 = T1 / (2.3 * C * math.log10(1/(1-n))) #New Resistance (in ohm)\n",
+ "f2 = 50.0 #Another new frequency (in Hertz)\n",
+ "C2 = 0.5 * 10**-6 #Capacitance (in Farad) \n",
+ "T2 = 1/f2 #Another new time period (in seconds)\n",
+ "R2 = T2 / (2.3 * C2 * math.log10(1/(1-n))) #New Resistance (in ohm)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The time period and frequency of oscillation in case 1 is \",round(T * 10**3,2),\" ms and \",round(f),\" Hz.\"\n",
+ "print \"New value of R is \",round(R1 * 10**-3),\" kilo-ohm.\"\n",
+ "print \"Value of R with C is 0.5 micro-Farad is \",round(R2 * 10**-3,1),\" kilo-ohm.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The time period and frequency of oscillation in case 1 is 0.24 ms and 4139.0 Hz.\n",
+ "New value of R is 414.0 kilo-ohm.\n",
+ "Value of R with C is 0.5 micro-Farad is 41.4 kilo-ohm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_4.ipynb
new file mode 100644
index 00000000..3c5c201e
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_4.ipynb
@@ -0,0 +1,653 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 35 , Operational Amplifiers (OP - Amps)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.1 , Page Number 895"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The common-mode rejection ratio is 90.0 dB.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Adm = 200000.0 #Differential gain\n",
+ "Acm = 6.33 #Common mode gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "CMRR = 20 * math.log10(Adm / Acm) #Common-mode rejection ratio (in Decibels) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The common-mode rejection ratio is \",round(CMRR),\" dB.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.2 , Page Number 896"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The common-mode gain is 0.949 .\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "CMRR = 90.0 #Common-mode rejection ratio (in Decibels)\n",
+ "Adm = 30000.0 #Differential gain\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Acm = 10**(-CMRR/20.0) * Adm #Common-mode gain \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The common-mode gain is \",round(Acm,3),\".\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.3 , Page Number 896"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The maximum operating frequency for the amplifier is 796.0 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Slew_rate = 0.5 * 10**6 #Slew rate (in volt per second)\n",
+ "Vpk = 100.0 * 10**-3 #Peak-to-peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fmax = Slew_rate / (2 * math.pi * Vpk) #Maximum operating frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The maximum operating frequency for the amplifier is \",round(fmax * 10**-3),\" kHz.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.4 , Page Number 896"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The maximum operating frequency for TLO 741 is 7.958 kHz.\n",
+ "The maximum opearing frequency for TLO 81 is 206.9 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "Slew_rate1 = 0.5 * 10**6 #Slew rate (in volt per second)\n",
+ "Slew_rate2 = 13.0 * 10**6 #Slew rate (in volt per second)\n",
+ "Vpk = 10.0 #Peak-to-peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fmax = Slew_rate1 / (2 * math.pi * Vpk) #Maximum operating frequency1 (in Hertz)\n",
+ "fmax1 = Slew_rate2 / (2 * math.pi * Vpk) #Maximum operating frequency2 (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The maximum operating frequency for TLO 741 is \",round(fmax * 10**-3,3),\" kHz.\\nThe maximum opearing frequency for TLO 81 is \",round(fmax1 * 10**-3,1),\" kHz.\"\n",
+ "\n",
+ "#Slight variation due to higher precision."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.5 , Page Number 899"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Maximum allowable input voltage (Vin) is 40.0 mV.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ACL = 200.0 #Closed loop voltage gain\n",
+ "Vout = 8.0 #Output voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vin = - Vout / ACL #Input a.c. voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Maximum allowable input voltage (Vin) is \",abs(Vin * 10**3),\" mV.\" "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.6 , Page Number 900"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The maximum possible output value could be between 10.0 V and -10.0 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ACL = 150.0 #Closed loop voltage gain\n",
+ "Vin = 200.0 * 10**-3 #Input a.c. voltage (in volts) \n",
+ "V = 12.0 #Voltage (in volts) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vout = ACL * Vin #Output voltage (in volts)\n",
+ "Vpkplus = V -2.0 #maximum positive peak voltage (in volts)\n",
+ "Vpkneg = -V + 2.0 #maximum negative peagk voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The maximum possible output value could be between \",Vpkplus,\" V and \",Vpkneg,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.7 , Page Number 900"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The value of output voltage increases from 1.0 V to 4.0 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 1.0 * 10**3 #Resistance (in volts)\n",
+ "R2 = 10.0 * 10**3 #Resistance (in volts)\n",
+ "vinmin = 0.1 #Input voltage minimum (in volts)\n",
+ "vinmax = 0.4 #Input voltage maximum (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ACL = R2 / R1 #Closed loop voltage gain\n",
+ "Voutmin = ACL * vinmin #Minimum output voltage (in volts)\n",
+ "Voutmax = ACL * vinmax #Maximum output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The value of output voltage increases from \",Voutmin,\" V to \",Voutmax,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.8 , Page Number 901"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output voltage of the inverting amplifier is 2.0 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 1.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 2.0 * 10**3 #Resistance (in ohm)\n",
+ "V1 = 1.0 #Voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ACL = R2 / R1 #Closed loop voltage gain \n",
+ "vo = ACL * V1 #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output voltage of the inverting amplifier is \",vo,\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.9 , Page Number 901"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Closed-loop gain is 10.0 .\n",
+ "Input impedance is 10.0 kilo-ohm.\n",
+ "Output impedance is 80.0 ohm.\n",
+ "Common-mode rejection ratio is 10000.0 .\n",
+ "Maximum operating frequency is 15.9 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R2 = 100.0 * 10**3 #Resistance (in ohm)\n",
+ "R1 = 10.0 * 10**3 #Resistance (in ohm) \n",
+ "ACM = 0.001 #Common-mode gain \n",
+ "Slew_rate = 0.5 * 10**6 #Slew rate (in volt per second) \n",
+ "Vpk = 5.0 #Peak voltage (in volts)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ACL = R2 / R1 #Closed loop voltage gain\n",
+ "Zin = R1 #Input impedance of the circuit (in ohm)\n",
+ "Zout = 80.0 #Output impedance of the circuit (in ohm)\n",
+ "CMRR = ACL / ACM #Common mode rejection ratio \n",
+ "fmax = Slew_rate / (2*math.pi*Vpk) #Maximum frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Closed-loop gain is \",ACL,\".\\nInput impedance is \",Zin * 10**-3,\" kilo-ohm.\\nOutput impedance is \",Zout,\" ohm.\\nCommon-mode rejection ratio is \",CMRR,\".\\nMaximum operating frequency is \",round(fmax * 10**-3,1),\" kHz.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.10 , Page Number 904"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Closed loop gain is 11.0 .\n",
+ "CMRR is 11000.0 .\n",
+ "Maximum operating frequency is 14.47 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R2 = 100.0 * 10**3 #Resistance (in ohm)\n",
+ "R1 = 10.0 * 10**3 #Resistance (in ohm) \n",
+ "Slew_rate = 0.5 * 10**6 #Slew rate (in volt per second) \n",
+ "Vpk = 5.5 #Peak voltage (in volts)\n",
+ "RL = 10.0 * 10**3 #Load resistance (in ohm) \n",
+ "ACM = 0.001 #Common mode gain \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "ACL = (1 + R2/R1) #Closed loop voltage gain \n",
+ "CMRR = ACL / ACM #Common-mode rejection ratio \n",
+ "vin = 1.0 #Voltage (in volts)\n",
+ "Vout = ACL * vin #Output voltage (in volts)\n",
+ "Vpk = 5.5 #Peak-to-peak voltage (in volts) \n",
+ "fmax = Slew_rate/(2*math.pi*Vpk) #Maximum frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Closed loop gain is \",ACL,\".\\nCMRR is \",CMRR,\".\\nMaximum operating frequency is \",round(fmax * 10**-3,2),\" kHz.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.11 , Page Number 905"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "ACL is 1.0 .\n",
+ "CMRR is 1000.0 .\n",
+ "fmax is 26.5 kHz.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "ACL = 1.0 #Closed loop gain\n",
+ "Acm = 0.001 #Common mode gain \n",
+ "Slew_rate = 0.5 * 10**6 #Slew rate (in Volt per second)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "CMRR = ACL / Acm #Common-mode rejection ratio \n",
+ "vin = 1.0 #Voltage (in volts)\n",
+ "Vout = ACL * vin #Output voltage (in volts)\n",
+ "Vpk = 3.0 #Peak-to-peak voltage (in volts) \n",
+ "fmax = Slew_rate/(2*math.pi*Vpk) #Maximum frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"ACL is \",ACL,\".\\nCMRR is \",CMRR,\".\\nfmax is \",round(fmax * 10**-3,1),\" kHz.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.12 , Page Number 906"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output voltage is 3.52 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1 = 0.1 #Voltage (in volts)\n",
+ "V2 = 1.0 #Voltage (in volts)\n",
+ "V3 = 0.5 #Voltage (in volts) \n",
+ "R1 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "R3 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "R4 = 22.0 * 10**3 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vout = (-R4/R1*V1) + (-R4/R2*V2) + (-R4/R3*V3) #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output voltage is \",abs(Vout),\" V.\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.13 , Page Number 907"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "<matplotlib.text.Text at 0x64f0810>"
+ ]
+ },
+ "execution_count": 7,
+ "metadata": {},
+ "output_type": "execute_result"
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEZCAYAAABiu9n+AAAABHNCSVQICAgI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vU+7ykCcJ55xzCXmS\ncC59lgAbhQ7CuXTyJOFcmqjqQuAdEZnmA9cuX/jAtXPOuYS8JeGccy4hTxLOOecS8iThnHMuIU8S\nzjnnEvIk4ZxzLiFPEs455xLyJOGccy4hTxLOOecS+v9Gr+PP63BOOgAAAABJRU5ErkJggg==\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x6306df0>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import numpy\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot,ylabel,xlabel,title\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "#V1 = 2 * sin(wt) #Voltage (in volts)\n",
+ "V2 = 5.0 #Voltage (in volts)\n",
+ "V3 = -100.0 * 10**-3 #Voltage (in volts) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "#Vo = 4 * V1 + V2 + 0.1 * V3 #Output voltage\n",
+ "\n",
+ "#Graph\n",
+ "\n",
+ "x = numpy.linspace(0,10,200)\n",
+ "y = numpy.sin(x)\n",
+ "plot(x,-15 + 8*y)\n",
+ "plot(x,x-x-15,'')\n",
+ "title(\"output waveform\")\n",
+ "ylabel(\"output voltage (Vo)\")\n",
+ "xlabel(\"t\")"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 35.14 , Page Number 908"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Output voltage is 4.0 V.\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "V1 = -2.0 #Voltage (in volts)\n",
+ "V2 = 2.0 #Voltage (in volts)\n",
+ "V3 = -1.0 #Voltage (in volts) \n",
+ "R1 = 200.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 250.0 * 10**3 #Resistance (in ohm)\n",
+ "R3 = 500.0 * 10**3 #Resistance (in ohm)\n",
+ "Rf = 1.0 * 10**6 #Resistance (in ohm)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Vout = (-Rf/R1*V1) + (-Rf/R2*V2) + (-Rf/R3*V3) #Output voltage (in volts)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Output voltage is \",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/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_4.ipynb b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_4.ipynb
new file mode 100644
index 00000000..82205bce
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_4.ipynb
@@ -0,0 +1,195 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:18142c4d926311a435ed592a7ec40be6e57bd0d23bda115aad3c84afb60326d1"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 36 , Basic Op-Amp Applications"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 36.1 , Page Number 920"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 1.0 * 10**3 #Resistance (in ohm)\n",
+ "R2 = 100.0 * 10**3 #Resistance (in ohm)\n",
+ "f1 = 159.0 #Frequency (in Hertz)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "C = 1.0/(2*math.pi*R2*f1) #Capacitance (in Farad) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Capacitance required in the circuit is \",round(C * 10**6,2),\" micro-Farad.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Capacitance required in the circuit is 0.01 micro-Farad.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 36.2 , Page Number 921"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 1.0 * 10**3 #Resistance (in ohm)\n",
+ "Rf = 51.0 * 10**3 #Resistance (in ohm)\n",
+ "Cf = 0.01 * 10**-6 #Capacitance (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f = 1.0/(2*math.pi*Rf*Cf) #Frequency (in Hertz)\n",
+ "fmin = 10* f #Minimum frequency required (in Hertz) \n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The cut-off frequency of an integrator circuit is \",round(f),\" Hz.\"\n",
+ "print \"Minimum non-linear operating frequency is \",round(fmin),\" Hz.\"\n",
+ "\n",
+ "#Printing mistake about the value of Cf. It should be 0.01 micro-Farad."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The cut-off frequency of an integrator circuit is 312.0 Hz.\n",
+ "Minimum non-linear operating frequency is 3121.0 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 36.3 , Page Number 922"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = 10.0 * 10**3 #Resistance (in ohm)\n",
+ "C1 = 0.01 * 10**-6 #Capacitor (in Farad)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "f2 = 1.0/(2*math.pi*R1*C1) #Frequency (in Hertz)\n",
+ "fmax = f2 / 10.0 #Maximum linear operating freqeuncy (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"Cut-off frequency is \",round(f2,1),\" Hz.\"\n",
+ "print \"Maximum linear operating frequency is \",round(fmax),\" Hz.\"\n",
+ "\n",
+ "#Printing mistake in book about the value of f2."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cut-off frequency is 1591.5 Hz.\n",
+ "Maximum linear operating frequency is 159.0 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 36.4 , Page Number 924"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Variables\n",
+ "\n",
+ "R1 = R2 = 51.0 * 10**3 #Resistance (in ohm)\n",
+ "C1 = C2 = C = 0.001 * 10**-6 #Capacitance (in Farad) \n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "fo = 1.0/(2*math.pi*R1*C1) #Resonant frequency (in Hertz)\n",
+ "\n",
+ "#Result\n",
+ "\n",
+ "print \"The frequency of oscillations is \",round(fo,1),\" Hz.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The frequency of oscillations is 3120.7 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_3.png b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_3.png
new file mode 100644
index 00000000..e07115cd
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_3.png
Binary files differ
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_3.png b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_3.png
new file mode 100644
index 00000000..22df6b70
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_3.png
Binary files differ
diff --git a/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_3.png b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_3.png
new file mode 100644
index 00000000..5acc571a
--- /dev/null
+++ b/A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_3.png
Binary files differ
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_5.ipynb
new file mode 100644
index 00000000..ae565265
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_5.ipynb
@@ -0,0 +1,1092 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:b4a0f0559d297d7743b1fffa63bdc97b5eb29843c8d1e8453183351781436bcb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 : De Broglie Matter Waves"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 Page No3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "M = 6e24 # Mass of earth in Kg\n",
+ "v = 3e4 # Orbital velocity of earth in m/s\n",
+ "h = 6.625e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(M*v) # calculation of de Broglie wavelength\n",
+ "\n",
+ "print \" de Broglie wavelength of earth is %e m.\"%(lambda1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of earth is 3.680556e-63 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 Page No4"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "M = 1. # Mass of object in Kg\n",
+ "v = 10. # velocity of object in m/s\n",
+ "h = 6.625e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(M*v) # calculation of de Broglie wavelength\n",
+ "\n",
+ "print \" de Broglie wavelength of body is %e m.\"%(lambda1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of body is 6.625000e-35 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3 Page No7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "# Given that\n",
+ "m = 1e-30 # Mass of any object in Kg\n",
+ "v = 1e5 # velocity of object in m/s\n",
+ "h = 6.625e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(m*v) # calculation of de Broglie wavelength\n",
+ "\n",
+ "print \" de Broglie wavelength of body is %e m.\"%(lambda1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of body is 6.625000e-09 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 Page No11"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "# Given that\n",
+ "KE = 4.55e-25 # Kinetic energy of an electron in Joule\n",
+ "m = 9.1e-31 # Mass of any object in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "v = math.sqrt(2*KE/m) # Calculation of velocity of moving electron\n",
+ "p = m*v #Calculation of momentum of moving electron\n",
+ "lambda1 = h/p # calculation of de Broglie wavelength\n",
+ "print \" velocity of electron is %e m/s.\"%(v)\n",
+ "print \" momentum of electron is %e Kgm/s.\"%(p)\n",
+ "print \" de Broglie wavelength of electron is %e m.\"%(lambda1)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " velocity of electron is 1.000000e+03 m/s.\n",
+ " momentum of electron is 9.100000e-28 Kgm/s.\n",
+ " de Broglie wavelength of electron is 7.274725e-07 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.5 Page No14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "c = 3.e8 # speed of light in m/s\n",
+ "v = c/20 # Speed of proton in m/s\n",
+ "m = 1.67e-27 # Mass of proton in Kg\n",
+ "h = 6.625e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(m*v) # calculation of de Broglie wavelength\n",
+ "print \" de Broglie wavelength of proton is %e m.\"%(lambda1)\n",
+ "# Answer in book is 6.645e-14m which is a calculation mistake\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of proton is 2.644711e-14 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 Page No14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "e = 12.8 # Energy of neutron in MeV\n",
+ "c = 3e8 # speed of light in m/s\n",
+ "m = 1.675e-27 # Mass of neutron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "rest_e = m*c**2/(1e6*1.6e-19)# rest mass energy of neutron in MeV\n",
+ "if e/rest_e < 0.015 :\n",
+ " E = e;\n",
+ "else:\n",
+ " E = rest_e +e;\n",
+ "\n",
+ "lambda1 = h/(math.sqrt(2*m*e*1e6*1.6e-19)) # calculation of de Broglie wavelength\n",
+ "\n",
+ "print \" de Broglie wavelength of neutron is %e angstrom.\"%( lambda1*1e10)\n",
+ "# Answer in book is 8.04e-5 angstrom which is misprinted\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of neutron is 7.992279e-05 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.7 Page No15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "e = 1.632e-19 # charge on electron in coulomb\n",
+ "V = 50 # Applied voltage in volts\n",
+ "m = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(math.sqrt(2*e*V*m)) # calculation of de Broglie wavelength\n",
+ "print \" de Broglie wavelength of neutron is %f angstrom.\"%( lambda1*1e10)\n",
+ "# Answer in book is 1.735 angstrom which is misprinted\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of neutron is 1.717818 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.9 Page No18"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "e = 1.6e-19 # charge on electron in coulomb\n",
+ "V = 54 # Applied voltage in volts\n",
+ "m = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(math.sqrt(2*e*V*m)) # calculation of de Broglie wavelength\n",
+ "print \" de Broglie wavelength of neutron is %f angstrom.\"%( lambda1*1e10)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of neutron is 1.671941 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.10 Page No21"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "E = 10 # Energy of electron in KeV\n",
+ "m_e = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "v = math.sqrt(2*E*1.6e-16/m_e) # Calculation of velocity of moving electron\n",
+ "p = m_e*v #Calculation of momentum of moving electron\n",
+ "lambda1 = h/p # calculation of de Broglie wavelength\n",
+ "print \" velocity of electron is %0.2e m/s.\"%(v)\n",
+ "print \" momentum of electron is %.3e Kgm/s.\"%(p)\n",
+ "print \" de Broglie wavelength of electron is %.2f angstrom.\"%( lambda1*1e10)\n",
+ " # Answers in book are v = 5.93e6 m/s, p = 5.397e-24 kgm/s, lambda = 1.23 angstrom\n",
+ "# Which is due to wrong calculation\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " velocity of electron is 5.93e+07 m/s.\n",
+ " momentum of electron is 5.396e-23 Kgm/s.\n",
+ " de Broglie wavelength of electron is 0.12 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.11 Page No22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "lambda1 = 1. # de Broglie wavelength of neutron in angstrom\n",
+ "m = 1.67e-27 # Mass of electron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "v = h/(m*lambda1*1e-10) # Calculation of velocity of moving neutron\n",
+ "E = 1./2*m*v**2 # Calculation of kinetic energy of moving neutron\n",
+ "print \" velocity of neutron is %e m/s.\"%(v)\n",
+ "print \" Kinetic energy of neutron is %f eV.\"%(E/1.6e-19)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " velocity of neutron is 3.964072e+03 m/s.\n",
+ " Kinetic energy of neutron is 0.082007 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.12 Page No26"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "#Given that\n",
+ "E = 2 # Energy of accelerated electron in KeV\n",
+ "m = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/math.sqrt(2*m*E*1e3*1.6e-19) # Calculation of velocity of moving electron\n",
+ "print \" Wavelength of electron is %e m.\"%(lambda1)\n",
+ "# Answer in book is 2.74e-12m\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Wavelength of electron is 2.743136e-11 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.13 Page No28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "#Given that\n",
+ "v = 2e8 # speed of moving proton in m/s\n",
+ "c = 3e8 # speed of light in m/s\n",
+ "m = 1.67e-27 # Mass of proton in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(m*v/math.sqrt(1-(v/c)**2)) # Calculation of velocity of moving electron\n",
+ "print \" Wavelength of electron is %e angstrom.\"%( lambda1*1e10)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Wavelength of electron is 1.477322e-05 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.14 Page No30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 1.# wavelength in m/s\n",
+ "m_e = 9.1e-31 # Mass of electron in Kg\n",
+ "m_p = 1.67e-27 # Mass of proton in kg\n",
+ "c = 3e8 # speed of light in m/s\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "p_p = h/(lambda1*1e-10) # Momentum of photon\n",
+ "p_e = h/(lambda1*1e-10) # Momentum of electron\n",
+ "E_e = p_e**2/(2*m_e) +m_e*c**2 # Total energy of electron\n",
+ "E_p = h*c/(lambda1*1e-10) # Total energy of photon\n",
+ "K_e = p_e**2/(2*m_e) # Kinetic energy of electron \n",
+ "K_p = h*c/(lambda1*1e-10)# Kinetic energy of photon\n",
+ "r_K = K_e/K_p # Ratio of kinetic energies\n",
+ "print \" Momentum of photon is %e Kgm/s while Momentum of electron is %e Kgm/s which are equal.\"%(p_p,p_e)\n",
+ "print \" Total Energy of photon is %f KeV while Total Energy of electron is %f MeV \"%(E_p/1.6e-19*1e3,(E_e/1.6e-19*1e6))\n",
+ "print \" Ratio of kinetic energies is %e \"%(r_K)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Momentum of photon is 6.630000e-24 Kgm/s while Momentum of electron is 6.630000e-24 Kgm/s which are equal.\n",
+ " Total Energy of photon is 12431250.000000 KeV while Total Energy of electron is 512025950892.857117 MeV \n",
+ " Ratio of kinetic energies is 1.214286e-02 \n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.15 Page No31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "e = 25 # Energy of neutron in eV\n",
+ "c = 3e8 # speed of light in m/s\n",
+ "m = 1.67e-27 # Mass of neutron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "rest_e = m*c**2/(1e6*1.6e-19)# rest mass energy of neutron in MeV\n",
+ "if e/rest_e < 0.015:\n",
+ " E = e;\n",
+ "else:\n",
+ " E = rest_e +e;\n",
+ "\n",
+ "lambda1 = h/(math.sqrt(2*m*e*1.6e-19)) # calculation of de Broglie wavelength\n",
+ "print \" de Broglie wavelength of neutron is %f angstrom.\"%( lambda1*1e10)\n",
+ "# Answer in book is 8.04e-5 angstrom \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of neutron is 0.057274 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.16 Page No36"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "e = 2*1.6e-19 # charge on alpha particle in coulomb\n",
+ "V = 200 # Applied voltage in volts\n",
+ "m = 4*1.67e-27 # Mass of alpha particle in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda1 = h/(math.sqrt(2*e*V*m)) # calculation of de Broglie wavelength\n",
+ "print \" de Broglie wavelength of neutron is %f angstrom.\"%( lambda1*1e10)\n",
+ "# while answer in book is 0.00715 angstrom\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of neutron is 0.007170 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.17 Page No41"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "M = 20 # Mass of ball in Kg\n",
+ "V = 5 # velocity of of ball in m/s\n",
+ "m = 9.1e-31 #Mass of electron in Kg\n",
+ "v = 1e6 # velocity of of electron in m/s\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "\n",
+ "lambda_b = h/(M*V) # calculation of de Broglie wavelength for ball\n",
+ "lambda_e = h/(m*v) # calculation of de Broglie wavelength electron\n",
+ "print \" de Broglie wavelength of ball is %e angstrom.\"%(lambda_b*1e10)\n",
+ "print \" de Broglie wavelength of electron is %f angstrom.\"%(lambda_e*1e10)\n",
+ "# answer in book is 6.62e-22 angstrom for ball\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " de Broglie wavelength of ball is 6.620000e-26 angstrom.\n",
+ " de Broglie wavelength of electron is 7.274725 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.18 Page No44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "E = 1 # Energy of neutron in eV\n",
+ "m = 1.67e-27 # Mass of neutron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "lambda1 = h/math.sqrt(2*m*E*1.6e-19) # Calculation of velocity of moving electron\n",
+ "print \" Wavelength of electron is %f angstrom.\"%(lambda1*1e10)\n",
+ "# Answer in book is 6.62e-22 angstrom\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Wavelength of electron is 0.286368 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.19 Page No44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "lambda1 = 0.5# wavelength of electron in angstrom\n",
+ "m = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "q = 1.6e-19 # charge on electron in coulomb\n",
+ "\n",
+ "V = h**2/(2*m*q*(lambda1*1e-10)**2) # Calculation of velocity of moving electron\n",
+ "print \" Applied voltage on electron is %f V.\"%(V)\n",
+ "# Answer in book is 601.6 Volt\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Applied voltage on electron is 601.983516 V.\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.21 Page No46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "k = 8.6e-5 # Boltzmann consmath.tant\n",
+ "t = 37 # Temperature in degree Celsius\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "m = 1.67e-27 # Mass of neutron\n",
+ "\n",
+ "lambda1 = h/math.sqrt(3*m*(k*1.6e-19)*(t+273))# Calculation of wavelength\n",
+ "print \" Wavelength of neutron at %d degree Celsius is %f angstrom.\"%(t,lambda1*1e10)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Wavelength of neutron at 37 degree Celsius is 1.432020 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.22 Page No49"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "k = 8.6e-5 # Boltzmann consmath.tant\n",
+ "t = 27 # Temperature in degree Celsius\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "m = 6.7e-27 # Mass of helium atom\n",
+ "\n",
+ "lambda1 = h/math.sqrt(3*m*(k*1.6e-19)*(t+273))# Calculation of wavelength\n",
+ "print \" Wavelength of helium at %d degree Celsius is %f angstrom.\"%(t,lambda1*1e10)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Wavelength of helium at 27 degree Celsius is 0.726758 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.23 Page No50"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "E = 200. # energy of electrons in eV\n",
+ "x = 20. # dismath.tance of screen in cm\n",
+ "D = 2. # diameter of ring in cm\n",
+ "h = 6.62e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # Mass of electron in kg\n",
+ "\n",
+ "lambda1 = h/math.sqrt(2*m*E*1.6e-19) # Calculation of wavelength\n",
+ "theta = (math.atan(D/(2*x)))\n",
+ "d = lambda1/(2*math.sin(theta))# calculation of interatomic spacing of crystal\n",
+ "print \" Interatomic spacing of crystal is %f angstrom.\"%(d*1e10)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Interatomic spacing of crystal is 8.685393 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.24 Page No52"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "r = 0.5 # Bohr radius of hydrogen in angstrom\n",
+ "m = 9.1e-31 # Mass of neutron in Kg\n",
+ "h = 6.6e-34 # Plank consmath.tant\n",
+ "v = h/(2*math.pi*r*1e-10*m) # velocity of electron in ground state\n",
+ "print \" Velocity of electron in ground state is %e m/s.\"%(v)\n",
+ "# Answer in book is 2.31e6 m/s\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Velocity of electron in ground state is 2.308621e+06 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 45
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.25 Page No55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "lambda1 = 5890 # wavelength of yellow radiation in angstrom\n",
+ "m = 9.1e-31 # Mass of neutron in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "v = h/(lambda1*1e-10*m) # velocity of electron in ground state\n",
+ "print \" Velocity of electron in ground state is %.2e m/s.\"%(v)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Velocity of electron in ground state is 1.24e+03 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.26 Page No56"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "lambda1 = 2 # wavelength of neutron in angstrom\n",
+ "m = 1.67e-27 # Mass of neutron in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "v = h/(lambda1*1e-10*m) # velocity of neutron\n",
+ "k = 0.5*m*v**2 # Kinetic energy of neutron\n",
+ "print \" Velocity of neutron is %e m/s.\"%(v)\n",
+ "print \" Kinetic energy of neutron is %.3f eV.\"%(k/1.6e-19)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Velocity of neutron is 1.985030e+03 m/s.\n",
+ " Kinetic energy of neutron is 0.021 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 53
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.29 Page No61"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "v1 = 50 # Previous applied voltage\n",
+ "v2 = 65 # final applied voltage\n",
+ "k = 12.28 \n",
+ "d = 0.91 # Spacing in a crystal in angstrom\n",
+ "print \"Example 1.29\"\n",
+ "\n",
+ "lambda1 = k/math.sqrt(v1)\n",
+ "theta= math.asin(lambda1/(2*d))# Angel for initial applied voltage\n",
+ "lambda1 = k/math.sqrt(v2)# wavelength for final applied voltage\n",
+ "theta1 = math.asin(lambda1/(2*d))# Angel for final applied voltage\n",
+ "print \" For first order, (sintheta) is %f For second order sintheta must be %f which is not possible \\\n",
+ "for any value of angle. So no maxima occur for higher orders \"%(math.sin(theta),2*math.sin(theta))\n",
+ "print \" Angle of diffraction for first order of beam is %f degree at %d Volts\"%(theta1*180/math.pi,v2)\n",
+ "# Answer in book is 57.14 degree\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 1.29\n",
+ " For first order, (sintheta) is 0.954206 For second order sintheta must be 1.908411 which is not possible for any value of angle. So no maxima occur for higher orders \n",
+ " Angle of diffraction for first order of beam is 56.813542 degree at 65 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.30 Page No62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "lambda1 = 680 # Wavelength in m\n",
+ "g = 9.8 #Acceleration due to gravity\n",
+ "print \"Example 1.30\"\n",
+ "v_g = 1/2*math.sqrt(g*lambda1/(2*math.pi)) # Calculation of group velocity\n",
+ "print \" Group velocity of seawater waves is %f m/s.\"%(v_g)\n",
+ "# Answer in book is 16.29 m/s\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 1.30\n",
+ " Group velocity of seawater waves is 0.000000 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 63
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.32 Page No64"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "lambda1 = 2e-13 # de Broglie wavelength of an electron in m\n",
+ "c = 3e8 # Speed of light in m/s\n",
+ "m = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 1.32\"\n",
+ "E = h*c/(lambda1*1.6e-19) \n",
+ "E_rest = m*c**2/(1.6e-19) # Calculation of rest mass energy\n",
+ "E_total = math.sqrt(E**2+E_rest**2) # Total energy in eV\n",
+ "v_g = c*math.sqrt(1-(E_rest/E_total)**2) # Group velocity\n",
+ "v_p = c**2/v_g # Phase velocity\n",
+ "print \" Group velocity of de Broglie waves is %fc and phase velocity is %fc .\"%(v_g/c,v_p/c)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 1.32\n",
+ " Group velocity of de Broglie waves is 0.996626c and phase velocity is 1.003385c .\n"
+ ]
+ }
+ ],
+ "prompt_number": 65
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.33 Page No68"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "lambda1 = 2e-12 # de Broglie wavelength of an electron in m\n",
+ "c = 3e8 # Speed of light in m/s\n",
+ "m = 9.1e-31 # Mass of electron in Kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 1.33\"\n",
+ "E = h*c/(lambda1*1.6e-19) # Energy due to momentum\n",
+ "E_rest = m*c**2/(1.6e-19) # Calculation of rest mass energy\n",
+ "E_total = math.sqrt(E**2+E_rest**2) # Total energy in eV\n",
+ "KE = E_total - E_rest # Kinetic energy\n",
+ "v_g = c*math.sqrt(1-(E_rest/E_total)**2) # Group velocity\n",
+ "v_p = c**2/v_g # Phase velocity\n",
+ "\n",
+ "print \" Kinetic energy of electron is %f KeV.\"%(KE/1000)\n",
+ "print \" Group velocity of de Broglie waves is %fc m/s and phase velocity is %fc m/s.\"%(v_g/c,v_p/c)\n",
+ "# Answer in book is v_g = 0.6035c & v_p = 1.657c\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 1.33\n",
+ " Kinetic energy of electron is 293.330537 KeV.\n",
+ " Group velocity of de Broglie waves is 0.771930c m/s and phase velocity is 1.295454c m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_5.ipynb
new file mode 100644
index 00000000..dc4ec4d6
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_5.ipynb
@@ -0,0 +1,1017 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:5ca2861748d43d40b34516562fe47bc041c8b35f6ea545c8e5309115cbc73a04"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2 : Uncertainty Principle and Schrodinger wave Equation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 Page No71"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "del_x = 0.2 # Uncertainty in position in angstrom\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "print \"Example 2.1\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_p = h_bar/(2*del_x*1e-10) # Calculation of uncertainty in momentum\n",
+ "print \" Uncertainty in momentum of particle is %e kgm/sec \"%(del_p)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.1\n",
+ " Uncertainty in momentum of particle is 2.637993e-24 kgm/sec \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2 Page No75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#given that\n",
+ "del_x = 4e-10 # Uncertainty in position in m\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "print \"Example 2.2\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_p = h_bar/(2*del_x) # Calculation of uncertainty in momentum\n",
+ "print \" Uncertainty in momentum of particle is %e kgm/sec.\"%(del_p)\n",
+ "# Answer in book is given as 1.32e-23 kgm/sec\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.2\n",
+ " Uncertainty in momentum of particle is 1.318997e-25 kgm/sec.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.3 Page No75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "v = 3e7 # Velocity of moving electron in m/s\n",
+ "m = 9.1e-31 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "c = 3e8 # speed of light in m/s\n",
+ "print \"Example 2.3\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_p = m*v/(math.sqrt(1-(v/c)**2)) # calculation of uncertainty in momentum\n",
+ "del_x = h_bar/(2*del_p) # Calculation of uncertainty in position\n",
+ "print \" Uncertainty in position of particle is %f angstrom.\"%(del_x*1e10)\n",
+ "#Answer in book is 0.0194 angstrom which is due to umath.sing approximate values at intermediate steps\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.3\n",
+ " Uncertainty in position of particle is 0.019229 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.5 Page No80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "v = 1.05e4 # Velocity of moving electron in m/s\n",
+ "v_error = 0.02 #Percentage error in measurement of velocity\n",
+ "\n",
+ "m = 9e-31 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.5\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "p = m*v\n",
+ "del_p = v_error*p/100 # calculation of uncertainty in momentum\n",
+ "del_x = h_bar/del_p\n",
+ "print \" Uncertainty in position of particle is %e m.\"%(del_x)\n",
+ "# Answer in book is given as 5.58e-3 m\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.5\n",
+ " Uncertainty in position of particle is 5.583054e-05 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.6 Page No82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "v = 600 # Velocity of moving electron in m/s\n",
+ "v_error = 0.005 #Percentage error in measurement of velocity\n",
+ "m = 9.1e-31 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.6\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "p = m*v\n",
+ "del_p = v_error*p/100 # calculation of uncertainty in momentum\n",
+ "del_x = h_bar/(del_p) # Calculation of uncertainty in position\n",
+ "print \" Uncertainty in position of particle is %e m.\"%(del_x)\n",
+ "# Answer in book is 0.39e-2 m \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.6\n",
+ " Uncertainty in position of particle is 3.865191e-03 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.7 Page No82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "del_x = 1 # let uncertainty in position is unity\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "m_p = 1.67e-27 # mass of proton in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.7\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_v_ratio = m_p/m_e # calculation in uncertainties in the velocity of electron and proton\n",
+ "print \" Ratio of uncertainties in the velocity of electron to proton is %d.\"%(del_v_ratio)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.7\n",
+ " Ratio of uncertainties in the velocity of electron to proton is 1835.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.8 Page No84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "r = 0.5 # radius of hydrogen atom in angstrom\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.8\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_x = 2*r # calculation of uncertainty in position\n",
+ "del_p = h_bar/(2*del_x*1e-10) # calculation of uncertainty in momentum\n",
+ "p = del_p\n",
+ "E = p**2/(2*m_e*1.6e-19)# Calculation of energy in eV\n",
+ "print \" Kinetic energy needed by an electron to be confined in electron is %.f eV.\"%((E*100)/100)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.8\n",
+ " Kinetic energy needed by an electron to be confined in electron is 1 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.9 Page No89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "v = 5e3 # Velocity of moving electron in m/s\n",
+ "v_error = 0.003 #Percentage error in measurement of velocity\n",
+ "\n",
+ "m = 9.1e-31 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.9\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "p = m*v\n",
+ "del_p = v_error*p/100 # calculation of uncertainty in momentum\n",
+ "del_x = h_bar/(2*del_p) # Calculation of uncertainty in position\n",
+ "print \" Uncertainty in position of particle is %e m.\"%(del_x)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.9\n",
+ " Uncertainty in position of particle is 3.865191e-04 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.10 Page No90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "r = 0.53 # radius of hydrogen atom in angstrom\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.10\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_x = 2*r # calculation of uncertainty in position\n",
+ "del_p = h_bar/(2*del_x*1e-10) # calculation of uncertainty in momentum\n",
+ "p = del_p\n",
+ "E = p**2/(2*m_e*1.6e-19)# Calculation of energy in eV\n",
+ "print \" Kinetic energy needed by an electron to be confined in electron is %f eV.\"%(E)\n",
+ "# When problem is solved by del_x*del_p = h_bar, then minimum value of kinetic energy will become 13.6eV\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.10\n",
+ " Kinetic energy needed by an electron to be confined in electron is 0.850754 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.11 Page No92"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "del_t = 2.5e-14 # lifetime in exited state in micro sec\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.11\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_E = h_bar/(1.6e-19*del_t*1e-6) # calculation of uncertainty in momentum\n",
+ "print \" Minimum error in measurement of energy of this state is %e eV.\"%(del_E)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.11\n",
+ " Minimum error in measurement of energy of this state is 2.637993e+04 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.12 Page No92"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "E_eV = 0.5# kinetic energy of electron in KeV\n",
+ "del_x = 0.4 # Uncertainty in position in nm\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # mass of electron in kg\n",
+ "print \"Example 2.12\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "E_J = E_eV*1e3*1.6e-19\n",
+ "p = math.sqrt(2*m*E_J) # Calculation of momentum in kgm/s\n",
+ "del_p = h_bar/(2*del_x*1e-9) # Calculation of uncertainty in momentum\n",
+ "per_error = del_p*100 / p # calculation of percentage error in momentum\n",
+ "print \" Percentage error in momentum is %f percent.\"%(per_error)\n",
+ "# Answer in book is 1.08 percentage\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.12\n",
+ " Percentage error in momentum is 1.093108 percent.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.13 Page No95"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "del_x = 2e-9 # Uncertainty in position in m\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # mass of electron in Kg\n",
+ "print \"Example 2.13\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_p = h_bar/(2*del_x) # Calculation of uncertainty in momentum\n",
+ "del_v = del_p/m\n",
+ "print \" Uncertainty in velocity of particle is %e m/s.\"%(del_v)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.13\n",
+ " Uncertainty in velocity of particle is 2.898894e+04 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.15 Page No97"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "del_x = 5000 # Uncertainty in position in angstrom\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 200 # mass of ball in gram\n",
+ "v = 6 # velocity of moving ball in m/s\n",
+ "print \"Example 2.15\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_p = h_bar/(2*del_x*1e-10) # Calculation of uncertainty in momentum\n",
+ "p = m*v/1000 # Calculation of momentum\n",
+ "per_error = del_p*100/p # Calculation of percentage error in calculation of momentum\n",
+ "print \" Uncertainty in momentum of ball is %e kgm/s.\"%(del_p)\n",
+ "print \" Percentage error in calculation of momentum is %e.\"%(per_error)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.15\n",
+ " Uncertainty in momentum of ball is 1.055197e-28 kgm/s.\n",
+ " Percentage error in calculation of momentum is 1.055197e-26.\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.16 Page No98"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "c = 3e8 # speed of light in m/s\n",
+ "v = c/10 # Velocity of moving proton in m/s\n",
+ "v_error = 1 # Percentage error in measurement of velocity \n",
+ "m = 1.67e-27 # mass of electron in kg\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "\n",
+ "print \"Example 2.16\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_v = v*v_error/100# calculation of uncertainty in position\n",
+ "del_x = h_bar/(2*m*del_v) # calculation of uncertainty in momentum\n",
+ "print \" Uncertainty in position of particle is %e m.\"%(del_x)\n",
+ "# Answer in book is 1.04e-13 m\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.16\n",
+ " Uncertainty in position of particle is 1.053091e-13 m.\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.17 Page No98"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "del_x = 1e-9 # Uncertainty in position in m\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 200 # mass of ball in gram\n",
+ "print \"Example 2.17\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_v = h_bar/(2*del_x*m/1000) # Calculation of uncertainty in momentum\n",
+ "print \" Uncertainty in velocity of ball is %e m/s.\"%(del_v)\n",
+ "# Answer in book is 2.64e-25 m/s\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.17\n",
+ " Uncertainty in velocity of ball is 2.637993e-25 m/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.18 Page No102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "del_t = 2e-12 # lifetime of exited state in sec\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.18\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_E = h_bar/(1.6e-19*2*del_t) # calculation of uncertainty in momentum\n",
+ "print \" Minimum error in measurement of energy of this state is %e eV.\"%(del_E)\n",
+ "# Answer in book is 1.65e-4 eV\n",
+ "\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.18\n",
+ " Minimum error in measurement of energy of this state is 1.648746e-04 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.19 Page No107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "del_t = 1e-8 # lifetime of exited state in sec\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.19\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_nu = h_bar/(2*del_t*h) # calculation of uncertainty in frequency\n",
+ "print \" Minimum error in measurement of frequency of photon is %e per second.\"%(del_nu)\n",
+ "# Answer in book is 8e6 per second\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.19\n",
+ " Minimum error in measurement of frequency of photon is 7.957747e+06 per second.\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.20 Page No108"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "del_v = 5.5e-20 # Uncertainty in velocity in m/s\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 1 # mass of dust particle in mg\n",
+ "print \"Example 2.20\"\n",
+ "h_bar = h / (2*math.pi) # consmath.tant\n",
+ "del_x = h_bar/(2*del_v*m*1e-6) # Calculation of uncertainty in momentum\n",
+ "print \" Uncertainty in position of ball is %f angstrom.\"%(del_x*1e10)\n",
+ "# Answer in book is 9.6 angstrom\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.20\n",
+ " Uncertainty in position of ball is 9.592702 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.21 Page No110"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ " \n",
+ "#given that\n",
+ "l = 1 # width of potential well in angstrom\n",
+ "n = 1 # order corresponding to ground state\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # mass of electron in Kg\n",
+ "print \"Example 2.21\"\n",
+ "E = n**2*h**2/(8*m*(l*1e-10)**2) # Calculation of energy in Joule\n",
+ "E_eV = E/1.6e-19 # Calculation of energy in eV\n",
+ "\n",
+ "print \" Energy of electron is %f eV.\"%(E_eV)\n",
+ "# Answer in book is 37.74 eV angstrom\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.21\n",
+ " Energy of electron is 37.737723 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.24 Page No113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "l = 2.5e-10 # width of potential well in m\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # mass of electron in Kg\n",
+ "print \"Example 2.24\"\n",
+ "for n in range(1,3):\n",
+ " E = n**2*h**2/(8*m*l**2) # Calculation of energy in Joule\n",
+ " E_eV = E/1.6e-19 # Calculation of energy in eV\n",
+ " print \" Energy of electron for state %d is %f eV.\"%(n,E_eV);\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.24\n",
+ " Energy of electron for state 1 is 6.038036 eV.\n",
+ " Energy of electron for state 2 is 24.152143 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.26 Page No117"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "# given that\n",
+ "L = 1# let unit length\n",
+ "l1 = 0.45*L # initial point\n",
+ "l2 = 0.55*L # Final point\n",
+ "\n",
+ "\n",
+ "print \"Example 2.26 \"\n",
+ "p = (1/L)*((l2-(L/(2*math.pi) *math.sin(2*l2*math.pi/L)))- (l1-(L/(2*math.pi) *math.sin(2*l1*math.pi/L)))) # Calculation of probability of finding particle\n",
+ "p_per = p*100 # probability of finding particle in percentage\n",
+ "print \" Probability of finding electron between %fL and %fL is %f percent.\"%(l2,l1,p_per)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.26 \n",
+ " Probability of finding electron between 0.550000L and 0.450000L is 19.836316 percent.\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.27 Page No117"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ " \n",
+ "#given that\n",
+ "l = 1e-8 # width of potential well in cm\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # mass of electron in Kg\n",
+ "print \"Example 2.27\"\n",
+ "E_1 = (h)**2/(8*m*(l*1e-2)**2) # Calculation of energy of ground state in Joule\n",
+ "E_1_eV = E_1/1.6e-19 # Calculation of energy in eV\n",
+ "E_2 = (2)**2*h**2/(8*m*(l*1e-2)**2) # Calculation of energy of first state in Joule\n",
+ "E_2_eV = E_2/1.6e-19 # Calculation of energy in eV\n",
+ "del_E = E_2_eV - E_1_eV # calculation of difference between first state and ground state\n",
+ "print \" Difference between first state and ground state energies is %f eV.\"%(del_E);\n",
+ "# Answer in book is 113.04 eV\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.27\n",
+ " Difference between first state and ground state energies is 113.213170 eV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.28 Page No121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "l = 1 # width of potential well in angstrom\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "m = 9.1e-31 # mass of electron in Kg\n",
+ "print \"Example 2.28\"\n",
+ "for n in range(1,4):\n",
+ " lambda1 = 2.*l/n # Calculation of wavelength\n",
+ " E = n**2*h**2/(8*m*(l*1e-10)**2) # Calculation of energy in Joule\n",
+ " E_eV = E/1.6e-19 # Calculation of energy in eV\n",
+ " print \" For state:%d Energy is %f eV & wavelength is %f angstrom \"%(n,E_eV,lambda1);\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.28\n",
+ " For state:1 Energy is 37.737723 eV & wavelength is 2.000000 angstrom \n",
+ " For state:2 Energy is 150.950893 eV & wavelength is 1.000000 angstrom \n",
+ " For state:3 Energy is 339.639509 eV & wavelength is 0.666667 angstrom \n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.29 Page No122"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "m = 100 #mass of ball in gram\n",
+ "l = 1 # length of box in m\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "print \"Example 2.29\"\n",
+ "for n in range(1,4):\n",
+ " E = (n**2*h**2)/(8*m*1e-3*l**2*1.6e-19)\n",
+ " print \" Energy state E%d of ball is %e eV\"%(n,E)\n",
+ "\n",
+ "print \" As energy difference is very small so we cannot see energy states.\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.29\n",
+ " Energy state E1 of ball is 3.434133e-48 eV\n",
+ " Energy state E2 of ball is 1.373653e-47 eV\n",
+ " Energy state E3 of ball is 3.090720e-47 eV\n",
+ " As energy difference is very small so we cannot see energy states.\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.30 Page No124"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "l = 30. # width of potential well in angstrom\n",
+ "x = l/2\n",
+ "del_x = 2 # interval of length at centre in angstrom\n",
+ "h = 6.63e-34 # Plank consmath.tant\n",
+ "n = 1 # ground state\n",
+ "print \"Example 2.30\"\n",
+ "phi_x = ((math.sqrt(2/l))*math.sin(n*math.pi*x/l))**2 \n",
+ "p = phi_x*del_x # Calculation of probability at centre\n",
+ "print \" Probability of finding particle at centre is %d percent.\"%(p*100)\n",
+ "# Answer given in book is 16 percent. It is due to wrong calculation \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 2.30\n",
+ " Probability of finding particle at centre is 13 percent.\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_5.ipynb
new file mode 100644
index 00000000..26b2b7d6
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_5.ipynb
@@ -0,0 +1,805 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:ce26666b75776c5b07c5f321f02f961249efef8c8458f3dae2110a523ce1ea02"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3 : X ray and Compton effect"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 Page No134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "d = 2.82 # crystal spacing in angstrom\n",
+ "n = 2 # order for longest pasmath.sing wavelength\n",
+ "theta = 90 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.1\"\n",
+ "lambda1 = 2*d*math.sin(theta*math.pi/180)/n # Calculation of longest wavelength\n",
+ "\n",
+ "print \" Longest wavelength is %f angstrom. \"%(lambda1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.1\n",
+ " Longest wavelength is 2.820000 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 Page No134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 0.3 # Wavelength in angstrom\n",
+ "d = 0.5 # crystal spacing in angstrom\n",
+ "n = 2 # order \n",
+ "m = 3 # order\n",
+ "print \"Example 3.2\"\n",
+ "theta_n = math.asin(n*lambda1/(2*d))*180/math.pi # Calculation of angle for order n\n",
+ "theta_m = math.asin(m*lambda1/(2*d))*180/math.pi # Calculation of angle for order m\n",
+ "\n",
+ "print \"Angle for %dnd order maxima is %f degree. \"%(n,theta_n)\n",
+ "print \"Angle for %drd order maxima is %f degree. \"%(m,theta_m)\n",
+ "# Answers in book are 40.97 degree and 72.29 degree which are due to wrong calculation\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.2\n",
+ "Angle for 2nd order maxima is 36.869898 degree. \n",
+ "Angle for 3rd order maxima is 64.158067 degree. \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 Page No139"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ " \n",
+ "#given that\n",
+ "d = 1.87 # crystal spacing in angstrom\n",
+ "n = 2 # order for longest pasmath.sing wavelength\n",
+ "theta = 30 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.3\"\n",
+ "lambda1 = 2*d*math.sin(theta*math.pi/180)/n # Calculation of longest wavelength\n",
+ "\n",
+ "print \" Longest wavelength is %f angstrom. \"%(lambda1)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.3\n",
+ " Longest wavelength is 0.935000 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.4 Page No143"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 3.6e-9 # Wavelength in cm\n",
+ "theta = 4.8 # glancing angle in degree\n",
+ "n = 1 # order \n",
+ "\n",
+ "print \"Example 3.4\"\n",
+ "d = n*lambda1/(2*math.sin(theta*math.pi/180)) # calculation of crystal spacing in angstrom\n",
+ "\n",
+ "print \" Crystal spacing in angstrom is %e cm. \"%(d)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.4\n",
+ " Crystal spacing in angstrom is 2.151107e-08 cm. \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.5 Page No146"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "d = 2.5 # crystal spacing in angstrom\n",
+ "n = 1 # order for longest pasmath.sing wavelength\n",
+ "theta = 20 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.5\"\n",
+ "lambda1 = 2*d*math.sin(theta*math.pi/180)/n # Calculation of longest wavelength\n",
+ "\n",
+ "print \"Longest wavelength is %f angstrom. \"%(lambda1)\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.5\n",
+ "Longest wavelength is 1.710101 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.6 Page No146"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "d = 2.5 # crystal spacing in angstrom\n",
+ "n = 1 # order for longest pasmath.sing wavelength\n",
+ "theta = 90 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.6\"\n",
+ "lambda1 = 2*d*math.sin(theta*math.pi/180)/n # Calculation of longest wavelength\n",
+ "\n",
+ "print \"Longest wavelength is of %d angstrom. \"%(lambda1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.6\n",
+ "Longest wavelength is of 5 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.7 Page No146"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "# given that\n",
+ "theta1_deg = 5 # Absolut degree part of angle for first angle\n",
+ "theta1_min = 23#remainder minute part of angle for first angle\n",
+ "theta2_deg = 7 # Absolut degree part of angle for second angle\n",
+ "theta2_min = 37#remainder minute part of angle for second angle\n",
+ "theta3_deg = 9 # Absolut degree part of angle for third angle\n",
+ "theta3_min = 25#remainder minute part of angle for third angle\n",
+ "\n",
+ "print \"Example 3.7 \"\n",
+ "val1 = math.sin((theta1_deg+ theta1_min/60)*math.pi/180)# Sin value for first angle\n",
+ "val2 = math.sin((theta2_deg+ theta2_min/60)*math.pi/180) #Sin value for second angle\n",
+ "val3 = math.sin((theta3_deg+ theta3_min/60)*math.pi/180)#Sin value for third angle\n",
+ "ratio_21 = val2/val1\n",
+ "ratio_31 = val3/val1\n",
+ "print \" Interatomic layer separation ratios in crystal are as 1 : %f : %f\"%(ratio_21,ratio_31)\n",
+ "print \" Above relation shows that crystal is simple cubic crystal structure.\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.7 \n",
+ " Interatomic layer separation ratios in crystal are as 1 : 1.398294 : 1.794884\n",
+ " Above relation shows that crystal is simple cubic crystal structure.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.8 Page No146"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 1.2 # wavelength in angstrom\n",
+ "theta_deg = 9 # angle fraction in degree\n",
+ "theta_min = 30 # Angle fraction in minute\n",
+ "print \"Example 3.8\"\n",
+ "theta = theta_deg+theta_min/60 # Total angel\n",
+ "for n in range(1,5):\n",
+ " d = lambda1/(n*2*math.sin(theta*math.pi/180)) # Inter layer spacing\n",
+ " print \" If order is %d then spacing is %f angstrom.\"%(n,d)\n",
+ "\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.8\n",
+ " If order is 1 then spacing is 3.835472 angstrom.\n",
+ " If order is 2 then spacing is 1.917736 angstrom.\n",
+ " If order is 3 then spacing is 1.278491 angstrom.\n",
+ " If order is 4 then spacing is 0.958868 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.9 Page No147"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "h = 6.62e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "e = 1.6e-19 # charge on electron in coulomb\n",
+ "v = 340 # Applied voltage in volt\n",
+ "n = 1 # order for longest pasmath.sing wavelength\n",
+ "theta = 60 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.9\"\n",
+ "lambda1= h/math.sqrt(2*m_e*e*v) # calculation of wavelength\n",
+ "d = n*lambda1/(2*math.sin(theta*math.pi/180))# calculation of spacing of crystal\n",
+ "\n",
+ "print \"Spacing of crystal is %f angstrom. \"%(d*1e10)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.9\n",
+ "Spacing of crystal is 0.384116 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.10 Page No149"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "E = 100 # Energy of X ray beam in KeV\n",
+ "theta = 30 # Scattering angle in degree\n",
+ "m = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # Speed of light in m/s\n",
+ "print \"Example 3.10\"\n",
+ "E_rest = m*c**2/(1.6e-19*1e3) # Rest mass energy in KeV\n",
+ "k = 1/E + (1-math.cos(theta*math.pi/180))/(E_rest)\n",
+ "del_e = E - 1/k # Energy of recoiled electron\n",
+ "print \" Energy of recoiled electron is %f KeV\"%(del_e)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.10\n",
+ " Energy of recoiled electron is -3720.687014 KeV\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.11 Page No154"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 1 #wavelength in angstrom\n",
+ "h = 6.62e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.11\"\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))/(m_e*c) # calculation of wavelength shift \n",
+ "\n",
+ "print \"Wavelength shift is %f angstrom. \"%(d_lambda*1e10)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.11\n",
+ "Wavelength shift is 0.024249 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.12 Page No156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 0.015 #wavelength in angstrom\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 60 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.12\"\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))*1e10/(m_e*c) # calculation of wavelength shift in angstrom\n",
+ "lambda_n = lambda1+d_lambda\n",
+ "\n",
+ "print \" Wavelength shift is %f angstrom. \"%(lambda_n)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.12\n",
+ " Wavelength shift is 0.027143 angstrom. \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.13 Page No158"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 1 #wavelength in angstrom\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.13\"\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))*1e10/(m_e*c) # calculation of wavelength shift in angstrom\n",
+ "lambda_n = lambda1+d_lambda # Calculation of recoiled electron wavelength\n",
+ "d_E = h*c*(lambda_n-lambda1)*1e10/(1.6e-19*lambda_n*lambda1)# Calculation of recoiled electron energy in eV\n",
+ "print \"Wavelength shift is %f angstrom.\"%(lambda_n)\n",
+ "print \"Energy of recoiled electron is %.f eV. \"%(( d_E))\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.13\n",
+ "Wavelength shift is 1.024286 angstrom.\n",
+ "Energy of recoiled electron is 295 eV. \n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.14 Page No163"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 1 #let wavelength in angstrom\n",
+ "lambda_n = 2*lambda1 # recoiled electron wavelength\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.14\"\n",
+ "lambda1 = h*1e10/(m_e*c) # calculation of wavelength in angstrom\n",
+ "E = h*c*1e10/(lambda1*1.6e-19) # calculation of energy of electron\n",
+ "\n",
+ "print \"Wavelength shift is %f angstrom. \"%(lambda1)\n",
+ "print \"Energy of recoiled electron is %f KeV. \"%(E/1e3)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.14\n",
+ "Wavelength shift is 0.024286 angstrom. \n",
+ "Energy of recoiled electron is 511.875000 KeV. \n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.15 Page No168"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "lambda1 = 2 #wavelength in angstrom\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 45 # scattering angle \n",
+ "print \"Example 3.15\"\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))*1e10/(m_e*c) # calculation of wavelength shift in angstrom\n",
+ "lambda_n = lambda1+d_lambda # Calculation of recoiled electron wavelength\n",
+ "\n",
+ "f = d_lambda/lambda1 # Calculation of fraction of energy lost by photon \n",
+ "\n",
+ "print \"Fraction of energy lost by photon is %f\"%(f)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.15\n",
+ "Fraction of energy lost by photon is 0.003557\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.16 Page No171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#given that\n",
+ "E_eV = 510 # Energy of gamma ray in keV\n",
+ "lambda1 = 2 #wavelength in angstrom\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # scattering angle in degree\n",
+ "print \"Example 3.16\"\n",
+ "E_j = E_eV*1e3*1.6e-19 # Energy of gamma ray in Joule\n",
+ "lambda1 = h*c*1e10/E_j # Calculation of wavelength in angstrom\n",
+ "\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))*1e10/(m_e*c) # calculation of wavelength shift in angstrom\n",
+ "lambda_n = lambda1+d_lambda # Calculation of recoiled electron wavelength\n",
+ "print \"Wavelength of scattered radiation is %f Angstrom \"%(lambda_n)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.16\n",
+ "Wavelength of scattered radiation is 0.048661 Angstrom \n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.17 Page No172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#given that\n",
+ "lambda1 = 2 #wavelength in angstrom\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # angle for longest pasmath.sing wavelength\n",
+ "print \"Example 3.17\"\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))*1e10/(m_e*c) # calculation of wavelength shift in angstrom\n",
+ "lambda_n = lambda1+d_lambda # Calculation of recoiled electron wavelength\n",
+ "d_E = h*c*(lambda_n-lambda1)*1e10/(1.6e-19*lambda_n*lambda1)# Calculation of recoiled electron energy in eV\n",
+ "print \" Scattered wavelength is %f angstrom.\"%(lambda_n)\n",
+ "print \" Energy of recoiled electron is %feV. \"%(d_E)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.17\n",
+ " Scattered wavelength is 2.024286 angstrom.\n",
+ " Energy of recoiled electron is 74.569954eV. \n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.18 Page No175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#given that\n",
+ "E_eV = 510 # Energy of gamma ray in keV\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # scattering angle in degree\n",
+ "print \"Example 3.18\"\n",
+ "E_j = E_eV*1e3*1.6e-19 # Energy of gamma ray in Joule\n",
+ "lambda1 = h*c/E_j # Calculation of wavelength in meter\n",
+ "\n",
+ "d_lambda= h*(1-math.cos(theta*math.pi/180))*1e10/(m_e*c) # calculation of wavelength shift in angstrom\n",
+ "lambda_n = lambda1+d_lambda/1e10 # Calculation of recoiled electron wavelength\n",
+ "d_E = h*c*(d_lambda/1e10)/(1.6e-19*lambda_n*lambda1)# Calculation of recoiled electron energy in eV\n",
+ "psi= math.atan(1/(math.tan((theta*math.pi/180)/2)/(1+(h/(lambda1*m_e*c))))) \n",
+ "phi_deg = 90 - psi*180/math.pi # Calculation of degree part of angle of recoiled electron \n",
+ "phi_min = 60*(phi_deg - int(phi_deg))# Calculation of minute part of angle of recoiled electron \n",
+ "print \"Wavelength of scattered radiation is %e m \"%(lambda_n)\n",
+ "print \"Energy of recoiled electron is %f MeV.\"%(d_E/1e6)\n",
+ "print \"Recoiled electron angle is %d degree%d minute \"%(phi_deg,phi_min)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.18\n",
+ "Wavelength of scattered radiation is 4.866071e-12 m \n",
+ "Energy of recoiled electron is 0.254532 MeV.\n",
+ "Recoiled electron angle is 26 degree36 minute \n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.19 Page No175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#given that\n",
+ "nu = 2e19 # initial frequency of X ray photon\n",
+ "h = 6.63e-34 # Planks consmath.tant\n",
+ "m_e = 9.1e-31 # mass of electron in kg\n",
+ "c = 3e8 # speed of light in m/sec\n",
+ "theta = 90 # scattering angle in degree\n",
+ "print \"Example 3.19\"\n",
+ "d_lambda = h/(m_e*c) # calculation of wavelength shift\n",
+ "k = 1./nu + d_lambda/c\n",
+ "nu_1 = 1/k # Frequency after collision\n",
+ "nu_1 = int(nu_1/1e18)*1e18 # rounding off\n",
+ "print \"Frequency after collision is %e Hz \"%(nu_1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 3.19\n",
+ "Frequency after collision is 1.700000e+19 Hz \n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_5.ipynb
new file mode 100644
index 00000000..0ea076e1
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_5.ipynb
@@ -0,0 +1,557 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:98a33103545b2365c3949736414c5684c66408433d883a4d0f1b451b5a78b395"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4 : Dielectrics"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 Page No177"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "epsilon_r = 1.000074 # Dielectric consmath.tant of He at 0C and 1atm\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "E = 100 # Electric field in V/m\n",
+ "n = 2.68e27 # Electron density in no,/m**\n",
+ "N_a = 6e23 # Avogadro number\n",
+ "V = 22.4 # Volume at STP in litter\n",
+ "print \"Example 4.4\"\n",
+ "P = epsilon_0*(epsilon_r-1)*E # Calculation of polarization\n",
+ "\n",
+ "N = N_a/(V*1e-3)# Calculation of total number of atoms\n",
+ "p = P/N # dipole moment per atom\n",
+ "print \" Dipole moment per atom is %e Coulomb-meter \"%(p)\n",
+ "# Answer in book is in different form and as 24.45e-40 coulomb-meter\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.4\n",
+ " Dipole moment per atom is 2.446065e-39 Coulomb-meter \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.6 Page No181"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "r = 0.055 # Radius of hydrogen atom in nm\n",
+ "n = 9.8e26 # Number of atoms/cc\n",
+ "\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "\n",
+ "print \"Example 4.6\"\n",
+ "alpha_e = 4*math.pi*epsilon_0*(r*1e-9)**3 # Calculation of electronic polarisability\n",
+ "epsilon_r = 1+n*alpha_e/epsilon_0 # Calculation of relative permeability\n",
+ "\n",
+ "print \" Electronic polarisability is %e Fm**2 Relative permeability is %f \"%(alpha_e,epsilon_r)\n",
+ "\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.6\n",
+ " Electronic polarisability is 1.851132e-41 Fm**2 Relative permeability is 1.002049 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.8 Page No182"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "E = 2000 # Electric field in V/m\n",
+ "P = 6.4e-8 # Polarization in C/m**2\n",
+ "print \"Example 4.8\"\n",
+ "epsilon_r = 1+ P/(epsilon_0*E) # Calculation of relative permittivity\n",
+ "\n",
+ "print \" Relative permittivity is %f\"%(epsilon_r)\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.8\n",
+ " Relative permittivity is 4.614186\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 Page No183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "alpha_e = 2e-40 # Electronic polarisability in Fm**2\n",
+ "N = 4e28 # density in atoms/m**3\n",
+ "epsilon_0 = 8.85e-12 # Permittivity of free space\n",
+ "\n",
+ "print \"Example 4.9\"\n",
+ "epsilon_r = 1+ N*alpha_e/(epsilon_0) # Calculation of relative permittivity\n",
+ "print \" Relative permittivity is %f\"%(epsilon_r)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.9\n",
+ " Relative permittivity is 1.903955\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.10 Page No188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "epsilon = 2.4e-10 # permitivity of a dielectric material in C**2/N?m**2\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "\n",
+ "print \"Example 4.10\"\n",
+ "K = epsilon/epsilon_0 # Calculation of dielectric consmath.tant \n",
+ "zai_e = epsilon_0*(K-1) # Calculation of electrical susceptibility \n",
+ "\n",
+ "print \" Relative permittivity is %f\"%(K)\n",
+ "print \" Electrical susceptibility is %e C**2/Nm**2\"%(zai_e)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.10\n",
+ " Relative permittivity is 27.106393\n",
+ " Electrical susceptibility is 2.311460e-10 C**2/Nm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.11 Page No189"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "V = 100 # Applied potential in Volt\n",
+ "d = 1 # Separation between plates in cm\n",
+ "k1 = 8 # Dielectric consmath.tant\n",
+ "k2 = 9 #dielectric consmath.tant\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "\n",
+ "print \"Example 4.11\"\n",
+ "E_0 = V/(d*1e-2) # Calculation of electric field\n",
+ "E = E_0/k1*k2 # Calculation of electric field\n",
+ "D = k1*epsilon_0*E # Calculation of electrical print lacement vector\n",
+ "P = (k1-1)*epsilon_0*E # Calculation of electrical polarization \n",
+ "\n",
+ "print \" Magnitude of Electrical vector is %e Volt/meter\"%(E) # Answer in book is 1.125e3 Volt/meter\n",
+ "\n",
+ "print \" Magnitude of Electrical Displacement vector is %e C/m**2\"%(D)# Answer in book is 8.85e-8C/m**2\n",
+ "\n",
+ "print \" Magnitude of Electric polarization vector is %e C/m**2\"%(P)# Answer in book is 7.774e-8C/m**2\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.11\n",
+ " Magnitude of Electrical vector is 1.125000e+04 Volt/meter\n",
+ " Magnitude of Electrical Displacement vector is 7.968600e-07 C/m**2\n",
+ " Magnitude of Electric polarization vector is 6.972525e-07 C/m**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.12 Page No189"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "alpha_300 = 2.5e-39 # total polarisability in C**2m/N at 300 K\n",
+ "alpha_600 = 1.75e-39 # total polarisability in C**2m/N at 600 K\n",
+ "T1 = 300 # Initial temperature in Kelvin\n",
+ "T2 = 600 # Final Temperature in Kelvin\n",
+ "print \"Example 4.12\"\n",
+ "b = (alpha_300-alpha_600)*T2\n",
+ "al_def_300 = alpha_300 - b/300\n",
+ "al_oriant_300 = b/300\n",
+ "al_oriant_600 = b/600\n",
+ "print \" Deformational Polarizability is %e C**2mN**-1\"%(al_def_300)\n",
+ "print \" Orientational Polarizability at %d degree Celcius is %e C**2mN**-1\"%(T1,al_oriant_300)\n",
+ "print \" Orientational Polarizability at %d degree Celcius is %e C**2mN**-1\"%(T2,al_oriant_600)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.12\n",
+ " Deformational Polarizability is 1.000000e-39 C**2mN**-1\n",
+ " Orientational Polarizability at 300 degree Celcius is 1.500000e-39 C**2mN**-1\n",
+ " Orientational Polarizability at 600 degree Celcius is 7.500000e-40 C**2mN**-1\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.13 Page No189"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "alpha_e = 1.5e-40 # Electronic polarizability in Fm**2\n",
+ "N = 4e28 # density in atoms/m**3\n",
+ "epsilon_0 = 8.85e-12 # Permittivity of free space\n",
+ "\n",
+ "print \"Example 4.13\"\n",
+ "k = N*alpha_e/(3*epsilon_0)\n",
+ "epsilon_r = (1+ k*2)/(1-k)# Calculation of relative permittivity\n",
+ "print \" Relative permittivity is %f\"%(epsilon_r)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.13\n",
+ " Relative permittivity is 1.875912\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.14 Page No191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "m = 32 # Atomic weight of sulphur\n",
+ "d = 2.08 # Density in g/cm**3\n",
+ "alpha_e = 3.5e-40 # Electronic polarizability in Fm**2\n",
+ "N_a = 6.022e23 # Avogadro Number\n",
+ "epsilon_0 = 8.85e-12 # Permittivity of free space\n",
+ "\n",
+ "print \"Example 4.14\"\n",
+ "N = N_a*d*1e6/m # Calculation of Atoms per unit \n",
+ "k = N*alpha_e/(3*epsilon_0)\n",
+ "\n",
+ "epsilon_r = (1+ k*2)/(1-k)# Calculation of relative permittivity\n",
+ "print \" Relative permittivity is %f\"%(epsilon_r)\n",
+ "# Answer in book is 4.17\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.14\n",
+ " Relative permittivity is 4.198468\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.15 Page No191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "n = 1.5 # Refractive index\n",
+ "epsilon = 5.6 # Static dielectric consmath.tant\n",
+ "print \"Example 4.15\"\n",
+ "per = (1-((n**2-1)/(n**2+2))*(epsilon+2)/(epsilon-1))*100 # Pecentage ionic polarisability\n",
+ "print \" Percentage ionic polarizability is %f pecent\"%(per)\n",
+ "# Answer in book is 5.14 %\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.15\n",
+ " Percentage ionic polarizability is 51.406650 pecent\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.16 Page No195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ " \n",
+ "#Given that\n",
+ "m = 32 # Atomic weight of sulphur\n",
+ "d = 2050 # Density in Kg/m**3\n",
+ "N_a = 6.022e23 # Avogadro Number\n",
+ "epsilon_0 = 8.85e-12 # Permittivity of free space\n",
+ "epsilon_r = 3.75 # Dielectric consmath.tant of sulphur\n",
+ "\n",
+ "print \"Example 4.16\"\n",
+ "N = N_a*d*1e3/m # Calculation of Atoms per unit \n",
+ "alpha_e = 3*epsilon_0*((epsilon_r-1)/(epsilon_r+2)) / N \n",
+ "\n",
+ "\n",
+ "print \" Electronic polarizability is %e Fm**2\"%(alpha_e)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.16\n",
+ " Electronic polarizability is 3.291431e-40 Fm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.17 Page No199"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "n = 1.5 # Refractive index\n",
+ "epsilon = 4. # Static dielectric consmath.tant\n",
+ "epsilon_0 = 8.85e-12 # permittivity of free space\n",
+ "print \"Example 4.17\"\n",
+ "k1 = (epsilon-1)/(epsilon+2)\n",
+ "k2 = (n**2-1)/(n**2+2)\n",
+ "ratio = 1./((k1/k2)-1) \n",
+ "print \" Ratio of electronic to ionic polarizability is %.2f .\"%(ratio)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.17\n",
+ " Ratio of electronic to ionic polarizability is 1.43 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.18 Page No202"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "t = 1.8e-5 # Relaxation time in second\n",
+ "epsilon_r = 1 # let\n",
+ "print \"Example 4.18\"\n",
+ "f = 1./(2*math.pi*t) # Calculation of frequency\n",
+ "delta = math.atan(epsilon_r/epsilon_r)\n",
+ "phi = 90 - delta*180/math.pi # Calculation of phase difference\n",
+ "print \" Frequency is %f KHz\"%(f/1e3)\n",
+ "print \" Phase difference between current and voltage is %d degree.\"%(phi)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 4.18\n",
+ " Frequency is 8.841941 KHz\n",
+ " Phase difference between current and voltage is 45 degree.\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_5.ipynb
new file mode 100644
index 00000000..104b616a
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_5.ipynb
@@ -0,0 +1,207 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1843361d9b1f7d4765e522604cbb1bc8ff2515ffb02cdd416946cae448cf39a5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6 : Ultrasonic Waves"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.1 Page No207"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "E = 7.9e10 # Young\u2019s modulus in N/m**2\n",
+ "rho = 2650 # Density in Kg/m**3\n",
+ "t = 0.003 # Thickness of quartz crystal in m\n",
+ "print \"Example 6.1\"\n",
+ "v = math.sqrt(E/rho)# Calculation of velocity \n",
+ "lambda1 = 2*t # Calculation of fundamental wavelength\n",
+ "nu = v/lambda1 # Calculation of fundamental frequency\n",
+ "print \"Fundamental frequency is %e Hz.\"%(nu)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 6.1\n",
+ "Fundamental frequency is 9.099957e+05 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.2 Page No208"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "v = 5760 # Velocity in m/s\n",
+ "T = 1.6 # Thickness of quartz crystal in mm\n",
+ "print \"Example 6.2\"\n",
+ "nu = v/(2*T*1e-3)# Calculation of fundamental frequency\n",
+ "print \"Fundamental frequency of crystal is %f MHz.\"%(nu/1e6)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 6.2\n",
+ "Fundamental frequency of crystal is 1.800000 MHz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.3 Page No209"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "T =40. # Thickness of steel bar in cm\n",
+ "t1 = 40. # Time in ms\n",
+ "t2 = 80. # Time in ms\n",
+ "print \"Example 6.3\"\n",
+ "X = T*t1/t2 # Calculation of depth of defect\n",
+ "print \"Depth of defect is %d cm.\"%(X)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 6.3\n",
+ "Depth of defect is 20 cm.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.4 Page No209"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "E = 7.9e10 # Young\u2019s modulus in N/m**2\n",
+ "rho = 2650 # Density in Kg/m**3\n",
+ "t = 0.006 # Thickness of quartz crystal in m\n",
+ "print \"Example 6.4\"\n",
+ "v = math.sqrt(E/rho)# Calculation of velocity \n",
+ "lambda1 = 2*t # Calculation of fundamental wavelength\n",
+ "nu = v/lambda1 # Calculation of fundamental frequency\n",
+ "print \"Fundamental frequency is %e Hz.\"%(nu)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 6.4\n",
+ "Fundamental frequency is 4.549979e+05 Hz.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.5 Page No209"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "L = 1. # Inducmath.tance in Hanery\n",
+ "nu = 2.e6 # Frequency in Hz\n",
+ "print \"Example 6.5\"\n",
+ "C= 1./(4*((math.pi)**2)*nu**2*L) # Calculation of capacimath.tance\n",
+ "print \"Capacitance is %e microfarad.\"%(C*1e6)\n",
+ "# Answer in book is 0.00634 micro Farad\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 6.5\n",
+ "Capacitance is 6.332574e-09 microfarad.\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_5.ipynb
new file mode 100644
index 00000000..1b95e85e
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_5.ipynb
@@ -0,0 +1,496 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:5c15c522261c9a1964264eb127a07845e301723248156878641836ea3a61bbf4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 : Maxwells Equations and Electromagnetic Waves"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 Page No220"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "p = 1000 # power in watt\n",
+ "d = 2 # Dismath.tance from lamp in m\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "mu_0 = 4*math.pi*1e-7 # Permeability of free space\n",
+ "print \"Example 7.1\"\n",
+ "s = p/(4*math.pi*d**2)# Calculation of pointing vector\n",
+ "E_H_ratio = math.sqrt(mu_0/epsilon_0) # Calculation of ratio of Electric field and magnetic field\n",
+ "E= math.sqrt(E_H_ratio*s) # Calculation of Electric field \n",
+ "print \" Average value of electric field at distance %d m is %f Volt/m \"%(d,E)\n",
+ "# Answer in book is 48.87 volt/m which is due to wrong calculation at intermediate steps\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.1\n",
+ " Average value of electric field at distance 2 m is 86.573038 Volt/m \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.2 Page No222"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "p = 2 # power in cal/min/cm**2\n",
+ "\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "mu_0 = 4*math.pi*1e-7 # permeability of free space\n",
+ "print \"Example 7.2\"\n",
+ "s = p*4.2e4/60 # Calculation of pointing vector\n",
+ "E_H_ratio = math.sqrt(mu_0/epsilon_0) # Calculation of ratio of Electric field and magnetic field\n",
+ "E= math.sqrt(E_H_ratio*s) # Calculation of Electric field \n",
+ "H = s/E # Calculation of Electric field \n",
+ "\n",
+ "print \" Average value of electric field is %f Volt/m \"%(E*math.sqrt(2))\n",
+ "print \" Average value of magnetic field is %f Amp turn/m \"%(H*math.sqrt(2))\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.2\n",
+ " Average value of electric field is 1027.061861 Volt/m \n",
+ " Average value of magnetic field is 2.726223 Amp turn/m \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.3 Page No225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given that\n",
+ "mu_0 = 4*math.pi*1e-7 # permeability of free space\n",
+ "mu = mu_0 #permeability of silver\n",
+ "sigma = 3e7 # conductivity in mhos/m\n",
+ "f = 1e8 # frequency in Hz\n",
+ "print \"Example 7.3\"\n",
+ "omega = 2*math.pi/f # Calculation of time period\n",
+ "delta = math.sqrt(2/(omega*sigma*mu)) # Calculation of skin depth penetration\n",
+ "Delta = int(delta/100)*100 # Rounding off\n",
+ "print \" Skin depth penetration is %e cm. \"%(Delta*1e-6)\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.3\n",
+ " Skin depth penetration is 9.000000e-04 cm. \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.5 Page No229"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "k = 80 # relative Dielectric consmath.tant of sea water\n",
+ "epsilon_0 = 1/9e9 # Permittivity of free space\n",
+ "epsilon = 80*epsilon_0 # Permittivity of free space\n",
+ "sigma = 4.3 # conductivity in mho/m\n",
+ "delta = 10 # penetration depth in cm\n",
+ "mu_0 = 4*math.pi*1e-7 # permeability f free space\n",
+ "F = 1e8 # Given frequency in Hz\n",
+ "print \"Example 7.5\"\n",
+ "f = (1/(math.pi*mu_0*sigma))/(delta*1e-2)**2 # Calculation of frequency\n",
+ "f1= round(f/1e8)*1e8 # Rounding off\n",
+ "print \"Frequency required for penetration of depth %d cm is %e Hz\"%(delta,f1)\n",
+ "omega = 2*math.pi*F\n",
+ "x = 2*sigma/(epsilon*omega)\n",
+ "if x>1:\n",
+ " print \" Sea water is good conductor at frequency lesser than 1e8 Hz \"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.5\n",
+ "Frequency required for penetration of depth 10 cm is 0.000000e+00 Hz\n",
+ " Sea water is good conductor at frequency lesser than 1e8 Hz \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.7 Page No234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "k = 12 # relative Dielectric consmath.tant of sea water\n",
+ "epsilon_0 = 1/9e9 # Permittivity of free space\n",
+ "sigma = 2 # conductivity in mho/cm\n",
+ "mu_0 = 4*math.pi*1e-7 # permeability f free space\n",
+ "f= 1e9 # Given frequency in Hz\n",
+ "F = 1e6 # Given frequency in Hz\n",
+ "print \"Example 7.7\"\n",
+ "delta = math.sqrt(2/(2*math.pi*F*mu_0*sigma*100)) # Calculation of frequency\n",
+ "print \" For %eHz frequency, Penetration depth is %f cm\"%(F,delta*100)\n",
+ "omega = 2*math.pi*f\n",
+ "x = 2*sigma*100/(k*epsilon_0*omega)\n",
+ "if x>1 :\n",
+ " print \" Silicon is good conductor at frequency lesser than 1e9 Hz \"\n",
+ "\n",
+ "# Answer in book is 3.6 cm\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.7\n",
+ " For 1.000000e+06Hz frequency, Penetration depth is 3.558813 cm\n",
+ " Silicon is good conductor at frequency lesser than 1e9 Hz \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.8 Page No236"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "#Given that\n",
+ "mu_0 = 4*math.pi*1e-7 # permeability of free space\n",
+ "mu = mu_0 #permeability of silver\n",
+ "sigma = 5.8e7 # conductivity in simens /m\n",
+ "delta = 0.1 # Skin depth penetration in mm\n",
+ "\n",
+ "print \"Example 7.8\"\n",
+ "f = 2/((delta*1e-3)**2*sigma*mu*2*math.pi) # Calculation of skin depth penetration\n",
+ "print \" Required frequency is %.2e Hz\"%(f)\n",
+ "print \" The incident electromagnetic wave is the radio part of spectrum.\"\n",
+ "# Answer in book is 3.36e5 Hz. Difference is due to approximation at intermediate stages\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.8\n",
+ " Required frequency is 4.37e+05 Hz\n",
+ " The incident electromagnetic wave is the radio part of spectrum.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.9 Page No240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ " \n",
+ "#Given that\n",
+ "mu_0 = 4*math.pi*1e-7 # Permeability of free space\n",
+ "mu = mu_0 #Permeability of silver\n",
+ "sigma = 3e7 # conductivity in mhos/m\n",
+ "f = 1e10 # frequency in Hz\n",
+ "print \"Example 7.9\"\n",
+ "delta = math.sqrt(1/(math.pi*sigma*f*mu)) # Calculation of skin depth penetration\n",
+ "print \" Skin depth penetration is %f micrometre. \"%(delta*1e6)\n",
+ "# Answer in book is 0.93 micrometer\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.9\n",
+ " Skin depth penetration is 0.918881 micrometre. \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.10 Page No241"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "p = 500 # power in watt\n",
+ "d = 1 # Dismath.tance from lamp in m\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "mu_0 = 4*math.pi*1e-7 # Permeability of free space\n",
+ "print \"Example 7.10\"\n",
+ "s = p/(4*math.pi*d**2)# Calculation of pointing vector\n",
+ "E_H_ratio = math.sqrt(mu_0/epsilon_0) # Calculation of ratio of Electric field and magnetic field\n",
+ "H = s/E_H_ratio # Calculation of Electric field \n",
+ "h = (H*100)/100 # rounding off for 2 decimal places\n",
+ "E= p/(4*math.pi*h) # Calculation of Electric field \n",
+ "print \" Average value of electric field at distance %d m is %f Volt/m \"%(d,E)\n",
+ "print \" Average value of magnetic field at distance %d m is %f Amp-turn/m \"%(d,h)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.10\n",
+ " Average value of electric field at distance 1 m is 376.734309 Volt/m \n",
+ " Average value of magnetic field at distance 1 m is 0.105615 Amp-turn/m \n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.11 Page No243"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "mu_0 = 4*math.pi*1e-7 # Permeability of free space\n",
+ "mu = mu_0 #Permeability of silver\n",
+ "sigma = 3.5e7 # conductivity in simens /m\n",
+ "delta = 0.03 # Skin depth penetration in mm\n",
+ "\n",
+ "print \"Example 7.11\"\n",
+ "\n",
+ "f = 2/((delta*1e-3)**2*sigma*mu*2*math.pi) # Calculation of skin depth penetration\n",
+ "print \" Required frequency is %d MHz.\"%(f/1e6)\n",
+ "print \" The incident electromagnetic wave is the radio part of spectrum\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.11\n",
+ " Required frequency is 8 MHz.\n",
+ " The incident electromagnetic wave is the radio part of spectrum\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.12 Page No244"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "#Given that\n",
+ "p = 3.8e26 # power radiated by moon in watt\n",
+ "d_sun = 1.44e11 # Dismath.tance between sun and earth in meter\n",
+ "d_moon = 3e8 #Dismath.tance between moon and earth in meter\n",
+ "epsilon_0 = 8.854e-12 # Permittivity of free space\n",
+ "mu_0 = 4*math.pi*1e-7 # Permeability of free space\n",
+ "print \"Example 7.12\"\n",
+ "s = p/(4*math.pi*d_sun**2)# Calculation of solar energy received during solar eclipse in watt /m**2\n",
+ "S = s*60/(4.2*1e4) # Unit conversion\n",
+ "\n",
+ "print \" Solar energy received during solar eclipse is %f Cal per min per m**2 \"%(S)\n",
+ "# Ansewr in book is 2.1 cal per min per m**2\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.12\n",
+ " Solar energy received during solar eclipse is 2.083295 Cal per min per m**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.13 Page No246"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ " \n",
+ "#Given that\n",
+ "mu_0 = 4*math.pi*1e-7 # Permeability of free space\n",
+ "mu = mu_0 #Permeability of silver\n",
+ "sigma = 3.5e7 # conductivity in simens /m\n",
+ "lambda1 = 6328. # Wavelength in angstrom\n",
+ "c = 3e8# Speed of light in m/sec\n",
+ "\n",
+ "print \"Example 7.13\"\n",
+ "f = c/(lambda1*1e-10)\n",
+ "omega = 2*math.pi/f # Calculation of time period\n",
+ "f = c/(lambda1*1e-10) # Calculation of frequency in Hz\n",
+ "delta = math.sqrt(1/(math.pi*f*sigma*mu)) # Calculation of skin depth penetration\n",
+ "print \" Skin depth penetration is %f nm. \"%(delta*1e9)\n",
+ "# Answer in book is 3.9 mm, unit used in book is wrong\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 7.13\n",
+ " Skin depth penetration is 3.907138 nm. \n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_5.ipynb b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_5.ipynb
new file mode 100644
index 00000000..31c79ed3
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_5.ipynb
@@ -0,0 +1,448 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:497ece365171c1444da23921d16f63e0c1b4e77fbb7335ff607952ae9c43252d"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 8 : Superconductivity"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.1 Page No251"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "# Given that\n",
+ "H_c_0= 0.0306# Critical Field in tesla\n",
+ "T_c = 3.7 # Critical temperature in kelvin\n",
+ "T = 2 # Temperature in kelvin\n",
+ "print \"Example 8.1\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "H_c = H_c_0*(1-(T/T_c)**2) # Calculation of critical field\n",
+ "\n",
+ "print \"Magnetic Field at %d K is %f tesla.\"%(T,H_c)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.1\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Magnetic Field at 2 K is 0.021659 tesla.\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.2 Page No255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "# Given that\n",
+ "H_c= 3.3e4 # # Magnetic field in A/m\n",
+ "T_c = 7.2 # Critical temperature in kelvin\n",
+ "T = 5 # Temperature in kelvin\n",
+ "print \"Example 8.2\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "H_c_0 = H_c*(1-(T/T_c)**2)**(-1) # Calculation of critical field\n",
+ "print \"Magnetic Field at %d K is %e A/m\"%(T,H_c_0)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.2\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Magnetic Field at 5 K is 6.373770e+04 A/m\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.3 Page No257"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "# Given that\n",
+ "H_c_0= 1 # Let \n",
+ "H_c= 0.1 * H_c_0 # Magnetic field in A/m\n",
+ "T_c = 7.2 # Critical temperature in kelvin\n",
+ "\n",
+ "print \"Example 8.3\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "T = T_c*math.sqrt(1- (H_c/H_c_0)) # Calculation of Temperature\n",
+ "\n",
+ "print \"Required temperature is %f K.\"%(T)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.3\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Required temperature is 6.830520 K.\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.4 Page No257"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "# Given that\n",
+ "H_c_0= 0.0803# Critical Field in tesla\n",
+ "T_c = 7.2 # Critical temperature in kelvin\n",
+ "T = 4.2 # Temperature in kelvin\n",
+ "print \"Example 8.4\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "H_c = H_c_0*(1-(T/T_c)**2) # Calculation of critical field\n",
+ "\n",
+ "print \"Magnetic Field at %d K is %f tesla.\"%(T,H_c)\n",
+ "# Answer in book is 0.0548 tesla\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.4\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Magnetic Field at 4 K is 0.052976 tesla.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.5 Page No261"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "# Given that\n",
+ "H_c_0= 1.5e5# Critical field in A/m \n",
+ "H_c= 1.05e5 # Magnetic field in A/m\n",
+ "T_c = 9.2 # Critical temperature in kelvin\n",
+ "\n",
+ "print \"Example 8.5\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "T = T_c*math.sqrt(1- (H_c/H_c_0)) # Calculation of Temperature\n",
+ "\n",
+ "print \"Required temperature is %f K.\"%(T)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.5\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Required temperature is 5.039048 K.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.6 Page No264"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "# Given that\n",
+ "H_c_0= 2e5# Critical field in A/m \n",
+ "H_c= 1e5 # Magnetic field in A/m\n",
+ "T_c = 8 # Critical temperature in kelvin\n",
+ "\n",
+ "print \"Example 8.6\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "T = T_c/math.sqrt(1- (H_c/H_c_0)) # Calculation of Temperature\n",
+ "\n",
+ "print \"Required temperature is %f K.\"%(T)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.6\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Required temperature is 11.313708 K.\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.7 Page No265"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "# Given that\n",
+ "H_c_0= 8e5# Critical field in A/m \n",
+ "H_c= 4e4 # Magnetic field in A/m\n",
+ "T_c = 7.26 # Critical temperature in kelvin\n",
+ "\n",
+ "print \"Example 8.7\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "T = T_c*math.sqrt(1- (H_c/H_c_0)) # Calculation of Temperature\n",
+ "\n",
+ "print \"Required temperature is %f K.\"%(T)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.7\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ "Required temperature is 7.076173 K.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.8 Page No268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "# Given that\n",
+ "T1 = 14 # Temp in K\n",
+ "T2 = 13 # Temp in K\n",
+ "T = 4.2 # Temp in K\n",
+ "Hc_T1 = 0.176 # Critical field at Temp T1\n",
+ "Hc_T2 = 0.528 # Critical field at Temp T2\n",
+ "\n",
+ "print \"Example 8.8\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tH_c = H_c_0*1-T/T_c**2 \"\n",
+ "T_c = math.sqrt((T1**2*(Hc_T2/Hc_T1)- T2**2) /(Hc_T2/Hc_T1 - 1)) # Calculation of transition temperature\n",
+ "t_c = (T_c*10)/10 # Rounding off two two decimal places\n",
+ "Hc_0 = Hc_T1/(1-(T1/t_c)**2) # Calculation of critical field\n",
+ "Hc_T = Hc_0*(1-(T/t_c)**2) # Calculation of critical field \n",
+ "\n",
+ "print \" Transition temperature is %f K.\"%(t_c)\n",
+ "print \"Critical field at %f K is %fT.\"%(T,Hc_0)\n",
+ "print \"Critical field at 0 K is %fT.\"%(Hc_T)\n",
+ "# Answer in book is 2.588 T for 0 K and 2.37 for 4.2 K\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.8\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tH_c = H_c_0*1-T/T_c**2 \n",
+ " Transition temperature is 14.474115 K.\n",
+ "Critical field at 4.200000 K is 2.731259T.\n",
+ "Critical field at 0 K is 2.501286T.\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.9 Page No273"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "# Given that\n",
+ "m_0 = 9.1e-31 # Mass of electron in kg\n",
+ "mu_0 = 1.256e-6# SI\n",
+ "e = 1.6e-19 # Charge on electron in coulomb\n",
+ "eta_s = 1e28 # superelectron density in no. per cube\n",
+ "T_1 = 0 # First temp in kelvin\n",
+ "T_2 = 1 # Second temp in kelvin\n",
+ "T_c = 3 # Critical temp in kelvin\n",
+ "\n",
+ "print \"Example 8.9\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used \\tlambda_0 = math.sqrtm_0/mu_0*eta_s*e**2\"\n",
+ "lambda_0 = math.sqrt(m_0/(mu_0*eta_s*e**2))# Calculation of penetration depth at 0K\n",
+ "lambda_t = lambda_0/math.sqrt(1-(T_2/T_c)**4) # Calculation of penetration depth at 2K\n",
+ "\n",
+ "print \"Penetration depth at %d K is %d angestrom.\"%(T_1,lambda_0*1e10)\n",
+ "print \"Penetration depth at %d K is %f angestrom.\"%(T_2,lambda_t*1e10)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.9\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used \tlambda_0 = math.sqrtm_0/mu_0*eta_s*e**2\n",
+ "Penetration depth at 0 K is 531 angestrom.\n",
+ "Penetration depth at 1 K is 531.992971 angestrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.10 Page No277"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "# Given that\n",
+ "T_1 = 3.5 # Temperature in kelvin\n",
+ "T_c = 4.153 # Critical temp in kelvin\n",
+ "lambda_t = 750 # Penetration depth at T_1 in angstrom\n",
+ "print \"Example 8.10\"\n",
+ "print \"Smath.radians(numpy.arcmath.tan(ard formula used lambda_0 = lambda_t*math.sqrt1-T_1/T_c**4 \"\n",
+ "\n",
+ "lambda_0 = lambda_t*math.sqrt(1-(T_1/T_c)**4) # Calculation of penetration depth at 3.5K\n",
+ "print \" Penetration depth at 0 K is %f angstrom.\"%(lambda_0)\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Example 8.10\n",
+ "Smath.radians(numpy.arcmath.tan(ard formula used lambda_0 = lambda_t*math.sqrt1-T_1/T_c**4 \n",
+ " Penetration depth at 0 K is 527.960928 angstrom.\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch1.png b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch1.png
new file mode 100644
index 00000000..d87e5dd1
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch1.png
Binary files differ
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch3.png b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch3.png
new file mode 100644
index 00000000..6ffb764e
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch3.png
Binary files differ
diff --git a/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch6.png b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch6.png
new file mode 100644
index 00000000..47b923e5
--- /dev/null
+++ b/Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch6.png
Binary files differ
diff --git a/Power_System_Operation_and_Control_by_B._R._Gupta/README.txt b/Power_System_Operation_and_Control_by_B._R._Gupta/README.txt
new file mode 100644
index 00000000..46bd8192
--- /dev/null
+++ b/Power_System_Operation_and_Control_by_B._R._Gupta/README.txt
@@ -0,0 +1,10 @@
+Contributed By: Neeraj Baunthiyal
+Course: btech
+College/Institute/Organization: Pentode Technologies
+Department/Designation: Technical Executive
+Book Title: Power System Operation and Control
+Author: B. R. Gupta
+Publisher: S. Chand & Company, New Delhi
+Year of publication: 2012
+Isbn: 81-219-3232-7
+Edition: 1 \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch3_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch3_1.ipynb
new file mode 100644
index 00000000..e7d3c7d5
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch3_1.ipynb
@@ -0,0 +1,537 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:5da19df02b27c4cac3417f04cccf7af3cbc7e591ffe4f1128603d1edc459b37f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3 : Transmission Lines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 Page No : 4"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "#Given:\n",
+ "Z_ch = 100 #in ohms\n",
+ "S = 5 #VSWR (unitless)\n",
+ "\n",
+ "#calclations\n",
+ "Z = Z_ch*S \n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'The terminating impedence =',Z, 'ohms'\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The terminating impedence = 500 ohms\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 Page No : 5"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given\n",
+ "e = 2.718\n",
+ "R = 8\n",
+ "f = 2000 #in ohm/kilometer\n",
+ "\n",
+ "#calculations\n",
+ "L = 2*10**-3 #in henry/kilometer\n",
+ "C = 0.002*10**-6 #in farad/kilometer\n",
+ "G = 0.07*10**-6 #second/kilometer\n",
+ " #in hertz\n",
+ " #Since [w=2*(pi)*f] & [Zch={(R+jwL)/(G+jwC)}**0.5]\n",
+ "w = 2*math.pi*f #in radians\n",
+ " #Z_ch=((R+(w*L)j)/(G+(w*C)j))**0.5 #computing characteristic impedance\n",
+ "Z_ch = (complex(R,w*L)/complex(G,w*C))**0.5 #computing characteristic impedance\n",
+ "y = Z_ch\n",
+ "a = y.real #atteneuation consmath.tant\n",
+ "b = y.imag #phase consmath.tant\n",
+ "V_in = 2 #in volts\n",
+ "l = 500 #in kilometers\n",
+ "Z_in = Z_ch #Since line terminated at its char. imped. so, Z_in=Z_ch=Z(load)\n",
+ "I_s = V_in/Z_in\n",
+ "Imag = (((((I_s).real)**2)+(((I_s).imag)**2))**0.5)*10**3 #in milliampere\n",
+ "Iang = math.atan((I_s).imag/(I_s).real)*(180/math.pi) #in degrees\n",
+ "I = Imag*e**-1.99 #I=Is*e**-yl\n",
+ "P = I*I*(Z_ch).real\n",
+ "\n",
+ "\n",
+ "#---output--#\n",
+ "print \"Characteristic impedance (in ohms) =\",Z_ch,4\n",
+ "print \"Atteneuation constant (in NP/km) =\",round(a,4)\n",
+ "print \"Phase constant (in radian/km) =\",round(b,4)\n",
+ " #P(power delivered)=I*I*REAL(Z_ch)\n",
+ "\n",
+ "print \"Power delivered to load (in microwatt =\",round(P,4),\")\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Characteristic impedance (in ohms) = (1012.50018135-155.813417548j) 4\n",
+ "Atteneuation constant (in NP/km) = 1012.5002\n",
+ "Phase constant (in radian/km) = -155.8134\n",
+ "Power delivered to load (in microwatt = 72.1418 )\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 Page No : 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#calculations\n",
+ "b = 0.02543 #in rad/km\n",
+ "\n",
+ "\n",
+ "#calulations\n",
+ "w = 4*math.pi*10**3 #in rad/sec\n",
+ "V_p = w/b # phase velocity\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"Phase velocity (in km/sec) =\",round(V_p,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Phase velocity (in km/sec) = 494155.3525\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.4 Page No : 18"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#calculations\n",
+ "f = 37.5*10**6 #frequency(in hertz)\n",
+ "wl = (3*10**8)/f #wavelength (in meters)\n",
+ "Z_l = 100 #in ohms\n",
+ "Z_o = 200 #in ohms\n",
+ "l = 5*wl/4 #length of line (in meters)\n",
+ "b = 2*math.pi/wl\n",
+ " #At generator end,\n",
+ "Z_i = Z_o*(complex(Z_l,Z_o*math.tan(b*l))/complex(Z_o,Z_l*math.tan(b*l)))\n",
+ "V_s = 200*Z_i / 200 + Z_i\n",
+ "I_s = 200/(200+Z_i)\n",
+ "P_avg = V_s*I_s #in watts\n",
+ "I_load=(P_avg/Z_l)**0.5 #in amps\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"Current drawn from generator(in amps) =\",round((I_s).real,4)\n",
+ " #for a lossless line , P(avg)*I_input=P(avg)*I_load\n",
+ "\n",
+ "print \"Power delivered to load (in watts) =\",round((P_avg).real,4)\n",
+ " #Real(Vs*Is)=Real(Vs*I_load)\n",
+ "\n",
+ "print \"Current flowing in load (in amps) =\",round((I_load).real,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current drawn from generator(in amps) = 0.3333\n",
+ "Power delivered to load (in watts) = 266.6667\n",
+ "Current flowing in load (in amps) = 1.633\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.5 Page No : 22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "Z_o = 50 #in ohms\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "f = 300*10**6 #in Hz\n",
+ "Z_l = complex(50,50) #in ohms\n",
+ "wl =(3*10**8)/f #wavelength(in meters)\n",
+ "P =((Z_l-Z_o)/(Z_l+Z_o))\n",
+ "P_mag = (((P).real**2)+((P).imag**2))**0.5\n",
+ "P_ang = math.atan((P).imag/(P).real)*180/math.pi #in degrees\n",
+ "S = (1+P_mag)/(1-P_mag)\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"Reflection coefficient =\",P\n",
+ "print \"Magnitude of reflection coeffcient =\",round(P_mag,4)\n",
+ "print \"Angle (in degree) =\",round(P_ang,4)\n",
+ "print \"VSWR =\",round(S,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Reflection coefficient = (0.2+0.4j)\n",
+ "Magnitude of reflection coeffcient = 0.4472\n",
+ "Angle (in degree) = 63.4349\n",
+ "VSWR = 2.618\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.6 Page No : 25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "import numpy\n",
+ "\n",
+ "\n",
+ "Z_l = 100. #in ohms\n",
+ "Z_o = 600. #in ohms\n",
+ "\n",
+ "\n",
+ "#calcuations\n",
+ "f = 100.*10**6 #in Hz\n",
+ "wl = complex((3.*10**8)/f)\n",
+ " #Position of stub is :\n",
+ "m = complex((Z_l*Z_o)/(Z_l-Z_o))**0.5\n",
+ "\n",
+ "pos = (wl/(2*math.pi))*math.atan((Z_l/Z_o)**0.5) #in meters\n",
+ "\n",
+ "l = (wl/(2*math.pi))*(numpy.arctan(m)) #in meters\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"Position of stub (in meters) =\",(pos)\n",
+ "print \"Length of stub (in meters) =\",(abs(l))\n",
+ "\n",
+ "\n",
+ "##### m is a complex number hence can not take its atan #####\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Position of stub (in meters) = (0.185063785822+0j)\n",
+ "Length of stub (in meters) = 0.751272516719\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.7 Page No : 28"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "Z_o = 50\n",
+ "S = 3.2\n",
+ "X_min = 0.23 #in terms of wavelength(wl))\n",
+ " #So :\n",
+ "\n",
+ "#calculations\n",
+ "Z_l = Z_o*(complex(1,-S*math.tan(2*math.pi*X_min))/complex(S,-math.tan(2*math.pi*X_min))) #in ohms\n",
+ "Z_lmag = (((Z_l).real**2)+((Z_l).imag**2))**0.5\n",
+ "Z_lang = math.tan((Z_l).imag/(Z_l).real)\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"The load impedance\"\n",
+ "print \"magnitude (in ohms) =\",round(Z_lmag,4)\n",
+ "print \"angle (in degrees) =\",round(Z_lang*180/math.pi,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The load impedance\n",
+ "magnitude (in ohms) = 148.4532\n",
+ "angle (in degrees) = -21.5039\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.8 Page No : 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#---varibles--#\n",
+ "Z_o = 50 #in ohms\n",
+ "Z_l = 100 #in ohms\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "f = 300*10**3 #in Hz\n",
+ "P_l = 50*10**(-3) #in watts\n",
+ "wl = (3*10**8)/f\n",
+ "p =(Z_l-Z_o)/(Z_l+Z_o)\n",
+ "S =(1+abs(p))/(1-abs(p))\n",
+ " #Since real Zl > Zo , \n",
+ "pos = wl/4\n",
+ "V_max = (P_l*Z_l)**0.5\n",
+ "V_min = V_max/S\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"VSWR =\",round(S,4)\n",
+ "print \"First Vmax is located --->at the load \"\n",
+ "print \"First Vmin is located at --->(wavelength/4)= \",round(pos,4),\"(in meters)\"\n",
+ "print \"Vmax (in volts) =\",round(V_max,4)\n",
+ "print \"Vmin (in volts) =\",round(V_min,4)\n",
+ "print \"Zin at Vmin (in ohms) =:\",round(Z_o/S,4)\n",
+ "print \"Zin at Vmax (in ohms) =\",round(Z_o*S,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "VSWR = 1.0\n",
+ "First Vmax is located --->at the load \n",
+ "First Vmin is located at --->(wavelength/4)= 250.0 (in meters)\n",
+ "Vmax (in volts) = 2.2361\n",
+ "Vmin (in volts) = 2.2361\n",
+ "Zin at Vmin (in ohms) =: 50.0\n",
+ "Zin at Vmax (in ohms) = 50.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.9 Page No : 37"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "Z_o = 600. #in ohm\n",
+ "Z_s = 50. #in ohm\n",
+ "l = 200. #in meter\n",
+ "Z_l = 500. #in ohm\n",
+ "\n",
+ "#calculations\n",
+ "p = (Z_l-Z_o)/(Z_l+Z_o)\n",
+ "ref_los = 10*(math.log(1/(1-(abs(p))**2)))/(math.log(10)) #in dB\n",
+ "tran_los = ref_los\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "\n",
+ "print \"Reflection loss (in dB) =\",round(ref_los,4)\n",
+ " #attenuation loss= 0 dB\n",
+ " #Transmisson loss = (attenuation loss)+(reflection loss) = (reflection loss)\n",
+ "\n",
+ "print \"Transmisson loss (in dB) =\",round(tran_los,4)\n",
+ "ret_los=10*((math.log(abs(p)))/(math.log(10)))\n",
+ "print \"Return loss(in dB) =\",round(ret_los,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Reflection loss (in dB) = 0.036\n",
+ "Transmisson loss (in dB) = 0.036\n",
+ "Return loss(in dB) = -10.4139\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.10 Page No : 45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "#variables\n",
+ "e=2.718\n",
+ "f=1000 #in Hz\n",
+ "l=10000 #in meters\n",
+ "Z_sc=complex(2631,1289) #in ohms\n",
+ "Z_oc=complex(221,-137) #in ohms\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "Z_o=(Z_sc*Z_oc)**0.5\n",
+ "Z_mag=((Z_o).real**2+(Z_o).imag**2)**0.5\n",
+ "Z_ang=(math.atan(((Z_o).imag)/(Z_o).real))*180/math.pi\n",
+ "x=((Z_oc/Z_sc)**0.5)\n",
+ " #x=math.tanh(v*l)\n",
+ " #As, math.tanh(t)=[e**t-e**-t]/[e**t+e**-t]\n",
+ "v=complex(261,2988)/l\n",
+ "a=(v).real\n",
+ "b=(v).imag\n",
+ "\n",
+ "\n",
+ "#output\n",
+ "print \"Characteristic impedance (in ohms) =\",round(Z_mag,4)\n",
+ "print \"Angle (in degrees) =\",round(Z_ang,4)\n",
+ "print \"Phase velocity (in meter per sec.) =\",round(2*math.pi*f/b,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Characteristic impedance (in ohms) = 872.8129\n",
+ "Angle (in degrees) = -2.8468\n",
+ "Phase velocity (in meter per sec.) = 21028.0633\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch4_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch4_1.ipynb
new file mode 100644
index 00000000..8b0dac47
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch4_1.ipynb
@@ -0,0 +1,1181 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:02722fb266045ae58b797195e743ca538045a5c841f2d244ad349840a5c3f84f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4 : Microwaves Transmission Lines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 Page No : 66"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given:\n",
+ "d = 0.49 #in cm\n",
+ "D = 1.1 #in cm\n",
+ "e_r = 2.3\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "c = 3*10**8 #in meter/second\n",
+ "L = 2*(10**-7)*math.log(D/d) #in Henry/meter\n",
+ "C = 55.56*(10**-12)*(e_r)/math.log(D/d) #in farad/meter\n",
+ "R_o = (60/math.sqrt(e_r)) *math.log(D/d) #in ohms\n",
+ "v = c/math.sqrt(e_r) #in meter/second\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Inducmath.tance per unit length(in H/m) =',round(L,4)\n",
+ "print 'Capacimath.tance per unit length(in F/m) =',round(C,4)\n",
+ "print 'Characteristic Impedance (in ohms) =',round(R_o,4)\n",
+ "print 'Velocity of propagation (in m/s)=',round(v,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Inducmath.tance per unit length(in H/m) = 0.0\n",
+ "Capacimath.tance per unit length(in F/m) = 0.0\n",
+ "Characteristic Impedance (in ohms) = 31.9929\n",
+ "Velocity of propagation (in m/s)= 197814142.019\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 Page No : 67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "R = 0.05 #in ohms\n",
+ "G = 0\n",
+ "l = 50 #in meter\n",
+ "e = 2.3 #dielectric consmath.tant\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "c = 3*10**8 #in m/s\n",
+ "L = 2*(10**(-7)) #from Exa:4.1\n",
+ "C = 1.58*(10**(-10)) #from Exa:4.1\n",
+ "P_in = 480 #in watts\n",
+ "f = 3*10**9 #in hertz\n",
+ "Z_o = math.sqrt(L/C)\n",
+ "a = R/Z_o #in Np/m\n",
+ "b = 2*math.pi*f*math.sqrt(L*C) #in rad/m\n",
+ "V_p = 1/math.sqrt(L*C)\n",
+ "e_r = (c/V_p)**2\n",
+ "P_loss = P_in*2*l\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Atteneuation (in Np/m) =',round(a,4)\n",
+ "print 'Phase consmath.tant (in rad/m) =',round(b,4)\n",
+ "print 'Phase velocity (in m/s) =',round(V_p,4)\n",
+ "print 'Relative permittivity =',round(e_r,4)\n",
+ "print 'Power loss (in watts) =',round(P_loss,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Atteneuation (in Np/m) = 0.0014\n",
+ "Phase consmath.tant (in rad/m) = 105.9607\n",
+ "Phase velocity (in m/s) = 177892016.741\n",
+ "Relative permittivity = 2.844\n",
+ "Power loss (in watts) = 48000.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 Page No : 69"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "#Given \n",
+ "a = 2.42 #in cm\n",
+ "x = 2.3 #x=(b/a)\n",
+ "\n",
+ "\n",
+ "#calculation\n",
+ "P_bd = 3600*a**2*math.log(x) #in kilowatts\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Breakdown Power (in kW) =',round(P_bd,4)\n",
+ "\n",
+ "#answer in book is wrongly written as 398 kW.\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Breakdown Power (in kW) = 17560.2564\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 Page No : 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "b = 0.3175 #in cm\n",
+ "d = 0.0539 #in cm\n",
+ "c = 3*10**8 #in m/s\n",
+ "e_r = 2.32\n",
+ "\n",
+ "#calculations\n",
+ "Z_o = 60*math.log(4*b/(math.pi*d))/math.sqrt(e_r) #in ohms\n",
+ "V_p = c/math.sqrt(e_r) #in m/s\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Charcteristic impedance (in ohms) =',round(Z_o,4)\n",
+ "print 'Velocity of propagation (in m/s) =',round(V_p,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charcteristic impedance (in ohms) = 79.3713\n",
+ "Velocity of propagation (in m/s) = 196959649.29\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.5 Page No : 79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "e_r = 9.7\n",
+ "c = 3*10**8 #in m/s\n",
+ "r_1 = 0.5 #when ratio: (W/h)=0.5\n",
+ "r_2 = 5 #when ratio: (W/h)=5\n",
+ " #For W/h ratio=0.5\n",
+ "\n",
+ "#calculations\n",
+ "e_eff_1 = (e_r+1)/2+((e_r-1)/2)*(1/(math.sqrt(1+12*(1/r_1))+0.04*(1-r_1)))\n",
+ "Z_o_1 = 60*math.log(8/r_1+r_1/4)/math.sqrt(e_eff_1)\n",
+ "v_1 = c/math.sqrt(e_eff_1)\n",
+ "e_eff_2 = (e_r+1)/2+((e_r-1)/2)*(1/(math.sqrt(1+12*(1/r_2))))\n",
+ "Z_o_2 = 120*math.pi*(1/(r_2+1.393+0.667*math.log(1.444+r_2)))/math.sqrt(e_eff_2)\n",
+ "v_2 = c/math.sqrt(e_eff_2)\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print \"For W/h=0.5 ,\"\n",
+ "print 'Effective dielectric consmath.tant =',round(e_eff_1,4)\n",
+ "print 'Charcteristic impedance (in ohms) =',round(Z_o_1,4)\n",
+ "print 'Velocity of propagation (in m/s) =',round(v_1)\n",
+ " #For W/h ratio=5\n",
+ "print \"For W/h=5,\";\n",
+ "print 'Effective dielectric consmath.tant =',round(e_eff_2,4)\n",
+ "print 'Charcteristic impedance (in ohms) =',round(Z_o_2,4)\n",
+ "print 'Velocity of propagation (in m/s) =',round(v_2,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "For W/h=0.5 ,\n",
+ "Effective dielectric consmath.tant = 6.2165\n",
+ "Charcteristic impedance (in ohms) = 66.9083\n",
+ "Velocity of propagation (in m/s) = 120322571.0\n",
+ "For W/h=5,\n",
+ "Effective dielectric consmath.tant = 9.7\n",
+ "Charcteristic impedance (in ohms) = 15.8524\n",
+ "Velocity of propagation (in m/s) = 96324194.8602\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.6 Page No : 84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ " #For TE Wave propagated:\n",
+ " #for Recmath.tangular , taking (a=2b)\n",
+ "r = 100 #assume\n",
+ " #for TE11, wavelength=2*pi*r/1.841\n",
+ " #for TE10, wavelength=2a\n",
+ "#calculations\n",
+ "a = (2*math.pi*r/1.841)/2\n",
+ "ar_rec_TE = (a)*(a/2)\n",
+ "ar_cir_TE = math.pi*r**2\n",
+ "ratio_TE = (ar_cir_TE)/(ar_rec_TE)\n",
+ "b = (2.6155*r)/1.78885\n",
+ "ar_rec_TM = (b)*(b)\n",
+ "ar_cir_TM = math.pi*r**2\n",
+ "ratio_TM = (ar_cir_TM)/(ar_rec_TM)\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Ratio of Circular & Rectangular coss-section area (in TE) =',round(ratio_TE,4)\n",
+ " #For TM Wave propagated:\n",
+ " #for Recmath.tangular , taking (a=2b)\n",
+ " #for TE01, wavelength=2.6155*r\n",
+ " #for TE11, wavelength=4b/math.sqrt(5)\n",
+ "\n",
+ "print 'Ratio of Circular & Rectangular coss-section area (in TM) =',round(ratio_TM,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ratio of Circular & Rectangular coss-section area (in TE) = 2.1577\n",
+ "Ratio of Circular & Rectangular coss-section area (in TM) = 1.4696\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.7 Page No : 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "f = 9*10**9 #in Hz\n",
+ "c = 3*10**10 #in cm/s\n",
+ "\n",
+ "#calculations\n",
+ "wl_g = 4 #in m\n",
+ "wl_o = c/f\n",
+ "wl_c = (math.sqrt(1-((wl_o/wl_g)**2))/wl_o)**(-1)\n",
+ "b = wl_c/4\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Breadth of rectangular waveguide (in cm) =',round(b,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Breadth of rectangular waveguide (in cm) = 0.75\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.8 Page No : 96"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "a = 10 #in cm\n",
+ "c = 3*10**10 #in cm/s\n",
+ "\n",
+ "#calculations\n",
+ "wl_c = 2*a #in cm\n",
+ "f = 2.5*10**9 #in Hz\n",
+ "wl_o = c/f\n",
+ "wl_g = wl_o/(math.sqrt(1-(wl_o/wl_c)**2)) #in cm\n",
+ "V_p = c/(math.sqrt(1-(wl_o/wl_c)**2))\n",
+ "V_g = c**2/V_p\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Cut-off wavelength (in cm) =',round(wl_c,4)\n",
+ "print 'Guide wavelength (in cm) =',round(wl_g,4)\n",
+ "print 'Phase velocity (in cm/s) =',round(V_p,4)\n",
+ "print 'Group velocity (in cm/s) =',round(V_g,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cut-off wavelength (in cm) = 20.0\n",
+ "Guide wavelength (in cm) = 15.0\n",
+ "Phase velocity (in cm/s) = 37500000000.0\n",
+ "Group velocity (in cm/s) = 24000000000.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 Page No : 102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ " #For TE mode:\n",
+ "\n",
+ "a = 2.5 #in cm\n",
+ "b = 1 #in cm\n",
+ "f = 8.6*10**9 #in Hz\n",
+ "c = 3*10**10 #in cm/s\n",
+ "\n",
+ "#calculations\n",
+ "wl_o = c/f\n",
+ "wl_c_1 = 2*b #for TE01\n",
+ "wl_c_2 = 2*a #for TE10\n",
+ "f_c = c/wl_c_2\n",
+ "wl_c_3 = 2*a*b/math.sqrt(a**2+b**2) #for TE11 & TM11\n",
+ "wl_g_TE10 = wl_o/(math.sqrt(1-(wl_o/wl_c_2)**2)) #for TE10\n",
+ "wl_c_TM11 = wl_c_3;\n",
+ "wl_g_TM11 = wl_o/(math.sqrt(1-(wl_o/wl_c_2)**2)) #for TM11\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Only TE10 mode is possible'\n",
+ "print 'Cut-off frequency(in Hz) =',round(f_c,4)\n",
+ "print wl_g_TE10,'Guide wavelength for TE10 (in cm) =',round(wl_g_TE10,4)\n",
+ " #For TM mode:\n",
+ "print 'TM11 also propagates'\n",
+ "print 'Guide wavelength for TM11 (in cm) =',round(wl_g_TM11,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Only TE10 mode is possible\n",
+ "Cut-off frequency(in Hz) = 6000000000.0\n",
+ "4.86920604871 Guide wavelength for TE10 (in cm) = 4.8692\n",
+ "TM11 also propagates\n",
+ "Guide wavelength for TM11 (in cm) = 4.8692\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.10 Page No : 105"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "wl_c = 10 #in cm \n",
+ "c = 3*10**10 #in cm/s\n",
+ "\n",
+ "#calculations\n",
+ "r = wl_c/(2*math.pi/1.841) #in cm\n",
+ "area = math.pi*r**2 #in sq. cm\n",
+ "f_c = c/wl_c\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Radius of circular waveguide(in cm) =',round(r,4)\n",
+ "print 'Area of cross-section of circular waveguide(in cm) =',round(area,4)\n",
+ "print 'Frequency above',round(f_c,4),'can be propagated'\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Radius of circular waveguide(in cm) = 2.93\n",
+ "Area of cross-section of circular waveguide(in cm) = 26.971\n",
+ "Frequency above 3000000000.0 can be propagated\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.11 Page No : 106"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "a = 4 #in cm\n",
+ "b = 3 #in cm \n",
+ "f = 5*10**9 #in Hz\n",
+ "c = 3*10**10 #in cm/s\n",
+ "\n",
+ "#calculations\n",
+ "wl_o = c/f \n",
+ "\n",
+ " #For TE waves:\n",
+ "wl_c_TE01 = 2*b #for TE01\n",
+ "wl_c_TE10 = 2*a #for TE10\n",
+ "wl_c_TE11 = 2*a*b/math.sqrt(a**2+b**2) #for TE11\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---logic---#\n",
+ "if(wl_c_TE01>wl_o):\n",
+ " print 'TE01 can propagate'\n",
+ "else:\n",
+ " print 'TE01 cannot propagate'\n",
+ "\n",
+ "if(wl_c_TE10>wl_o):\n",
+ " print 'TE10 can propagate'\n",
+ "else:\n",
+ " print 'TE10 cannot propagate'\n",
+ "\n",
+ "if(wl_c_TE11>wl_o):\n",
+ " print 'TE11 can propagate'\n",
+ "else:\n",
+ " print 'TE11 cannot propagate'\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "TE01 cannot propagate\n",
+ "TE10 can propagate\n",
+ "TE11 cannot propagate\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.12 Page No : 107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "d = 4 #in cm\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "r = d/2 #in cm\n",
+ "wl_c = 2*math.pi*r/1.841 #in cm\n",
+ "f_c = c/wl_c \n",
+ "f_signal = 5*10**9 #in Hz\n",
+ "wl_o = c/f_signal \n",
+ "wl_g = wl_o/math.sqrt(1-(wl_o/wl_c)**2)\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Cut-off wavelength (in cm) =',round(wl_c,4)\n",
+ "print 'Cut-off frequency (in Hz) =',round(f_c,4)\n",
+ "print 'Guide wavelength (in cm) =',round(wl_g,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cut-off wavelength (in cm) = 6.8258\n",
+ "Cut-off frequency (in Hz) = 4395063753.48\n",
+ "Guide wavelength (in cm) = 12.5839\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.14 Page No : 115"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "a = 5 #in cm\n",
+ "b = 2.5 #in cm\n",
+ "wl_o = 4.5 #in cm\n",
+ " #For TE10 mode:\n",
+ "\n",
+ "#calculations\n",
+ "wl_c = 2*a \n",
+ "wl_g = wl_o/math.sqrt(1-(wl_o/wl_c)**2) \n",
+ "V_p = c/math.sqrt(1-(wl_o/wl_c)**2) \n",
+ "w = 2*math.pi*c/wl_o \n",
+ "w_c = 2*math.pi*c/wl_c\n",
+ "b = math.sqrt(w**2-w_c**2)/c\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Guide wavelength (in cm) =',round(wl_g,4)\n",
+ "print 'Phase consmath.tant =',round(b,4)\n",
+ "print 'Phase velocity (in cm/s) =',round(V_p,4)\n",
+ "\n",
+ "\n",
+ "#answer in book is wrongly written as guide wavelength =7.803 cm\n",
+ "#answer in book is wrongly written as Phase velocity = 5.22*10**10 cm/s\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Guide wavelength (in cm) = 5.039\n",
+ "Phase consmath.tant = 1.2469\n",
+ "Phase velocity (in cm/s) = 33593550657.4\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.15 Page No : 121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "wl_c_TE10 = 16 #Critical wavelength of TE10\n",
+ "wl_c_TM11 = 7.16 #Critical wavelength of TM11\n",
+ "wl_c_TM21 = 5.6 #Critical wavelength of TM21\n",
+ " #For (i): 10 cm\n",
+ "wl_o = 10 #in cm\n",
+ "\n",
+ "wl_o=5 #in cm\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---logic---#\n",
+ "print 'For free space wavelength (in cm) =',round(wl_o,4)\n",
+ "if(wl_c_TE10>wl_o):\n",
+ " print ' TE10 can propagate'\n",
+ "else:\n",
+ " print ' TE10 cannot propagate'\n",
+ "\n",
+ "if(wl_c_TM11>wl_o):\n",
+ " print ' TM11 can propagate'\n",
+ "else:\n",
+ " print ' TM11 cannot propagate'\n",
+ "\n",
+ "if(wl_c_TM21>wl_o):\n",
+ " print ' TM21 can propagate'\n",
+ "else:\n",
+ " print ' TM21 cannot propagate'\n",
+ "\n",
+ " #For (ii): 5 cm\n",
+ "\n",
+ "print ('For free space wavelength (in cm) =',round(wl_o)) \n",
+ "if(wl_c_TE10>wl_o):\n",
+ " print (' TE10 can propagate')\n",
+ "else:\n",
+ " print (' TE10 cannot propagate')\n",
+ "\n",
+ "if(wl_c_TM11>wl_o):\n",
+ " print (' TM11 can propagate')\n",
+ "else:\n",
+ " print (' TM11 cannot propagate')\n",
+ "\n",
+ "if(wl_c_TM21>wl_o):\n",
+ " print (' TM21 can propagate')\n",
+ "else:\n",
+ " print (' TM21 cannot propagate')\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "For free space wavelength (in cm) = 5.0\n",
+ " TE10 can propagate\n",
+ " TM11 can propagate\n",
+ " TM21 can propagate\n",
+ "('For free space wavelength (in cm) =', 5.0)\n",
+ " TE10 can propagate\n",
+ " TM11 can propagate\n",
+ " TM21 can propagate\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.16 Page No : 126"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 10*10**9 #in Hz\n",
+ "a = 3 #in cm\n",
+ "b = 2 #in cm\n",
+ "\n",
+ "#calculations\n",
+ "n = 120 * math.pi\n",
+ "wl_o = c/f\n",
+ "wl_c = 2*a*b/math.sqrt(a**2+b**2)\n",
+ "Z_TM = round(n*math.sqrt(1-(wl_o/wl_c)**2),4)\n",
+ "\n",
+ "#output\n",
+ "print 'Characteristic impedance (in ohms) =', Z_TM\n",
+ "\n",
+ "#answer in book is wrongly written as 61.618 ohms\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Characteristic impedance (in ohms) = 163.2419\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.17 Page No : 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 6*10**9 #in Hz\n",
+ "\n",
+ "#calculations\n",
+ "f_c = 0.8*f\n",
+ "wl_c = c/f_c\n",
+ "D = round(1.841*(wl_c/math.pi),4)\n",
+ "wl_o = c/f\n",
+ "wl_g = round(wl_o/math.sqrt(1-(wl_o/wl_c)**2),4)\n",
+ "\n",
+ "\n",
+ "\n",
+ "#output\n",
+ "print 'Diameter of waveguide (in cm) =', D\n",
+ "print 'Guide wavelength (in cm) =', wl_g\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Diameter of waveguide (in cm) = 3.6626\n",
+ "Guide wavelength (in cm) = 8.3333\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.18 Page No : 142"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "a = 1.5 #in cm\n",
+ "b = 1 #in cm\n",
+ "e_r = 4 #dielectric\n",
+ "c = 3*10**10 #in cm/s\n",
+ "\n",
+ "#calculations\n",
+ "wl_c = 2*b\n",
+ "f_c = c/wl_c\n",
+ "f_imp = 6*10**9 #impressed frequency (in Hz)\n",
+ "wl_air = c/f_imp\n",
+ "\n",
+ " #Inserting dielectric:\n",
+ "wl_dielec = wl_air/math.sqrt(e_r)\n",
+ "\n",
+ "\n",
+ "#---logic--#\n",
+ "if(wl_dielec > wl_c):\n",
+ " print ' TE01 can propagate'\n",
+ "else:\n",
+ " print ' TE01 cannot propagate'\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " TE01 can propagate\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.19 Page No : 148"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "u = 4*math.pi*10**-7\n",
+ "e = 8.85*10**-12\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 6*10**9 #in Hz\n",
+ "a = 1.5 #in cm\n",
+ "b = 1 #in cm\n",
+ " #For TE10 mode:\n",
+ "m = 1\n",
+ "n = 0\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "wl_c = 2*a\n",
+ "f_c = c/wl_c\n",
+ "t_1 = (m*math.pi/a)**2\n",
+ "t_2 = (n*math.pi/b)**2\n",
+ "t_3 = (((2*math.pi*f)**2)*u*e)\n",
+ "a = math.sqrt(abs(t_1+t_2-t_3)) #in neper/m\n",
+ " # variable t_1+t_2-t_3 is negative. So I changed the sign to calculate sqrt.\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Attenuation (in dB/m) =', round(a*20 / math.log(10),4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Attenuation (in dB/m) = 1091.8468\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.20 Page No : 149"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 9*10**9 #inHz\n",
+ "a = 3 #in cm\n",
+ "b = 1 #in cm\n",
+ "E_max = 3000 #in V/cm\n",
+ "\n",
+ "#calculations\n",
+ "wl_o = c/f\n",
+ "wl_c = 2*a #in TE10\n",
+ "wl_g = round(wl_o/math.sqrt(1-(wl_o/wl_c)**2))\n",
+ "P_max = (6.63*10**-4)*E_max**2*a*b*(wl_o/wl_g)\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Maximum power for rectangular waveguide (in kilowatts)=', round(P_max/1000, 4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum power for rectangular waveguide (in kilowatts)= 17.901\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.21 Page No : 150"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 9*10**9 #inHz\n",
+ "E_max = 300 #in V/cm\n",
+ "d = 5\n",
+ "\n",
+ "#calculations\n",
+ "wl_o = c/f\n",
+ " #For TE11\n",
+ "wl_c = d*math.pi/1.841\n",
+ "wl_g = wl_o/math.sqrt(1-(wl_o/wl_c)**2)\n",
+ "P_max = 0.498*E_max**2*d**2*(wl_o/wl_g)\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Maximum power (in watts) =',round(P_max,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum power (in watts) = 1048954.2981\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.22 Page No : 156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "\n",
+ "c = 3.*10**10 #in cm/s\n",
+ "f = 30.*10**9 #inHz\n",
+ "a = 1. #in cm\n",
+ "b = 1.\n",
+ "P_max = 746. #in watts\n",
+ "\n",
+ "#calculations\n",
+ "wl_o = c/f\n",
+ "wl_c = 2*a\n",
+ "Z = 120*math.pi/math.sqrt(1-(wl_o/wl_c)**2)\n",
+ "E_max = math.sqrt(P_max*4*Z/(a*b/10000))\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Peak value of electric field (in kV/m) =',round(E_max/1000,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Peak value of electric field (in kV/m) = 113.9724\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.23 Page No : 163"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given: \n",
+ "c = 3*10**10 #in cm/s\n",
+ "a = 2.3 #in cm\n",
+ "b = 1 #in cm\n",
+ "f = 9.375*10**9 #in Hz\n",
+ "\n",
+ "#calculations\n",
+ "wl_o = c/f\n",
+ "P_bd_TE11 = 597 * 2.3 * 1 * (1-(wl_o/(2*a))**2)**0.5\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Breakdown power for dominant mode (in kW) =',round(P_bd_TE11,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Breakdown power for dominant mode (in kW) = 986.4059\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.24 Page No : 166"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given: \n",
+ "d = 5 #in cm\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 9*10**9 #inHz\n",
+ " #Dominant mode is TE11:\n",
+ "#calculations\n",
+ "wl_o = c/f\n",
+ "wl_c = math.pi*d/1.841\n",
+ "f_c = c/wl_c\n",
+ "P_bd_TE11 = 1790*(d/2)**2*(1-(f_c/f)**2)**0.5\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Breakdown power (in kW) =',round(P_bd_TE11/1000,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Breakdown power (in kW) = 6.591\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch5_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch5_1.ipynb
new file mode 100644
index 00000000..d0cc5d39
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch5_1.ipynb
@@ -0,0 +1,204 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:aa05d3b801e5c6bc9c434761fec64832634ba5c396ae452adbd18dc37a932cd9"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5 : Cavity Resonators"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1 Page No : 180"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "#Given: \n",
+ "a = 3 #in cm\n",
+ "c = 3*10**10 #in cm/s\n",
+ "f = 10*10**9 #in Hz\n",
+ "P_01 = 2.405\n",
+ "\n",
+ "#calculations\n",
+ "d = math.pi/math.sqrt(f**2*4*math.pi**2/c**2-(P_01/a)**2)\n",
+ "\n",
+ "#output\n",
+ "print 'Minimum distance (in cm) =', round(d,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum distance (in cm) = 1.6236\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 Page No : 183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given: \n",
+ "c = 3.*10**10 #in cm/s\n",
+ "a = 2. #in cm\n",
+ "b = 1. #in cm\n",
+ "d = 3. #in cm\n",
+ "m = 1.\n",
+ "n = 0\n",
+ "p = 1.\n",
+ "\n",
+ "#calculations\n",
+ "f=(c/2)*((m/a)**2+(n/b)**2+(p/d)**2)**0.5\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Dominant mode is TE101'\n",
+ "print 'Lowest resonant frequency(in GHz) =',round(f/10**9,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Dominant mode is TE101\n",
+ "Lowest resonant frequency(in GHz) = 9.0139\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.3 Page No : 184"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given:\n",
+ "d = 12.5 #diameter(in cm)\n",
+ "c = 3*10**10 #in cm/s\n",
+ "l = 5 #length(in cm)\n",
+ "\n",
+ " #For TM012 mode:\n",
+ "n = 0\n",
+ "m = 1\n",
+ "p = 2\n",
+ "P = 2.405\n",
+ "\n",
+ "#calculations\n",
+ "a = d/2\n",
+ "f = (c/(2*math.pi))*((P/a)**2+(p*math.pi/d)**2)**0.5\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Resonant frequency (in GHz) =',round(f/10**9,4)\n",
+ "\n",
+ "#Answer in book in wrongly given as 6.27GHz \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resonant frequency (in GHz) = 3.0225\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 Page No : 191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given:\n",
+ "c = 3.*10**10 #in cm/s\n",
+ "a = 3. #in cm\n",
+ "b = 2. #in cm\n",
+ "d = 4. #in cm\n",
+ "#For TE101:\n",
+ "m = 1.\n",
+ "n = 0\n",
+ "p = 1.\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "f = (c/2)*((m/a)**2+(n/b)**2+(p/d)**2)**0.5\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Resonant frequency(in GHz) =',round(f/10**9,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resonant frequency(in GHz) = 6.25\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch6_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch6_1.ipynb
new file mode 100644
index 00000000..57085808
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch6_1.ipynb
@@ -0,0 +1,523 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8e00413bfc7a32f9462043bc0306d2b727b39c9d5a7f565f60201529b83b4788"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6 : Microwave Components"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.2 Page No : 200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "Beeta = 34.3 #in rad/m\n",
+ "# S=[0,0.5*math.e**(%i*53.13);0.5*math.e**(%i*53.13),0];\n",
+ "# S'=[0,0.5*math.e**(%i*53.13-x);0.5*math.e**(%i*53.13-x),0];\n",
+ "#For S12& S21 to be real ,\n",
+ "x = 53.5 #in degrees\n",
+ "\n",
+ "#calculations\n",
+ "x_rad = 53.5*math.pi/180\n",
+ "l = x_rad/Beeta\n",
+ "\n",
+ "#---output---#\n",
+ "print 'distance (in cm)=',round(l*100,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "distance (in cm)= 2.7223\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.3 Page No : 205"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "D = 30 #in dB\n",
+ "VSWR = 1\n",
+ "C = 10\n",
+ " #p1_p4 = p1/p4\n",
+ "\n",
+ "#calculations\n",
+ "p1_p4 = 10**(C/-10)\n",
+ "S_41 = round(math.sqrt(p1_p4),4)\n",
+ "S_14 = S_41 #As matched & lossless\n",
+ "S_31 = round(S_41**2/10**(D/10),4)\n",
+ "S_11 = round((VSWR-1)/(VSWR+1),4)\n",
+ "S_22 = S_11\n",
+ "S_44 = S_11\n",
+ "S_33 = S_11\n",
+ "S_21 = round(math.sqrt(1-0.1-10**-4),4)\n",
+ "S_12 = S_21\n",
+ "S_34 = round(math.sqrt(1-0.1-10**-4),4)\n",
+ "S_43 = S_34\n",
+ "S_24 = round(math.sqrt(1-0.1-S_34**2),4)\n",
+ "S_42 = S_24\n",
+ "S_23 = S_41\n",
+ "S_32 = S_23\n",
+ "S_13 = S_31\n",
+ "S=[[S_11,S_12,S_13,S_14],[S_21,S_22,S_23,S_24],[S_31,S_32,S_33,S_34],[S_41,S_42,S_43,S_44]]\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Required Scattering Parameters are \\n', S\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Required Scattering Parameters are \n",
+ "[[0.0, 0.9486, 0.0001, 0.3162], [0.9486, 0.0, 0.3162, 0.0126], [0.0001, 0.3162, 0.0, 0.9486], [0.3162, 0.0126, 0.9486, 0.0]]\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.4 Page No : 206"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "a_2 = 0\n",
+ "a_3 = 0\n",
+ "a_1 = 32 #in mW\n",
+ "\n",
+ "#calculations\n",
+ "b_1 = (a_1/2**2)+(a_2/-2)+(a_3/math.sqrt(2))\n",
+ "b_2 = (a_1/(-2)**2)+(a_2/-2)+(a_3/math.sqrt(2))\n",
+ "b_3 = (a_1/2)+(a_2/math.sqrt(2))+(a_3/-math.sqrt(2))\n",
+ "\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Power at port1(in mW)=',b_1\n",
+ "print 'Power at port2(in mW) =',b_2\n",
+ "print 'Power at port3(in mW) =',b_3\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power at port1(in mW)= 8.0\n",
+ "Power at port2(in mW) = 8.0\n",
+ "Power at port3(in mW) = 16.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.5 Page No : 214"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "b_1 = 20\n",
+ "b_2 = 20\n",
+ "\n",
+ "#calculations\n",
+ "p_1 = abs((60-50)/(60+50))\n",
+ "p_2 = abs((75-50)/(75+50))\n",
+ "P_1 = b_1*(1-p_1**2)/2\n",
+ "P_2 = b_2*(1-p_2**2)/2\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Power in port1 (in mW) =',round(P_1,4)\n",
+ "print 'Power in port2 (in mW) =',P_2\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power in port1 (in mW) = 10.0\n",
+ "Power in port2 (in mW) = 10\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6 Page No : 222"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "p_1 = 0.5\n",
+ "p_2 = 0.6\n",
+ "p_4 = 0.8\n",
+ "b_1 = 0.6566\n",
+ "b_2 = 0.7576\n",
+ "b_3 = 0.6536\n",
+ "b_4 = 0.00797\n",
+ "\n",
+ "#calculations\n",
+ "a_1 = p_1*b_1\n",
+ "a_2 = p_2*b_2\n",
+ "a_3 = 1 #in Watts\n",
+ "a_4 = p_4*b_4\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Power at port 1(in W)=',round(b_1**2,4)\n",
+ "print 'Power at port 2(in W)=',round(b_2**2,4)\n",
+ "print 'Power at port 3(in W)=',round(b_3**2,4)\n",
+ "print 'Power at port 4(in W)=',b_4**2\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power at port 1(in W)= 0.4311\n",
+ "Power at port 2(in W)= 0.574\n",
+ "Power at port 3(in W)= 0.4272\n",
+ "Power at port 4(in W)= 6.35209e-05\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.7 Page No : 227"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "In_loss = 0.5 #in dB\n",
+ "Isolation = 30 #in dB\n",
+ "S_11 = 0\n",
+ "S_22 = 0\n",
+ "\n",
+ "#calculations\n",
+ "S_21 = 10**(-In_loss/20) \n",
+ "S_12 = 10**(-Isolation/20)\n",
+ "S = [S_11,S_12,S_21,S_22]\n",
+ "\n",
+ "#output\n",
+ "print 'Scattering matrix = [',\n",
+ "for k in S:\n",
+ " print round(k,4),\",\" ,\n",
+ "print ']'\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Scattering matrix = [ 0.0 , 0.01 , 0.9441 , 0.0 , ]\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.9 Page No : 228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "VSWR = 1\n",
+ "In_loss = 0.5 #in dB\n",
+ "Isolation = 20 #in dB\n",
+ "\n",
+ "#calculations\n",
+ "S_12 = round(10**(-Isolation/20),4)\n",
+ "S_21 = round(10**(-In_loss/20),4)\n",
+ "S_23 = S_12\n",
+ "S_31 = S_12\n",
+ "S_32 = S_21\n",
+ "S_13 = S_21\n",
+ "p=round((VSWR-1)/(VSWR+1),4)\n",
+ "S_11 = p\n",
+ "S_22 = p\n",
+ "S_33 = p\n",
+ "S = [S_11,S_12,S_13],[S_21,S_22,S_23],[S_31,S_32,S_33]\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Scattering matrix =',S\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Scattering matrix = ([0.0, 0.1, 0.9441], [0.9441, 0.0, 0.1], [0.1, 0.9441, 0.0])\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.10 Page No : 232"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "In_loss = 0.5 #insertion loss(in dB)\n",
+ "C = 20 #in dB\n",
+ "D = 35 #in dB\n",
+ "Pi = 90 #in Watts\n",
+ "\n",
+ "#calculations\n",
+ "Pi_Pf = 10**(C/10)\n",
+ "Pf = Pi/Pi_Pf\n",
+ "Pf_Pb = 10**(D/10)\n",
+ "Pb = Pf/Pf_Pb\n",
+ "P_rec = (Pi-Pf-Pb) #Power received (in Watts)\n",
+ "P_rec_dB = 10*math.log(Pi/P_rec)/math.log(10)\n",
+ "P_rec_eff = P_rec_dB-In_loss #Effective power received (in dB)\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Effective power received (in dB)=',round(P_rec_eff,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Effective power received (in dB)= -0.5\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.11 Page No : 239"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "S_13 = 0.1\n",
+ "S_14 = 0.05\n",
+ "\n",
+ "#calculations\n",
+ "C = -20*math.log(S_13)/math.log(10)\n",
+ "D = 20*math.log(S_13/S_14)/math.log(10)\n",
+ "I = C+D\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Coupling (in dB) =',round(C,4)\n",
+ "print 'Directivity (in dB)) =',round(D,4)\n",
+ "print 'Isolation (in dB) =',round(I,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Coupling (in dB) = 20.0\n",
+ "Directivity (in dB)) = 6.0206\n",
+ "Isolation (in dB) = 26.0206\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.12 Page No : 245"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "\n",
+ "D=3 #distance of seperation(in cm)\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "w_l=2*D #wavelength\n",
+ "d2_d1=2.5 #d2-d1(in m)\n",
+ "S=w_l/(math.pi*d2_d1*10**-1)\n",
+ "\n",
+ "#---output---#\n",
+ "print 'VSWR =',round(S,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "VSWR = 7.6394\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.13 Page No : 252"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "#---variables\n",
+ "w_l=7.2 #wavelength (in cm)\n",
+ "x=10.5-9.3\n",
+ "\n",
+ "#calculations\n",
+ "Phase_shift=(2*math.pi*x)/(w_l)\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Phase Shift (in degree) =',round(Phase_shift*180/math.pi,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Phase Shift (in degree) = 60.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch7_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch7_1.ipynb
new file mode 100644
index 00000000..746d79d4
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch7_1.ipynb
@@ -0,0 +1,189 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:bf5e27aec09a7e2fac66ac45f02286ce200d91b5616037191e8baebf0befe768"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 : Microwave Measurements"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 Page No : 273"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given:\n",
+ "c = 3*10**10 #in cm/s\n",
+ "a = 4 #in cm\n",
+ "b = 2.5 #in cm\n",
+ "f = 10*10**9 #in Hz\n",
+ "d = 0.1 #distance between 2 minimum power points(in cm)\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "#For TE10 mode:\n",
+ "wl_c = 2*a\n",
+ "wl_o = c/f\n",
+ "wl_g = wl_o/math.sqrt(1-(wl_o/wl_c)**2)\n",
+ "S = wl_g/(math.pi*d)\n",
+ "\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Voltage standing wave ratio =',round(S,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage standing wave ratio = 9.5493\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.2 Page No : 274"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "\n",
+ "#Given: \n",
+ "P_i = 300 #in mW\n",
+ "P_r = 10 #in mW\n",
+ "\n",
+ "#calculations\n",
+ "p = math.sqrt(P_r/P_i)\n",
+ "S = (1+p)/(1-p)\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Voltage standing wave ratio =',round(S,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage standing wave ratio = 1.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.3 Page No : 279"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "#Given:\n",
+ "P_i = 2.5 #in mW\n",
+ "P_r = 0.15 #in mW\n",
+ "\n",
+ "#---output---#\n",
+ "p = math.sqrt(P_r/P_i)\n",
+ "S = (1+p)/(1-p)\n",
+ "print 'Voltage standing wave ratio =', round(S,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage standing wave ratio = 1.6488\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.4 Page No : 286"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Given:\n",
+ "P_i=4.5 #in mW\n",
+ "S=2. #VSWR\n",
+ "C=30. #in dB\n",
+ "\n",
+ "#calculations\n",
+ "p=(S-1)/(S+1)\n",
+ "P_f=P_i/(10**(C/10))\n",
+ "P_r=p**2*P_i\n",
+ "#---output---#\n",
+ "print 'Reflected power (in watts) =',P_r\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Reflected power (in watts) = 0.5\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch8_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch8_1.ipynb
new file mode 100644
index 00000000..f4b9ac5e
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch8_1.ipynb
@@ -0,0 +1,806 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3b50f58b54841662eb0b6edda4172167b273f5b5c1c667219e09c738e3a299bf"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 8 : Microwave Tubes and Circuits"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.1 Page No : 295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "V_o = 14.5*10**3 #in volts\n",
+ "I_o = 1.4 #in A\n",
+ "f = 10*10**9 #in Hz\n",
+ "p_o = 10**-6 #in c/m**3\n",
+ "p = 10**-8 #in c/m**3\n",
+ "v = 10**5 #in m/s\n",
+ "R = 0.4\n",
+ "\n",
+ "#calculations\n",
+ "v_o = 0.593*10**6*math.sqrt(V_o)\n",
+ "k = 2*math.pi*f/v_o\n",
+ "w_p = (1.759*10**11*(10**-6/(8.854*10**-12)))**0.5\n",
+ "w_q = R*w_p\n",
+ "J_o = p_o*v_o\n",
+ "J = p*v_o+p_o*v\n",
+ "#---output---#\n",
+ "print 'Dc electron velocity (in m/s) =',round(v_o,4)\n",
+ "print 'Dc phase constant (in rad/s) =',round(k,4)\n",
+ "print 'Plasma frequency (in rad/s) =',round(w_p,4)\n",
+ "print 'Reduced plasma frequency (in rad/s) =',round(w_q,4)\n",
+ "print 'Dc beam current density (in A/sq. m) =',round(w_q,4)\n",
+ "print 'Instantaneous beam current density(in A/sq. m) =',round(w_q,4)\n",
+ "\n",
+ "#Answer in book are wrongly written as: (Dc phase constant =1.41* 10**8 rad/sec)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Dc electron velocity (in m/s) = 71406655.8522\n",
+ "Dc phase constant (in rad/s) = 879.9159\n",
+ "Plasma frequency (in rad/s) = 140949377.094\n",
+ "Reduced plasma frequency (in rad/s) = 56379750.8375\n",
+ "Dc beam current density (in A/sq. m) = 56379750.8375\n",
+ "Instantaneous beam current density(in A/sq. m) = 56379750.8375\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.2 Page No : 299"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "A_v = 15 #in dB\n",
+ "P_i = 5*10**-3 #in W\n",
+ "R_sh_i = 30000 #in ohms\n",
+ "R_sh_o = 40000 #in ohms\n",
+ "R_l = 20000 #in ohms\n",
+ "\n",
+ "#calculations\n",
+ "V_i = math.sqrt(P_i*R_sh_i)\n",
+ "V_o = 10**((A_v/20))*12.25\n",
+ "P_out = V_o**2/R_l\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Input rms voltage (in volts) =',round(V_i,4)\n",
+ "print 'Output rms voltage (in volts) =',round(V_o,4)\n",
+ "print 'Power delivered to load (in watts) =',round(P_out,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input rms voltage (in volts) = 12.2474\n",
+ "Output rms voltage (in volts) = 12.25\n",
+ "Power delivered to load (in watts) = 0.0075\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.3 Page No : 307"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "n = 2\n",
+ "V_o = 300 #in volts\n",
+ "I_o = 20*10**-3 #in A\n",
+ "V_i = 40 #in volts\n",
+ "J = 1.25 #J(X')\n",
+ "\n",
+ "#calculations\n",
+ "P_dc = V_o*I_o\n",
+ "P_ac = 2*V_o*I_o*J/(2*n*math.pi-math.pi/2)\n",
+ "eff = (P_ac/P_dc)*100\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Input power (in watts) =',P_dc\n",
+ "print 'Output power (in watts) =',round(P_dc,4)\n",
+ "print 'Efficiency (in percent) =',round(eff,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input power (in watts) = 6.0\n",
+ "Output power (in watts) = 6.0\n",
+ "Efficiency (in percent) = 22.7364\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.4 Page No : 313"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "V_o = 900 #in volts\n",
+ "I_o = 30*10**-3 #in A\n",
+ "f = 8*10**9 #in Hz\n",
+ "d = 0.001 #in m\n",
+ "l = 0.04 #in m\n",
+ "R_sh = 40*10**3 #in ohm\n",
+ "#calculations\n",
+ "v_o = 0.593*10**6*math.sqrt(V_o)\n",
+ "T_o = l/v_o\n",
+ "Theeta_o = (2*math.pi*f)*T_o #Transit angles between cavities(in radian)\n",
+ "Theeta_g = (2*math.pi*f)*d/v_o #Average gap transit angle (in radian)\n",
+ "b = math.sin(Theeta_g/2)/(Theeta_g/2)\n",
+ "V_in_max = V_o*3.68/(b*Theeta_o)\n",
+ " #As, {J(X)/X=0.582}\n",
+ "A_r = b**2*Theeta_o*0.582*R_sh/(30*10**3*1.841)\n",
+ "#---output---#\n",
+ "print 'Electron velocity (in m/s) =',round(v_o,4)\n",
+ "print 'Dc Transit Time (in sec)=',round(T_o,4)\n",
+ "print 'Maximum input voltage (in volts) =',round(V_in_max,4)\n",
+ "print 'Voltage gain (in dB) =',round(A_r,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electron velocity (in m/s) = 17790000.0\n",
+ "Dc Transit Time (in sec)= 0.0\n",
+ "Maximum input voltage (in volts) = 41.9225\n",
+ "Voltage gain (in dB) = 23.2777\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.5 Page No : 316"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "V_o = 1200 #in volts\n",
+ "I_o = 28*10**-3 #in A\n",
+ "f = 8*10**9 #inHz\n",
+ "d = 0.001 #in m\n",
+ "l = 0.04 #in m\n",
+ "R_sh = 40*10**3 #in ohms\n",
+ "Beeta_o = 0.768\n",
+ "J = 0.582 #J(X)\n",
+ "G_o = 23.3*10**-6\n",
+ "\n",
+ "#calculations\n",
+ "V_p_max = 1200*3.68*0.593*10**6*math.sqrt(V_o)/(2*math.pi*f*l)\n",
+ "Theeta_g = (2*math.pi*f)*d/(0.593*10**6*math.sqrt(V_o)) #transit angle (in rad)\n",
+ "beeta = math.sin(Theeta_g/2)/(Theeta_g/2)\n",
+ "V_i_max = V_p_max/beeta\n",
+ "A_v = (Beeta_o)**2*97.88*J*R_sh/(1200/(28*10**-3*1.841)) #calculating voltage gain\n",
+ "eff = (0.58*(2*28*10**-3*J*Beeta_o*R_sh)/V_o)*100 #calculating efficiency\n",
+ "G_b = (G_o/2)*(Beeta_o**2-Beeta_o*math.cos(Theeta_g)) #beam loading conducmath.tance\n",
+ "R_b = 1/(G_b*1000) #beam loading resistance(in kilo ohms)\n",
+ "#---output---#\n",
+ "print 'Input microwave voltage(in volts) =',round(V_i_max,4)\n",
+ "print 'Voltage gain =',round(A_v,4)\n",
+ "print 'Effeciency of amplifier (in percentage) =',round(eff,4)\n",
+ "print 'Beam loading resistance(in kilo ohms) =',round(R_b,4)\n",
+ "\n",
+ "#Answer in book is wrongly given as: Voltage gain =17.034\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input microwave voltage(in volts) = 58.7055\n",
+ "Voltage gain = 57.7338\n",
+ "Effeciency of amplifier (in percentage) = 48.3926\n",
+ "Beam loading resistance(in kilo ohms) = 72.7516\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.6 Page No : 318"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "e_m_ratio = 1.759*10**11 #(e/m)\n",
+ "V_o = 500 #in volts\n",
+ "R_sh = 20*10**3 #in ohms\n",
+ "f = 8*10**9 #inHz\n",
+ "n = 2 #mode\n",
+ "L = 0.001 #spacing between repeller & cavity (in m)\n",
+ "x = 0.023\n",
+ "Beeta_o = 1 #Assuming\n",
+ "J = 0.582\n",
+ "V_1 = 200 #given (in volts)\n",
+ "j = 0.84 #J(X')\n",
+ "\n",
+ "#calculations\n",
+ "w = 2*math.pi*f\n",
+ "volt_diff = math.sqrt(V_o*(x))\n",
+ "V_r = volt_diff+V_o #repeller volatge\n",
+ "I_o = V_1/(R_sh*2*J)\n",
+ "Theeta_o = 2*math.pi*f*J*10**6*2*10**-3*math.sqrt(V_o)/(1.579*10**11*(V_r+V_o))\n",
+ "X = V_1*Theeta_o/(2*V_o) #X'\n",
+ "eff = (2*j/(2*math.pi*2-math.pi/2))*100\n",
+ "#---output---#\n",
+ "print 'Repeller voltage(in volts) =',round(V_r,4)\n",
+ "print 'Necessary beam current (in Amp.s) =',round(I_o,4)\n",
+ "print 'Effeciency (in percentage) =',round(eff,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Repeller voltage(in volts) = 503.3912\n",
+ "Necessary beam current (in Amp.s) = 0.0086\n",
+ "Effeciency (in percentage) = 15.2789\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.7 Page No : 325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "P_dc_in = 40 #in mW\n",
+ "ratio = 0.278 #V_1/V_o;\n",
+ "n = 1\n",
+ "J=2.35\n",
+ "#calculations\n",
+ "X=ratio*(2*n*math.pi-math.pi/2)\n",
+ "eff=ratio*J*100 #in percentage\n",
+ "P_out= 8.91*P_dc_in/100\n",
+ "P_load=3.564*80/100\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Effeciency (in percentage) =',round(eff,4)\n",
+ "print 'Total power output (in mW) =',round(P_out,4)\n",
+ "print 'Power delivered to load (in mW) =',round(P_load,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Effeciency (in percentage) = 65.33\n",
+ "Total power output (in mW) = 3.564\n",
+ "Power delivered to load (in mW) = 2.8512\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.8 Page No : 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "e_m_ratio = 1.759*10**11 #(e/m)\n",
+ "R_a = 0.15 #in m\n",
+ "R_o = 0.45 #in m\n",
+ "B_o = 1.2*10**-3 #in weber/m**2\n",
+ "V = 6000 #in volts\n",
+ "\n",
+ "#calculations\n",
+ "V_o = ((e_m_ratio)*B_o**2*R_o**2*(1-(R_a/R_o)**2)**2)/8\n",
+ "B_c = math.sqrt(8*V/e_m_ratio)/((1-(R_a/R_o)**2)*(R_o)) #in weber/m**2\n",
+ "w_c = (e_m_ratio)*B_o\n",
+ "f_c = w_c/(2*math.pi) #in Hz\n",
+ "#---output---#\n",
+ "print 'Cut-off voltage (in volts) =',round(V_o,4)\n",
+ "print 'Cut-off magnetic flux density (in milli weber/sq. m) =',round(B_c*10**5,4)\n",
+ "print 'Cyclotron frequency (in GHz) =',round(f_c*10**-9,4)\n",
+ "\n",
+ "#Answer in book is wrongly given as: f_c=0.336Hz & V_o=50.666 kV\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cut-off voltage (in volts) = 5065.92\n",
+ "Cut-off magnetic flux density (in milli weber/sq. m) = 130.5953\n",
+ "Cyclotron frequency (in GHz) = 0.0336\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.9 Page No : 332"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "e_m_ratio = 1.759*10**11 #(e/m)\n",
+ "c = 3*10**8 #in m/s\n",
+ "d = 0.002 #diameter(in m)\n",
+ "pitch = (1./50)/100 #As,50 turns per cm (in m)\n",
+ " \n",
+ "#calculations\n",
+ "circum = math.pi*d\n",
+ "v_p = c*pitch/circum\n",
+ "V_o = v_p**2/(2*e_m_ratio)\n",
+ "#---output---#\n",
+ "print 'Axial phase velocity (in m/s) =',round(v_p,4)\n",
+ "print 'Anode Voltage (in kV) =',round(V_o,4)\n",
+ "\n",
+ "#Answer in book is wrongly given as V_o=25.92 V\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Axial phase velocity (in m/s) = 9549296.5855\n",
+ "Anode Voltage (in kV) = 259.2071\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.10 Page No : 339"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "V_o = 900 #in volts\n",
+ "I_o = 30*10**-3 #in A\n",
+ "f = 8*10**9 #in Hz\n",
+ "d = 0.001 #in m\n",
+ "l = 0.04 #in m\n",
+ "R_sh = 40*10**3 #in ohm\n",
+ "\n",
+ "#calculations\n",
+ "v_o = 0.593*10**6*math.sqrt(V_o)\n",
+ "T_o = l/v_o\n",
+ "Theeta_o = (2*math.pi*f)*T_o #Transit angles between cavities(in radian)\n",
+ "Theeta_g = (2*math.pi*f)*d/v_o #Average gap transit angle (in radian)\n",
+ "b = math.sin(Theeta_g/2)/(Theeta_g/2)\n",
+ "V_in_max = V_o*3.68/(b*Theeta_o)\n",
+ " #As, {J(X)/X=0.582}\n",
+ "A_r = b**2*Theeta_o*0.582*R_sh/(30*10**3*1.841)\n",
+ "#---output---#\n",
+ "print 'Electron velocity (in m/s) =',round(v_o,4)\n",
+ "print 'Dc Transit Time (in sec)=',round(T_o,4)\n",
+ "print 'Maximum input voltage (in volts) =',round(V_in_max,4)\n",
+ "print 'Voltage gain (in dB) =',round(A_r,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electron velocity (in m/s) = 17790000.0\n",
+ "Dc Transit Time (in sec)= 0.0\n",
+ "Maximum input voltage (in volts) = 41.9225\n",
+ "Voltage gain (in dB) = 23.2777\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.11 Page No : 341"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "V_o = 20*10**3 #in volts\n",
+ "I_o = 2 #in A\n",
+ "f = 10*10**9 #in Hz\n",
+ "p_o = 10**-6 #in c/m**3\n",
+ "p = 10**-8 #in c/m**3\n",
+ "v = 10**5 #in m/s\n",
+ "R = 0.5\n",
+ "\n",
+ "#calculations\n",
+ "v_o = 0.593*10**6*math.sqrt(V_o)\n",
+ "k = 2*math.pi*f/v_o\n",
+ "w_p = (1.759*10**11*(10**-6/(8.854*10**-12)))**0.5\n",
+ "w_q = R*w_p\n",
+ "J_o = p_o*v_o\n",
+ "J = p*v_o-p_o*v\n",
+ "#---output---#\n",
+ "print 'Dc electron velocity (in m/s) =',round(v_o,4)\n",
+ "print 'Dc phase constant (in rad/s) =',round(k,4)\n",
+ "print 'Plasma frequency (in rad/s) =',round(w_p,4)\n",
+ "print 'Reduced plasma frequency (in rad/s) =',round(w_q,4)\n",
+ "print 'Dc beam current density (in A/sq. m) =',round(J_o,4)\n",
+ "print 'Instantaneous beam current density(in A/sq. m) =',round(J,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Dc electron velocity (in m/s) = 83862864.2487\n",
+ "Dc phase constant (in rad/s) = 749.2214\n",
+ "Plasma frequency (in rad/s) = 140949377.094\n",
+ "Reduced plasma frequency (in rad/s) = 70474688.5468\n",
+ "Dc beam current density (in A/sq. m) = 83.8629\n",
+ "Instantaneous beam current density(in A/sq. m) = 0.7386\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.12 Page No : 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "V_o = 1000 #Anode voltage(in volts)\n",
+ "gap = 0.002 #in m\n",
+ "f = 5*10**9 #in Hz\n",
+ "L = 2.463*10**-3 #length of drift region (in m)\n",
+ "\n",
+ "#calculations\n",
+ "u_o = 5.93*10**5*math.sqrt(V_o) #in m/s\n",
+ "Theeta_g = 2*math.pi*f*2*10**-3/u_o #radians\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Transit angle(in radians) =',round(Theeta_g,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Transit angle(in radians) = 3.3506\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.13 Page No : 354"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "V_o = 1200 #in volts\n",
+ "I_o = 30*10**-3 #in A\n",
+ "f = 10*10**9 #inHz\n",
+ "d = 0.001 #in m\n",
+ "l = 0.04 #in m\n",
+ "R_sh = 40*10**3 #in ohms\n",
+ "\n",
+ "#calculations\n",
+ "v_o = 0.593*10**6*math.sqrt(V_o)\n",
+ "Theeta_o = 2*math.pi*f*l/(20.54*10**6)\n",
+ "X = 1.84 #for maximum output power\n",
+ "V_max = 2*X*V_o/122.347\n",
+ "Theeta_g = 122.347*10**-3/(4*10**-2)\n",
+ "Beeta_i = math.sin(Theeta_g/2)/(Theeta_g/2)\n",
+ "V_1_max = V_max/Beeta_i\n",
+ "J = 0.58\n",
+ "Beeta_o = Beeta_i\n",
+ "I_2 = 2*I_o*J\n",
+ "V_2 = Beeta_o*I_2*R_sh\n",
+ "A_v = V_2/V_1_max #in dB\n",
+ "eff = 0.58*(V_2/V_o)*100 #in percentage\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Input rf voltage(in volts) =',round(V_1_max,4)\n",
+ "print 'Voltage gain (in dB) =',round(A_v,4)\n",
+ "print 'Maximum efficiency (in percentage) =',round(eff,4)\n",
+ "\n",
+ "#Answer in book is wrongly given as: A_v=24.33 dB\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input rf voltage(in volts) = 55.2475\n",
+ "Voltage gain (in dB) = 16.4608\n",
+ "Maximum efficiency (in percentage) = 43.9551\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.14 Page No : 356"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "e_m_ratio = 1.759*10**11 #(e/m)\n",
+ "a = 0.04\n",
+ "b = 0.08\n",
+ "V_o = 30*10**3 #in volts\n",
+ "I_o = 80 #in A\n",
+ "B_o = 0.01 #in weber/sq.m\n",
+ "\n",
+ "#calculations\n",
+ "w=(e_m_ratio)*B_o\n",
+ "V_c=((e_m_ratio)*B_o**2*b**2*(1-(a/b)**2)**2)/8\n",
+ "B_c=math.sqrt(8*V_o/e_m_ratio)/((1-(a/b)**2)*(b)) #in weber/m**2\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Cyclotron angular frequency( in rad/s) =',round(w,4)\n",
+ "print 'Cut-off voltage (in volts) =',round(V_c,4)\n",
+ "print 'Cut-off magnetic flux density (in milli weber/sq. m) =',round(B_c*10**3,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cyclotron angular frequency( in rad/s) = 1759000000.0\n",
+ "Cut-off voltage (in volts) = 7915.5\n",
+ "Cut-off magnetic flux density (in milli weber/sq. m) = 19.468\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.15 Page No : 362"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "n = 2.\n",
+ "V_o = 280. #in volts\n",
+ "I_o = 22.*10**-3 #in A\n",
+ "V_i = 30. #in volts\n",
+ "J = 1.25 #J(X')\n",
+ "\n",
+ "#calculations\n",
+ "P_dc = V_o*I_o\n",
+ "P_ac = 2*V_o*I_o*J/(2*n*math.pi-math.pi/2)\n",
+ "eff = (P_ac/P_dc)*100\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Input power (in watts) =',round(P_dc,4)\n",
+ "print 'Output power (in watts) =',round(P_ac,4)\n",
+ "print 'Efficiency (in percent) =',round(eff,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Input power (in watts) = 6.16\n",
+ "Output power (in watts) = 1.4006\n",
+ "Efficiency (in percent) = 22.7364\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.16 Page No : 367"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "e_m_ratio = 1.759*10**11 #(e/m)\n",
+ "V_o = 300 #in volts\n",
+ "R_sh = 20*10**3 #in ohms\n",
+ "f = 8*10**9 #inHz\n",
+ "#calculations\n",
+ "w = 2*math.pi*f\n",
+ "n = 2 #mode\n",
+ "L = 0.001 #spacing between repeller & cavity (in m)\n",
+ "x = (e_m_ratio)*(2*math.pi*n-math.pi/2)**2/(8*w**2*L**2)\n",
+ "volt_diff = math.sqrt(V_o/(x))\n",
+ "V_r = (volt_diff)+V_o #repeller volatge\n",
+ "J = 0.582\n",
+ "V_1 = 200 #given (in volts)\n",
+ "I_o = V_1/(R_sh*2*J)\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Repeller voltage(in volts) =',round(V_r,4)\n",
+ "print 'Necessary beam current (in milliAmp.s) =',round(I_o*10**3,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Repeller voltage(in volts) = 833.9796\n",
+ "Necessary beam current (in milliAmp.s) = 8.5911\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch9_1.ipynb b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch9_1.ipynb
new file mode 100644
index 00000000..975d0f7d
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/ch9_1.ipynb
@@ -0,0 +1,326 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:512dac66811a3f49aa4547133f350721d7f8293f683c8b2dac1cf4662066ad2e"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 9 : Solid State Microwave Devices"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.1 Page No : 387"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "v_d = 10**7*10**-2 #drift velocity(in m/s)\n",
+ "L = 2.*10**-6 #drift length(in m)\n",
+ "\n",
+ "#calculations\n",
+ "f = v_d/(2*L) #in Hz\n",
+ "#---output---#\n",
+ "print 'Operating Frequency (in GHz) =',round(f/10**9,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Operating Frequency (in GHz) = 25.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.2 Page No : 392"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "f=10*10**9 #in Hz\n",
+ "L=75*10**-6 #Device length (in m)\n",
+ "V=25. #Voltage pulse amplified (in volts)\n",
+ "\n",
+ "#calculations\n",
+ "E_th=V/L\n",
+ "#---output---#\n",
+ "print 'Threshold Electric field (in kV/cm) =',round(E_th,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Threshold Electric field (in kV/cm) = 333333.3333\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.3 Page No : 399"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "f_s = 2*10**9 #in Hz\n",
+ "f_p = 12*10**9 #in Hz\n",
+ "R_i = 16\n",
+ "R_s = 1000\n",
+ "#calculations\n",
+ "A_p = 10*math.log((f_p-f_s)/f_s)\n",
+ "A_p_usb = 10*math.log((f_p+f_s)/f_s)\n",
+ "#---output---#\n",
+ "print 'Power gain (in dB) =',round(math.log(10),4)\n",
+ "print 'Power gain as USB converter (in dB) =',round(A_p_usb,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power gain (in dB) = 2.3026\n",
+ "Power gain as USB converter (in dB) = 19.4591\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.4 Page No : 405"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "E_s = 12.5\n",
+ "E_o = 8.85*10**-12\n",
+ "N = 3.2*10**22 #per cubic meter\n",
+ "L = 8*10**-6 #in m\n",
+ "q = 1.6*10**-19 #in coulombs\n",
+ "#calculations\n",
+ "E = E_o*E_s\n",
+ "V_c = q*N*L**2/(2*E)\n",
+ "V_bd = 2*V_c\n",
+ "E_bd = V_bd/L\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Critical voltage(in kV) =',round(V_c/10**3,4)\n",
+ "print 'Breakdown Voltage (in kV) =',round(V_bd/10**3,4)\n",
+ "print 'Breakdown Electric field (in V/cm) =',round(E_bd,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Critical voltage(in kV) = 1.481\n",
+ "Breakdown Voltage (in kV) = 2.9621\n",
+ "Breakdown Electric field (in V/cm) = 370259887.006\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.5 Page No : 411"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "N_a = 2.5*10**16 #per cubic cm\n",
+ "J = 33 #in kA/cm**2\n",
+ "q = 1.6*10**-19\n",
+ "\n",
+ "#calculations\n",
+ "V_z = J/(q*N_a) #Avalanche zone velocity (in cm/s)\n",
+ "#---output---#\n",
+ "print 'Avalanche zone velocity (in cm/s) =',round(V_z,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Avalanche zone velocity (in cm/s) = 8250.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.6 Page No : 414"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ " \n",
+ "R_neg = 25 #in ohm\n",
+ "R_load = 50. #in ohm\n",
+ "\n",
+ "#calculations\n",
+ "G=((- abs(R_neg)-R_load)/(- abs(R_neg)+R_load))**2\n",
+ "#---output---#\n",
+ "print 'Power gain =',round(G,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power gain = 9.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.7 Page No : 422"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "\n",
+ "volt_grad = 3.3*10**3 #voltage gradient\n",
+ "L = 5*10**-4 #in drift length\n",
+ "\n",
+ "#calculations\n",
+ "V_min = volt_grad*L #in volts\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Minimum voltage needed (in Volts) =',round(V_min,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum voltage needed (in Volts) = 1.65\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.8 Page No : 430"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math \n",
+ "\n",
+ "v_d = 2.*10**7 #in cm/s\n",
+ "L = 20.*10**-4 #in cm\n",
+ "\n",
+ "#calculations\n",
+ "f = v_d/L\n",
+ "critical_field = 3.3*10**3\n",
+ "V = L*critical_field\n",
+ "\n",
+ "#---output---#\n",
+ "print 'Natural frequency (in GHz) =',round(f*10**-9,4)\n",
+ "print 'Critical voltage (in volts) =',round(V,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Natural frequency (in GHz) = 10.0\n",
+ "Critical voltage (in volts) = 6.6\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/3_1.png b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/3_1.png
new file mode 100644
index 00000000..e3686eef
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/3_1.png
Binary files differ
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/5_1.png b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/5_1.png
new file mode 100644
index 00000000..26328bb3
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/5_1.png
Binary files differ
diff --git a/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/9_1.png b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/9_1.png
new file mode 100644
index 00000000..eabc693d
--- /dev/null
+++ b/_Applied_Thermodynamics_and_Engineering _by_T._D._Eastop_and_A._Mcconkey/screenshots/9_1.png
Binary files differ
diff --git a/dss_by_asd/README.txt b/dss_by_asd/README.txt
new file mode 100644
index 00000000..6e111d12
--- /dev/null
+++ b/dss_by_asd/README.txt
@@ -0,0 +1,10 @@
+Contributed By: Asmita Bhat
+Course: msc
+College/Institute/Organization: sdf
+Department/Designation: sdf
+Book Title: dss
+Author: asd
+Publisher: sdf
+Year of publication: 3
+Isbn: 3
+Edition: 3 \ No newline at end of file
diff --git a/dss_by_asd/namratha.ipynb b/dss_by_asd/namratha.ipynb
new file mode 100644
index 00000000..a3461ece
--- /dev/null
+++ b/dss_by_asd/namratha.ipynb
@@ -0,0 +1,907 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# #Chapter 3:Magnetic Circuits"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# #Example 3.1:Page number-158\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The reluctance of steel ring is= 1250000.0 AT/Wb\n",
+ "The magnetomotive force is= 625.0 AT\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "pi=3.14\n",
+ "l=pi*0.2 #l=mean length of the ring=pi*mean diameter of the ring\n",
+ "A=400*10**-6 #A=cross sectional area of ring\n",
+ "u1=1000 #u1=relative permeability of steel\n",
+ "u2=4*pi*10**-7 #relative permeability of air\n",
+ "\n",
+ "R=l/(A*u1*u2) #reluctance of steel ring\n",
+ "\n",
+ "print \"The reluctance of steel ring is=\",round(R,0),\"AT/Wb\"\n",
+ "\n",
+ "#case b\n",
+ "\n",
+ "flux=500*10**-6\n",
+ "f=flux*R\n",
+ "\n",
+ "print \"The magnetomotive force is=\",round(f,0),\"AT\"\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# #Example 3.2:Page number-158"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The flux density is= 0.625 Wb/m**2\n",
+ "The magnetomotive force is= 375.0 AT\n",
+ "The magnetic field strength is= 750.0 AT/m\n",
+ "The relative permeability is= 663.0\n",
+ "The flux density is= 1.5 Wb/m**2\n",
+ "The magnetomotive force is= 1250.0 AT\n",
+ "Magnetic field strength= 2500.0 AT/m\n",
+ "The relative permeability is= 477.7\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "l=0.5\n",
+ "A=4*10**-4\n",
+ "N=250\n",
+ "I=1.5\n",
+ "flux=0.25*10**-3\n",
+ "fluxdensity=flux/A \n",
+ "\n",
+ "f=N*I #magnetomotive force\n",
+ "\n",
+ "H=(N*I)/l #magnetic field strength\n",
+ "\n",
+ "pi=3.14\n",
+ "u1=4*pi*10**-7\n",
+ "u2=fluxdensity/(u1*H)\n",
+ "\n",
+ "print \"The flux density is=\",round(fluxdensity,3),\"Wb/m**2\"\n",
+ "print \"The magnetomotive force is=\",round(f,0),\"AT\"\n",
+ "print \"The magnetic field strength is=\",round(H,0),\"AT/m\"\n",
+ "print \"The relative permeability is=\",round(u2,0)\n",
+ "\n",
+ "#case b\n",
+ "\n",
+ "#given\n",
+ "I=5\n",
+ "flux=0.6*10**-3\n",
+ "A=4*10**-4\n",
+ "N=250\n",
+ "l=0.5\n",
+ "\n",
+ "fluxdensity=flux/A\n",
+ "\n",
+ "print \"The flux density is=\",round(fluxdensity,1),\"Wb/m**2\"\n",
+ "\n",
+ "f=N*I #magnetomotive force\n",
+ "\n",
+ "print \"The magnetomotive force is=\",round(f,0),\"AT\"\n",
+ "\n",
+ "H=(N*I)/l #magnetic field stength\n",
+ "\n",
+ "print \"Magnetic field strength=\",round(H,0),\"AT/m\"\n",
+ "pi=3.14\n",
+ "u1=4*pi*10**-7\n",
+ "u2=fluxdensity/(u1*H)\n",
+ "\n",
+ "print \"The relative permeability is=\",round(u2,1)\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.3: Page number-159"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Magnetomotive force= 1250.0 AT\n",
+ "The reluctance of air gap is= 162154.449 AT/Wb\n",
+ "The flux is= 0.006475308 Wb\n",
+ "The flux density is= 13.188 Wb/m**2\n",
+ "The reluctance of steel string is= 69494.763801 AT/Wb\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "pi=3.14\n",
+ "ls=0.627 #mean length of steel string\n",
+ "\n",
+ "la=0.0001 #length of air gap\n",
+ "\n",
+ "A=4.91*10**-4 #cross sectional area of magnetic circuit\n",
+ "\n",
+ "f=N*I #magnetomotive force\n",
+ "print \"Magnetomotive force=\",round(f,0),\"AT\"\n",
+ "\n",
+ "fa=1050 #fa=mmf of air gap=1050AT\n",
+ "\n",
+ "fs=450 #fs=mmf of steel ring=450\n",
+ "\n",
+ "#case b\n",
+ "\n",
+ "u1=4*pi*10**-7\n",
+ "ra=la/(u1*A) #reluctance of air gap\n",
+ "\n",
+ "print \"The reluctance of air gap is=\",round(ra,3),\"AT/Wb\"\n",
+ "\n",
+ "flux=fa/ra\n",
+ "\n",
+ "print \"The flux is= \",round(flux,20),\"Wb\"\n",
+ "\n",
+ "\n",
+ "#case c\n",
+ "\n",
+ "fluxdensity=flux/A\n",
+ "\n",
+ "print \"The flux density is=\",round(fluxdensity,5),\"Wb/m**2\"\n",
+ "\n",
+ "#case d\n",
+ "\n",
+ "rs=fs/flux #reluctance of steel string\n",
+ "\n",
+ "print \"The reluctance of steel string is=\",round(rs,6),\"AT/Wb\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.4: Page number-160"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The air gap= 955414.01274 AT/m\n",
+ "The magnetomotive force is= 5.0 AT\n",
+ "hs= 1061.57 AT/m\n",
+ "The magnetomotive force for air gap is= 318.47 AT\n",
+ "Total mmf= 323.47 AT\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "la=2*10**-3 #length of the air gap\n",
+ "ls=0.3 #lentgh of the cast steel core\n",
+ "B=1.2\n",
+ "\n",
+ "ha=B/u1\n",
+ "\n",
+ "print \"The air gap=\",round(ha,5),\"AT/m\"\n",
+ "\n",
+ "fa=H*la #magnetomotive ofrce for air gap\n",
+ "\n",
+ "print \"The magnetomotive force is=\",round(fa,0),\"AT\"\n",
+ "\n",
+ "u2=900\n",
+ "hs=B/(u1*u2)\n",
+ "\n",
+ "print \"hs=\",round(hs,2),\"AT/m\"\n",
+ "\n",
+ "fs=hs*ls #magnetomotive force for air gap\n",
+ "\n",
+ "print \"The magnetomotive force for air gap is=\",round(fs,2),\"AT\"\n",
+ "\n",
+ "totmmf=fa+fs\n",
+ "\n",
+ "print \"Total mmf=\",round(totmmf,2),\"AT\"\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.5-Page number-161 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "flux density is= 2.15844 mWb/m**2\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "f=200 #total mmf\n",
+ "#ra=2*10**-3/(u1*a) #reluctance of air gap\n",
+ "#ri=10**-3/(u1*a) #reluctance of iron core\n",
+ "#r=3*10**-3/(u1*a) #reluctance of magnetic circuit\n",
+ "\n",
+ "#flux=f/r\n",
+ "\n",
+ "a=3*10**-3\n",
+ "fluxdensity=flux/a\n",
+ "\n",
+ "print \"flux density is=\",round(fluxdensity,5),\"mWb/m**2\"\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.6-Page number-161"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The relucatance of air gap is= 497611.464968 AT/wb\n",
+ "The flux density in central limb is= 0.1125 Wb/m**2\n",
+ "The mmf drop in central limb is= 300.0 AT\n",
+ "fabh= 500.0 AT\n",
+ "The total mmf required is= 1695.0 AT\n",
+ "The required current is= 2.825 A\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "fluxa=0.00018 #flux in the air gap\n",
+ "la=0.1*10**-2 #length of the air gap\n",
+ "ac=16*10**-4 #area of cross section\n",
+ "u1=4*3.14*10**-7\n",
+ "\n",
+ "ra=la/(u1*ac) #reluctance of the air gap\n",
+ "\n",
+ "print \"The relucatance of air gap is=\",round(ra,10),\"AT/wb\"\n",
+ "\n",
+ "#fa=fluxa*ra #mmf required to set up flux in air gap\n",
+ "\n",
+ "#print \"The mmf required to set up flux in air gap is=\",round(fa,10),\"AT\" --> This rounds to 895\n",
+ "\n",
+ "fa=895\n",
+ "\n",
+ "B=fluxa/ac #flux density in central limb\n",
+ "\n",
+ "print \"The flux density in central limb is=\",round(B,10),\"Wb/m**2\"\n",
+ "\n",
+ "#given from B-H curve, when B=1.125 the field density required is hc=1000 AT/m\n",
+ "#given\n",
+ "\n",
+ "hc=1000 #as above\n",
+ "\n",
+ "lc=30*10**-2 #length of central limb\n",
+ "\n",
+ "fc=hc*lc #mmf drop in central limb\n",
+ "\n",
+ "print \"The mmf drop in central limb is=\",round(fc,0),\"AT\"\n",
+ "\n",
+ "#from the diagram the flux density in parallel path fabh is flux(a)/2 =0.5625 Wb/m**2 and field intensity H=625 AT/m\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "lp=80*10**-2 #length of parallel path\n",
+ "\n",
+ "H=625 #from above\n",
+ "\n",
+ "fabh=H*lp\n",
+ "\n",
+ "print \"fabh=\",round(fabh,0),\"AT\"\n",
+ "\n",
+ "F=fa+fc+fabh\n",
+ "\n",
+ "print \"The total mmf required is=\",round(F,0),\"AT\"\n",
+ "\n",
+ "#given\n",
+ "N=600 #number of turns\n",
+ "I=F/N\n",
+ "\n",
+ "print \"The required current is=\",round(I,5),\"A\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.7:Page number-163"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "B= 0.7 Wb/m**2\n",
+ "mmf= 111.4 AT\n",
+ "totmmf= 223.85 AT\n",
+ "h2= 298.46667 AT\n",
+ "flux2= 0.0014 Wb\n",
+ "total mmf in fabc= 2250.0 Wb/m**2\n",
+ "totmmfm= 2473.85 AT\n",
+ "The total current required to set up flux in air gap is= 4.9477 A\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "fluxa=1.4*10**-3\n",
+ "area=0.002\n",
+ "\n",
+ "B=fluxa/area #flux density in air gap \n",
+ "\n",
+ "print \"B=\",round(B,3),\"Wb/m**2\"\n",
+ "\n",
+ "#u1=4*3.14*10**-7\n",
+ "#ha=B/u1 in AT/m #magnetic field in air gap\n",
+ "ha=55.7\n",
+ "\n",
+ "la=2 #length of air gap in m\n",
+ "mmf=ha*la #mmf of air gap\n",
+ "print \"mmf=\",round(mmf,3),\"AT\"\n",
+ "\n",
+ "#since the flux density of central limb is 0.7 the corresponding field srength is h1=250AT/m\n",
+ "h1=250\n",
+ "mmfl=112.45 #mmf for magnetic central limb-->mmf=250*(450-0.2)*10**-3\n",
+ "\n",
+ "totmmf=mmf+mmfl\n",
+ "\n",
+ "print \"totmmf=\",round(totmmf,5),\"AT\"\n",
+ "\n",
+ "#mean length of core CGHF=0.75m\n",
+ "\n",
+ "ml=0.75 #as above\n",
+ "\n",
+ "#since the central limb and magnetic core are in parallel they have same mmf that is 223.86AT\n",
+ "\n",
+ "\n",
+ "h2=totmmf/ml #magnetic intensity in CGHF\n",
+ "\n",
+ "print \"h2=\",round(h2,5),\"AT\"\n",
+ "\n",
+ "flux2=B*area \n",
+ "print \"flux2=\",round(flux2,5),\"Wb\"\n",
+ "\n",
+ "totflux=fluxa+flux2 #Wb\n",
+ "Bfabc=totflux/area #flux density in magnetic core fabc in Wb/m**2\n",
+ "\n",
+ "H=3000 #AT/m\n",
+ "totmmffabc=H*ml #total mmf in fabc in AT\n",
+ "print \"total mmf in fabc=\",round(totmmffabc,5),\"Wb/m**2\"\n",
+ "\n",
+ "totmmfm=totmmffabc+totmmf #total mmf in magnetic core in AT\n",
+ "\n",
+ "print \"totmmfm=\",round(totmmfm,5),\"AT\"\n",
+ "\n",
+ "N=500\n",
+ "I=totmmfm/N #The required current to set up flux in air gap\n",
+ "\n",
+ "print \"The total current required to set up flux in air gap is=\",round(I,5),\"A\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "collapsed": true
+ },
+ "source": [
+ "# Example 3.8:Page number-171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "l1= 0.004 mH\n",
+ "m12= 0.003 mH\n",
+ "l2= 0.006 mH\n",
+ "m21= 0.003 mH\n",
+ "Work done= 7.7 J\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "r1=3.98*10**6 #reluctance of air gap in AT/Wb and the value is same for r2\n",
+ "r3=5.97*10**6 #reluctance of air gap in AT/Wb\n",
+ "\n",
+ "#assume that current of 1A flows through 150 turns coil,for assumed directions of fluxes application of mesh current leads to matrix equations that can be simplified to:\n",
+ "#[flux1 flux2]=[2.36 1.41]*10**-5 Wb\n",
+ "\n",
+ "#The self inductance and mutual inductance are obtained as follows:\n",
+ "\n",
+ "n1=150 #number of turns\n",
+ "i1=1 #A\n",
+ "flux1=2.36*10**-5 #Wb\n",
+ "l1=(n1*flux1)/i1 #self inductance\n",
+ "\n",
+ "print \"l1=\",round(l1,3),\"mH\"\n",
+ "\n",
+ "n2=200 #number of turns\n",
+ "flux2=1.41*10**-5\n",
+ "m12=(n2*flux2)/i1 #mutual inductance\n",
+ "\n",
+ "print \"m12=\",round(m12,3),\"mH\"\n",
+ "\n",
+ "#assume that 1A of current flows through 200 turns coil\n",
+ "#The self inductance of the coil is determined as above using the matrix and the result is as follows\n",
+ "#[flux1 flux2]=[1.89 3.14]*10**-5 Wb\n",
+ "#Hence self and mutual inductance are computed as follows\n",
+ "\n",
+ "n2=200 #number of turns\n",
+ "flux2=3.14*10**-5 #Wb\n",
+ "i2=1 #A\n",
+ "l2=(n2*flux2)/i2 #self inductance\n",
+ "\n",
+ "print \"l2=\",round(l2,3),\"mH\"\n",
+ "\n",
+ "flux1=1.89*10**-5\n",
+ "m21=(n1*flux1)/i2 #mutual inductance\n",
+ "print \"m21=\",round(m21,3),\"mH\"\n",
+ "\n",
+ "#case b\n",
+ "#When the air gap l3 is closed the reluctance of the limb is zero since the permeability of the magnetic material is infinity.Thus,the limb behaves like short circuit and the entire flux passes through it.Thus,the flux linking 200 turns coil is zero and mutual inductance is zero\n",
+ "\n",
+ "#case 3\n",
+ "\n",
+ "W=((3.5)/2)+((6.3)/2)+2.8 #work equation in joules\n",
+ "print \"Work done=\",round(W,5),\"J\"\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.9:Page number-174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "i= 7.85 A\n",
+ "l= 0.20382 H\n",
+ "rair= 3184713.3758 AT/Wb\n",
+ "fair= 6369.42675 AT\n",
+ "total mmf= 12602.60675 AT\n",
+ "L= 0.10157 H\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "\n",
+ "B=0.8 #Wb/m**2\n",
+ "A=25*10**-4 #m**2\n",
+ "flux=20*10**-4 #Wb\n",
+ "l=3.14*40*10**-2 #m\n",
+ "f=2000*3.14 #AT\n",
+ "n=800 #number of turns\n",
+ "\n",
+ "#case a\n",
+ "i=f/n #A exciting current\n",
+ "\n",
+ "print \"i=\",round(i,3),\"A\"\n",
+ "\n",
+ "l=(n*flux)/i #self inductance in H\n",
+ "\n",
+ "print \"l=\",round(l,5),\"H\"\n",
+ "\n",
+ "#case b\n",
+ "\n",
+ "fluxa=20*10**-4 #Wb\n",
+ "\n",
+ "gap=1*10**-2\n",
+ "u1=4*3.14*10**-7\n",
+ "rair=gap/(u1*A) #reluctance of air in AT/Wb\n",
+ "\n",
+ "print \"rair=\",round(rair,5),\"AT/Wb\"\n",
+ "\n",
+ "fair=rair*flux #mmf for air gap in AT\n",
+ "\n",
+ "print \"fair=\",round(fair,5),\"AT\"\n",
+ "\n",
+ "fcore=6233.18 #AT--> 5000*((0.4*3.14)-0.01)=6233.18\n",
+ "\n",
+ "totmmf=fcore+fair\n",
+ "\n",
+ "print \"total mmf=\",round(totmmf,5),\"AT\"\n",
+ "\n",
+ "I=totmmf/n #A exciting current\n",
+ "\n",
+ "#self inductance\n",
+ "L=(n*flux)/I\n",
+ "print \"L=\",round(L,5),\"H\"\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.10:Page number-175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "lx= 0.01 H\n",
+ "m= 0.015 H\n",
+ "The induced emf in coil Y= 30.0 V\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "n=2000 #number of turns\n",
+ "flux=0.05*10**-3 #Wb\n",
+ "i=10 #A\n",
+ "\n",
+ "lx=(n*flux)/i #self inductance in X\n",
+ "\n",
+ "print \"lx=\",round(lx,5),\"H\"\n",
+ "\n",
+ "#since coils are identical self inductance in Y=self inductance in x\n",
+ "\n",
+ "fluxlinkingX=0.75*0.05*10**-3 #Wb flux linking due to current in coil X\n",
+ "fluxlinkingY=2000*0.05*0.75*10**-3 #Wb flux linkages in coil Y\n",
+ "\n",
+ "m=fluxlinkingY/5 #mutual inductance\n",
+ "\n",
+ "print \"m=\",round(m,5),\"H\"\n",
+ "\n",
+ "#The rate of change in current di/dt=2000A/sec --> di/dt=(10-(-10))/0.01\n",
+ "\n",
+ "rate=2000\n",
+ "ey=m*rate\n",
+ "\n",
+ "print \"The induced emf in coil Y=\",round(ey,0),\"V\"\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.11:Page number-175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "k=0.72168\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "#when currents are in same direction the total induction is:\n",
+ "#lt=l1+l2+2m\n",
+ "#when currents are in opposite direction the total emf is:\n",
+ "#lt=l1+l2-2m\n",
+ "#According to this problem\n",
+ "#l1+l2+2m=1.2\n",
+ "#l1+l2-2m=0.2\n",
+ "#Solving the above equations we get l1=0.4H M=0.25H\n",
+ "#on substituting we get l2=0.3H\n",
+ "#k=m/squareroot(l1*l2)\n",
+ "print \"k=0.72168\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.12:Page number-176"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "flux 0.0001 Wb\n",
+ "i 0.3125 A\n",
+ "l= 0.08 H\n",
+ "w= 0.00391 J\n",
+ "796.178343949\n",
+ "exciting current= 6.3 A\n",
+ "l= 0.00397 H\n",
+ "e= 0.07881 J\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "#case a\n",
+ "B=1 #Wb/m**2\n",
+ "A=10**-4 #cm**2\n",
+ "per=800 #permeability\n",
+ "n=250 #number of turns\n",
+ "\n",
+ "flux=B*A\n",
+ "\n",
+ "print \"flux\",round(flux,5),\"Wb\"\n",
+ "\n",
+ "r=781250 #AT/Wb calculated using formula for reluctance\n",
+ "\n",
+ "mmf=flux*r #AT\n",
+ "\n",
+ "i=mmf/n #exciting current required in A\n",
+ "\n",
+ "print \"i\",round(i,5),\"A\"\n",
+ "\n",
+ "l=(n*flux)/i #self inductance of the coil\n",
+ "\n",
+ "print \"l=\",round(l,5),\"H\"\n",
+ "\n",
+ "w=(l*i*i)/2 #energy stored\n",
+ "\n",
+ "print \"w=\",round(w,5),\"J\"\n",
+ "\n",
+ "#case b\n",
+ "\n",
+ "airgap=1*10**-3 #air gap is assumed \n",
+ "rair=airgap/(u1*A) #reluctance of air gap in AT/Wb\n",
+ "mmfa=flux*rair #mmf of air in AT\n",
+ "print mmfa\n",
+ "#rcore=((2.5*3.14)-0.1)/(32*3.14*10**-6) #reluctance of core \n",
+ "#mmfc=flux*rcore\n",
+ "mmfc=780 #AT\n",
+ "F=mmfc+mmfa\n",
+ "\n",
+ "I=F/n #A\n",
+ "\n",
+ "print \"exciting current=\",round(I,2),\"A\"\n",
+ "\n",
+ "n=250 #number of turns\n",
+ "L=(n*flux)/I #self inductanc eof coil with air gap \n",
+ "\n",
+ "print \"l=\",round(L,5),\"H\"\n",
+ "\n",
+ "e=(L*I*I)/2 #energy stored in coil\n",
+ "\n",
+ "print \"e=\",round(e,5),\"J\"\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Example 3.13:Page number:178"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 16,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "force= 39808.9172 N\n",
+ "W= 796.17834 J\n"
+ ]
+ }
+ ],
+ "source": [
+ "import math\n",
+ "\n",
+ "#given\n",
+ "A=10**-1 #area\n",
+ "flux=0.1 #Wb\n",
+ "\n",
+ "#case a\n",
+ "\n",
+ "B=flux/A #flux density Wb/m**2\n",
+ "\n",
+ "u1=4*3.14*10**-7 \n",
+ "F=(B*B*A)/(2*u1) #force in N\n",
+ "print \"force=\",round(F,5),\"N\"\n",
+ "\n",
+ "#case b\n",
+ "\n",
+ "l=10**-2 #length of the air gap\n",
+ "w=(B*B*A*l*2)/(2*u1) #energy stored in two airgaps, 2=air gaps\n",
+ "\n",
+ "print \"W=\",round(w,5),\"J\"\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+ "source": []
+ }
+ ],
+ "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.6"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/dss_by_asd/screenshots/screenshot2.png b/dss_by_asd/screenshots/screenshot2.png
new file mode 100644
index 00000000..c8801e74
--- /dev/null
+++ b/dss_by_asd/screenshots/screenshot2.png
Binary files differ
diff --git a/dss_by_asd/screenshots/screenshot4.png b/dss_by_asd/screenshots/screenshot4.png
new file mode 100644
index 00000000..d280cd21
--- /dev/null
+++ b/dss_by_asd/screenshots/screenshot4.png
Binary files differ
diff --git a/dss_by_asd/screenshots/streamplot.png b/dss_by_asd/screenshots/streamplot.png
new file mode 100644
index 00000000..7f01b676
--- /dev/null
+++ b/dss_by_asd/screenshots/streamplot.png
Binary files differ
diff --git a/sample_notebooks/RaviGarg/chap1.ipynb b/sample_notebooks/RaviGarg/chap1.ipynb
new file mode 100644
index 00000000..36a74a3e
--- /dev/null
+++ b/sample_notebooks/RaviGarg/chap1.ipynb
@@ -0,0 +1,462 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1a5424f1a289fa2ea02065679fbda8bfa43c7eec69070520139086e97a973104"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 Coulombs Law"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q=-3*10**-7 #C\n",
+ "e=-1.6*10**-19 #C\n",
+ "\n",
+ "#Calculation\n",
+ "n=q/e\n",
+ "\n",
+ "#Result\n",
+ "print\"Number of electrons transferred from wool to polythene is\", n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of electrons transferred from wool to polythene is 1.875e+12\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "m=3.11 #g\n",
+ "Z=29\n",
+ "A=63.5 \n",
+ "N=6.023*10**23\n",
+ "e=1.6*10**-19\n",
+ "\n",
+ "#Calculation\n",
+ "n=(N*m)/A\n",
+ "n1=n*Z\n",
+ "q=n1*e\n",
+ "\n",
+ "#Result\n",
+ "print\"Total positive or negative charge is\", round(q*10**-5,2),\"*10**5 C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total positive or negative charge is 1.37 *10**5 C\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=2*10**-7\n",
+ "q2=3*10**-7\n",
+ "r=0.3 #m\n",
+ "a=9*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "F=(a*q1*q2)/r**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Force between two small charged spheres is\", F*10**3,\"*10**-3\",\"N(repulsive\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Force between two small charged spheres is 6.0 *10**-3 N(repulsive\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 page no. 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "F=3.7*10**-9 #N\n",
+ "r=5*10**-10 #m\n",
+ "a=9*10**9\n",
+ "q1=1.6*10**-19\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "n=math.sqrt(F*r**2/(a*q1**2))\n",
+ "\n",
+ "#Result\n",
+ "print\"number of electrons is\", round(n,0)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "number of electrons is 2.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.5 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=0.4*10**-6 #C\n",
+ "q2=0.8*10**-6 #C\n",
+ "F12=0.2 #N\n",
+ "a=9.0*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "r=math.sqrt((a*q1*q2)/F12)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Distance between two spheres is\", r,\"m\"\n",
+ "print\"(b) Force on charge q2 due to q1 is\",F12,\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Distance between two spheres is 0.12 m\n",
+ "(b) Force on charge q2 due to q1 is 0.2 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=5*10**-8 #C\n",
+ "m1=8*10**-3 #Kg\n",
+ "a=9*10**9\n",
+ "r=0.05 #m\n",
+ "\n",
+ "#Calculation\n",
+ "q2=m1*9.8*r**2/(a*q1)\n",
+ "\n",
+ "#Result\n",
+ "print\"Charge q2 is\", round(q2*10**7,2)*10**-7,\"C(positive)\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charge q2 is 4.36e-07 C(positive)\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.7 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=6.5*10**-7 #C\n",
+ "q2=6.5*10**-7\n",
+ "r=0.5 #m\n",
+ "a=9*10**9\n",
+ "K=80.0\n",
+ "\n",
+ "#Calculation\n",
+ "Fair=a*q1*q2/r**2\n",
+ "r1=0.5/2.0\n",
+ "F1=a*4*q1*q2/r1**2\n",
+ "Fwater=Fair/K\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Mutual force of electrostatic repulsion is\", Fair*10**2,\"*10**-2 N\"\n",
+ "print\"(b) (i) Force of repulsion is\", round(F1,4),\"N\"\n",
+ "print \"(ii) Force of repulsion is\",round(Fwater*10**4,1),\"*10**-4 N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Mutual force of electrostatic repulsion is 1.521 *10**-2 N\n",
+ "(b) (i) Force of repulsion is 0.2434 N\n",
+ "(ii) Force of repulsion is 1.9 *10**-4 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 57
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=6.5*10**-7 #C\n",
+ "r=0.05 #m\n",
+ "a=9*10**9\n",
+ "r1=0.5\n",
+ "\n",
+ "#Calculation\n",
+ "q11=q1/2.0\n",
+ "q21=(q1+q11)/2.0\n",
+ "F=(a*q11*q21)/r1**2\n",
+ "\n",
+ "#Result\n",
+ "print\"New force of repulsion between A and B is\", round(F*10**3,3),\"*10**-3 N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "New force of repulsion between A and B is 5.704 *10**-3 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 64
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.10 Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=9.0*10**9\n",
+ "r=0.2\n",
+ "m=9.8*10**-3\n",
+ "a1=0.1\n",
+ "a2=0.5\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "a11=m*(a1/(math.sqrt(a2**2-a1**2)))\n",
+ "q=math.sqrt((a11*r**2)/a)\n",
+ "\n",
+ "#Result\n",
+ "print\"Charge on each ball is\", round(q*10**8,2)*10**-6,\"C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charge on each ball is 9.43e-06 C\n"
+ ]
+ }
+ ],
+ "prompt_number": 100
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.12 Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "qa=10**-5 #C\n",
+ "qb=5*10**-6 #C\n",
+ "qc=-5*10**-6 #C\n",
+ "r=0.1 #m\n",
+ "a=9*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Fab=(a*qa*qb)/r**2\n",
+ "Fac=Fab\n",
+ "F=math.sqrt(Fab**2+Fac**2+(2*Fab*Fac*math.cos(120*3.14/180.0)))\n",
+ "\n",
+ "#Result\n",
+ "print\"Resultant force is\", round(F,0),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resultant force is 45.0 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.13 Page no 15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "qa=1\n",
+ "qb=100\n",
+ "ab=10\n",
+ "a=9*10**9\n",
+ "qd=75\n",
+ "a1=5\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Fab=(a*qa*qb)/ab**2\n",
+ "Fac=Fab\n",
+ "Fac1=(a*qa*qd)/(ab**2-a1**2)\n",
+ "Fx=Fab*math.cos(60*3.14/180.0)+Fac1*math.cos(60*3.14/180.0)\n",
+ "Fy=Fac\n",
+ "F=math.sqrt(Fx**2+Fy**2)\n",
+ "B=Fy/Fx\n",
+ "B1=math.atan(B)*180/3.14\n",
+ "\n",
+ "#Result\n",
+ "print\"Resultant force on charge qa is inclined at\", round(B1,0),\"Degree\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resultant force on charge qa is inclined at 45.0 Degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file