diff options
Diffstat (limited to 'Basic_Electronics_and_Linear_Circuits/ch11.ipynb')
-rw-r--r-- | Basic_Electronics_and_Linear_Circuits/ch11.ipynb | 199 |
1 files changed, 199 insertions, 0 deletions
diff --git a/Basic_Electronics_and_Linear_Circuits/ch11.ipynb b/Basic_Electronics_and_Linear_Circuits/ch11.ipynb new file mode 100644 index 00000000..5477acbd --- /dev/null +++ b/Basic_Electronics_and_Linear_Circuits/ch11.ipynb @@ -0,0 +1,199 @@ +{
+ "metadata": {
+ "name": "Ch 11"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11: Tuned Voltage mplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 11.1 Page No.374"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 11.1\n",
+ "# (a)\n",
+ "#Calculate Resonant Frequency of the given Circuit\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "C=300*10**(-12) #F, capacitance\n",
+ "L=220*10**(-6) #H, inductance\n",
+ "R=20.0 #Ohms, resistance\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "fr=1/(2*math.pi*math.sqrt(L*C)) #resonant frequency\n",
+ "#result\n",
+ "print \" The Resonant Frequency, fr = \",round(fr/10**3,0),\"khz\"\n",
+ "\n",
+ "#(b) find The Impedance at Resonance\n",
+ "#Calculation\n",
+ "Rr=R\n",
+ "#result\n",
+ "print \" The Impedance at Resonance, Rr = \",Rr,\"ohm\"\n",
+ "\n",
+ "#(c) find The Current at Resonance\n",
+ "V=10.0 #V, voltage\n",
+ "#Calculation\n",
+ "I=V/R\n",
+ "#result\n",
+ "print \" The Current at Resonance, I = \",I,\"A\"\n",
+ "\n",
+ "#(d)\n",
+ "#Calculation\n",
+ "fr=1/(2*math.pi*math.sqrt(L*C))\n",
+ "I=V/R\n",
+ "Xl=2*math.pi*fr*L #reactance of inductor\n",
+ "Vl=I*Xl # Voltage across the Inductance\n",
+ "Xc=1/(2*math.pi*fr*C) #reactance of capacitance\n",
+ "Vc=I*Xc # Voltage across the Capacitance,\n",
+ "Vr=I*R #Voltage across the Resistance\n",
+ "\n",
+ "#result\n",
+ "print \" Voltage across the Inductance, Vl = \",round(Vl,0),\"V\"\n",
+ "print \" Voltage across the Capacitance, Vc = \",round(Vc,0),\"V\"\n",
+ "print \" Voltage across the Resistance, Vr = \",round(Vr,0),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The Resonant Frequency, fr = 620.0 khz\n",
+ " The Impedance at Resonance, Rr = 20.0 ohm\n",
+ " The Current at Resonance, I = 0.5 A\n",
+ " Voltage across the Inductance, Vl = 428.0 V\n",
+ " Voltage across the Capacitance, Vc = 428.0 V\n",
+ " Voltage across the Resistance, Vr = 10.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 11.2 Page No.378"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 11.2\n",
+ "# Calculate fr, Il, Ic, Line Current & Impedance of\n",
+ "#the Resonant Circuit at Resonance\n",
+ "\n",
+ "#Given Circuit Data\n",
+ "C=100*10**(-12) #F\n",
+ "L=100*10**(-6) #H\n",
+ "R=10 #Ohms\n",
+ "V=100 #V\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "fr=1/(2*math.pi*math.sqrt(L*C)) #Hz, resonant frequency\n",
+ "Xl=2*math.pi*fr*L #ohm, inductive reactance\n",
+ "Il=V/Xl #A, current in inductive branch\n",
+ "Xc=1/(2*math.pi*fr*C) #ohm, capacitance reactance\n",
+ "Ic=V/Xc #A, current in capacitive branch \n",
+ "Zp=L/(R*C) #ohm , series impedance\n",
+ "I=V/Zp #A, line current\n",
+ "\n",
+ "#Result\n",
+ "print \"fr= \",round(fr/10**3,0),\"khz\"\n",
+ "print \"Il= \",Il,\"A\"\n",
+ "print \"Ic= \",Ic,\"A\"\n",
+ "print \"Zp= \",Zp,\"ohm\"\n",
+ "print \"I= \",I/10**(-3),\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "fr= 1592.0 khz\n",
+ "Il= 0.1 A\n",
+ "Ic= 0.1 A\n",
+ "Zp= 100000.0 ohm\n",
+ "I= 1.0 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 11.3 Page no. 379"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 11.3\n",
+ "# Calculate Impedance, Q and Bandwidth of the \n",
+ "#Resonant Circuit \n",
+ "\n",
+ "#Given Circuit Data\n",
+ "import math\n",
+ "C=100*10**(-12) #F, capacitance\n",
+ "L=150*10**(-6) #H, inductance\n",
+ "R=15 #Ohms, resistance\n",
+ "\n",
+ "#Calculation\n",
+ "fr=1/(2*math.pi*math.sqrt(L*C))\n",
+ "Zp=L/(R*C)\n",
+ "Q=2*math.pi*fr*L/R\n",
+ "df=fr/Q #Bandwidth\n",
+ "\n",
+ "#The Result\n",
+ "print \" Impedance, Zp= \",Zp/10**3,\"kohm\"\n",
+ "print \" Quality Factor, Q= \",round(Q,1)\n",
+ "print \" Bandwidth, df= \",round(df/10**3,2),\"khz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Impedance, Zp= 100.0 kohm\n",
+ " Quality Factor, Q= 81.6\n",
+ " Bandwidth, df= 15.92 khz\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |