summaryrefslogtreecommitdiff
path: root/electronic_instrumentation_by_H_S_Kalsi
diff options
context:
space:
mode:
Diffstat (limited to 'electronic_instrumentation_by_H_S_Kalsi')
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap10.ipynb138
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap10_1.ipynb138
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap11.ipynb1005
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap11_1.ipynb1005
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap12.ipynb95
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap12_1.ipynb95
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap13.ipynb405
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap13_1.ipynb405
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap14.ipynb143
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap14_1.ipynb143
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap15.ipynb428
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap15_1.ipynb426
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap16.ipynb58
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap16_1.ipynb58
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap17.ipynb78
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap17_1.ipynb78
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap20.ipynb129
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap20_1.ipynb129
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap7.ipynb94
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/Chap7_1.ipynb94
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/README.txt10
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap1.ipynb496
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap1_1.ipynb496
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap2.ipynb103
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap2_1.ipynb103
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap3.ipynb195
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap3_1.ipynb195
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap4.ipynb1235
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap4_1.ipynb1235
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap5.ipynb247
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/chap5_1.ipynb247
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/screenshots/image_1.pngbin0 -> 40209 bytes
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/screenshots/image_1_1.pngbin0 -> 40209 bytes
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/screenshots/image_2.pngbin0 -> 40181 bytes
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/screenshots/image_2_1.pngbin0 -> 40181 bytes
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/screenshots/image_3.pngbin0 -> 56130 bytes
-rwxr-xr-xelectronic_instrumentation_by_H_S_Kalsi/screenshots/image_3_1.pngbin0 -> 56130 bytes
37 files changed, 9706 insertions, 0 deletions
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap10.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap10.ipynb
new file mode 100755
index 00000000..b41e5bfd
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap10.ipynb
@@ -0,0 +1,138 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:09b7d26869b043c328670d7c0075696a10aa47c91999b0d80eca2e92e801eeab"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 Measuring instruments"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1 Page no 289"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=600 #pf\n",
+ "C2=100 #pf\n",
+ "f1=2 #MHz\n",
+ "f2=4 #MHz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Cs=(C1-4*C2)/3.0\n",
+ "L=1/(4*(math.pi)**2*f1**2*(C1+Cs))\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of distributed capacitance is \",round(Cs,2),\"pf\",\"and inductance is \",round(L*10**6,3),\"micro H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of distributed capacitance is 66.67 pf and inductance is 9.499 micro H\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2 Page no 290"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=500 #pf\n",
+ "C2=110 #pf2\n",
+ "f1=1 #MHz\n",
+ "f2=2 #MHz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Cs=(C1-4*C2)/3.0\n",
+ "L=1/(4*(math.pi)**2*f1**2*(C1+Cs))\n",
+ "\n",
+ "#Result\n",
+ "print\"The distributed capacitance is \",Cs ,\"pf\",\"and Value of L is \",round(L*10**6,3),\"micro H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The distributed capacitance is 20.0 pf and Value of L is 48.712 micro H\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.3 Page no 290"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f1=2 #MHz\n",
+ "C1=500 #pf\n",
+ "f2=6 #MHz\n",
+ "C2=50 #pf\n",
+ "\n",
+ "#Calculation \n",
+ "Cs=(C1-9*C2)/8.0\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of self capacitance is \", Cs,\"pf\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of self capacitance is 6.25 pf\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap10_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap10_1.ipynb
new file mode 100755
index 00000000..a5622574
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap10_1.ipynb
@@ -0,0 +1,138 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7d03652ecc470b7ccb201edf24672d9dd74a5f784da6cca21dd0403d0615224a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 Measuring Instruments"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1 Page no 289"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=600 #pf\n",
+ "C2=100 #pf\n",
+ "f1=2 #MHz\n",
+ "f2=4 #MHz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Cs=(C1-4*C2)/3.0\n",
+ "L=1/(4*(math.pi)**2*f1**2*(C1+Cs))\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of distributed capacitance is \",round(Cs,2),\"pf\",\"and inductance is \",round(L*10**6,3),\"micro H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of distributed capacitance is 66.67 pf and inductance is 9.499 micro H\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2 Page no 290"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=500 #pf\n",
+ "C2=110 #pf2\n",
+ "f1=1 #MHz\n",
+ "f2=2 #MHz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Cs=(C1-4*C2)/3.0\n",
+ "L=1/(4*(math.pi)**2*f1**2*(C1+Cs))\n",
+ "\n",
+ "#Result\n",
+ "print\"The distributed capacitance is \",Cs ,\"pf\",\"and Value of L is \",round(L*10**6,3),\"micro H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The distributed capacitance is 20.0 pf and Value of L is 48.712 micro H\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.3 Page no 290"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f1=2 #MHz\n",
+ "C1=500 #pf\n",
+ "f2=6 #MHz\n",
+ "C2=50 #pf\n",
+ "\n",
+ "#Calculation \n",
+ "Cs=(C1-9*C2)/8.0\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of self capacitance is \", Cs,\"pf\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of self capacitance is 6.25 pf\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap11.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap11.ipynb
new file mode 100755
index 00000000..39ebbba6
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap11.ipynb
@@ -0,0 +1,1005 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3733f4bc277677bc2f9c52d22638fa67f4c2b3f988678afdd8082febee12d607"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11 Bridges"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.1 Page no 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R2=15*10**3 #ohm\n",
+ "R3=40*10**3 #ohm\n",
+ "R1=10.0*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "\n",
+ "#Result \n",
+ "print\"Value of unknown resistance is \",Rx*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of unknown resistance is 60.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2 Page no 325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=6 #Volts\n",
+ "R1=1.0*10**3 #ohm\n",
+ "R2=2.5*10**3 #ohm\n",
+ "R3=3.5*10**3 #ohm\n",
+ "R4=10*10**3 #ohm\n",
+ "Rg=300.0 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Eth=E*((R4/(R2+R4))-(R3/(R1+R3)))\n",
+ "Rth=((R1*R3)/(R1+R3))+((R2*R4)/(R2+R4))\n",
+ "Ig=Eth/(Rth+Rg)\n",
+ "\n",
+ "#Result\n",
+ "print\"Current through galvanometer is \", round(Ig*10**6,0),\"micro A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current through galvanometer is 43.0 micro A\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.3 Page no 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=10 #Volts\n",
+ "r=35\n",
+ "R=700 #ohm\n",
+ "Rth=700 #ohm\n",
+ "Rg=125 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Eth=E*r/(4.0*R)\n",
+ "Ig=Eth/(Rth+Rg)\n",
+ "print\"current through the galvanometer is \", round(Ig*10**6,1),\"micro A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current through the galvanometer is 151.5 micro A\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.4 Page no 331"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=5 #ohm\n",
+ "Rb=1 #ohm\n",
+ "Ra=1000.0 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R2=R1/0.5\n",
+ "Rx=(Rb*R2)/Ra\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of Rx is \",Rx,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of Rx is 0.01 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.5 Page no 333"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=5.0*10**3 #ohm\n",
+ "R2=5.0*10**3 #ohm\n",
+ "R3=5.0*10**3 #ohm\n",
+ "E=6 #Volts\n",
+ "RV=4.5*10**3 #ohm\n",
+ "r=500\n",
+ "\n",
+ "#Calculation\n",
+ "Rv=(R2*R3)/R1\n",
+ "es=E*((R3/(R1+R3))-(RV/(R2+RV)))\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The bridge is balanced when the temperature is 80 degree.\"\n",
+ "print\"The amplitude of the error signal at 60 degree \", round(es,3),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The bridge is balanced when the temperature is 80 degree.\n",
+ "The amplitude of the error signal at 60 degree 0.158 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.6 (a) Page no 337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=10*10**3 #ohm\n",
+ "R2=50*10**3 #ohm\n",
+ "R3=100*10**3 #ohm\n",
+ "C3=100*10**-6 #farad\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "Cx=(R1*C3)/R2\n",
+ "\n",
+ "#Result\n",
+ "print\"The unknown capacitance is \", Cx*10**6,\"micro F\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The unknown capacitance is 20.0 micro F\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.6 (b) Page no 338"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=2000.0 #ohm\n",
+ "R2=2850.0 #ohm\n",
+ "R4=52 #ohm\n",
+ "C4=0.4*10**-6 #Farad\n",
+ "f=400 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Rx=(R1*R4)/R2\n",
+ "Cx=(R2*C4)/R1\n",
+ "A=2*math.pi*f*Cx*Rx\n",
+ "\n",
+ "#Result\n",
+ "print\"Loss angle of capacitor is \", round(A,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Loss angle of capacitor is 0.052\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.7 Page no 339"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L3=10*10**-3 #H\n",
+ "R1=10.0*10**3 #ohm\n",
+ "R2=40*10**3 #ohm\n",
+ "R3=100*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "Lx=(R2*L3)/R1\n",
+ "\n",
+ "#Result\n",
+ "print\"Equivalent unknown resistance is \", Lx*10**3,\"mH\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Equivalent unknown resistance is 40.0 mH\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.8 (a) Page no 341"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.01*10**-6 #Farad\n",
+ "R1=470.0*10**3 #ohm\n",
+ "R2=5.1*10**3 #ohm\n",
+ "R3=100*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "Lx=R2*R3*C1\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of unknown impedence \", Lx,\"H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of unknown impedence 5.1 H\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.8 (b) Page no 341"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=32.7 #ohm\n",
+ "L1=50*10**-3 #H\n",
+ "R2=1.36 #ohm\n",
+ "R3=100.0 #ohm\n",
+ "R4=100 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "r=((R4*R1)/R3)-R2\n",
+ "L2=L1*(R4/R3)\n",
+ "\n",
+ "#Result\n",
+ "print\"Resistance of the coil is \",r,\"ohm \\nInductance of the coil is \" ,L2*10**3,\"mH\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the coil is 31.34 ohm \n",
+ "Inductance of the coil is 50.0 mH\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 (a) Page no 343"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "w=3000 #rad/s\n",
+ "R2=10*10**3 #ohm\n",
+ "R1=2*10**3 #ohm\n",
+ "C1=1*10**-6 #farad\n",
+ "R3=1*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(w**2*R1*R2*R3*C1**2)/(1+w**2*R1**2*C1**2)\n",
+ "Lx=(R2*R3*C1)/(1+w**2*R1**2*C1**2)\n",
+ "\n",
+ "#Result\n",
+ "print\" series equivalent impedence is \", round(Lx*10**3,0),\"mH\",\"\\n Series equivqlent resistance is \",round(Rx*10**-3,2),\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " series equivalent impedence is 270.0 mH \n",
+ " Series equivqlent resistance is 4.86 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 (b) Page no 343"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R2=1000 #ohm\n",
+ "R3=16500 #ohm\n",
+ "R4=800 #ohm\n",
+ "C4=2*10**-6 #F\n",
+ "f=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "w=2*math.pi*f\n",
+ "Lx=(R2*R3*C4)/(1+(w**2*C4**2*R4**2))\n",
+ "Rx=(w**2*C4**2*R4*R2*R3)/(1+w**2*C4**2*R4**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Resistance of the coil is \", round(Rx*10**-3,1),\"Kohm\"\n",
+ "print\"Inductance of the coil is \",round(Lx,1),\"H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the coil is 4.2 Kohm\n",
+ "Inductance of the coil is 26.3 H\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 (c) Page no 345"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C4=1*10**-6 #F\n",
+ "R2=1000 #ohm\n",
+ "w=314 #rad/s\n",
+ "R3=1000\n",
+ "R4=1000\n",
+ "\n",
+ "#Calculation\n",
+ "L1=(R3*R4*C4)/(1+(w**2*C4**2*R4**2))\n",
+ "Rx=(w**2*C4**2*R4*R2*R3)/(1+w**2*C4**2*R4**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"unknown resistance is\" ,round(L1,2),\"H\"\n",
+ "print\"unknown inductance is\", round(Rx,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "unknown resistance is 0.91 H\n",
+ "unknown inductance is 89.75 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (a) Page no 346 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.5*10**-6 #farad\n",
+ "C3=0.5*10**-6 #farad\n",
+ "R2=2*10**3 #ohm\n",
+ "R1=1*10**3 #ohm\n",
+ "f=1000 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Rx=(C1*R2)/C3\n",
+ "Cx=(R1*C3)/R2\n",
+ "D=2*math.pi*f*Cx*Rx\n",
+ "\n",
+ "#Result\n",
+ "print\" The unknown capacitance is \",Cx*10**6,\"micro farad\", \"\\n Dissipation factor is \",round(D,4)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The unknown capacitance is 0.25 micro farad \n",
+ " Dissipation factor is 3.1416\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (b) Page no 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R3=100.0 #ohm\n",
+ "R4=300 #ohm\n",
+ "C4=0.5*10**-6 #F\n",
+ "C2=100.0 #pf\n",
+ "f=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "R1=(C4/C2)*R3\n",
+ "Pf=W*R4*C4\n",
+ "\n",
+ "#Result\n",
+ "print\"Capacitance is \", C1,\"pF\"\n",
+ "print\"Equivalent series resistance is \",R1*10**6,\"Mohm\"\n",
+ "print\"PF of insulation is \",round(Pf,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Capacitance is 300.0 pF\n",
+ "Equivalent series resistance is 0.5 Mohm\n",
+ "PF of insulation is 0.0471\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (c) Page no 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R4=100 #ohm\n",
+ "C4=0.1 #micro F\n",
+ "C2=500 #pf\n",
+ "R3=300.0 #ohm\n",
+ "f=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "A=W*C4*R4*10**-5\n",
+ "\n",
+ "#Result\n",
+ "print\"The Capacitance is \",round(C1,1),\"pF\" \n",
+ "print\"Dielectric loss of angle is \",round(A*180/3.14,1),\"degree\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Capacitance is 166.7 pF\n",
+ "Dielectric loss of angle is 1.8 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (d) Page no 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "d=4.5*10**-3\n",
+ "f=50 #Hz\n",
+ "C2=105*10**-12\n",
+ "C4=0.5*10**-6 #F\n",
+ "R3=260.0 #ohm\n",
+ "R4=1000/3.14\n",
+ "K0=8.854*10**-12\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "A=W*C4*R4\n",
+ "a=math.pi*(6*10**-2)**2\n",
+ "K=(C1*d)/(K0*a)\n",
+ "\n",
+ "#Result\n",
+ "print\"The capacitance is \",round(C1*10**12,1),\"pF\"\n",
+ "print\"Value of PF is \",round(A,3)\n",
+ "print\"Relative permittivity is \",round(K,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The capacitance is 128.6 pF\n",
+ "Value of PF is 0.05\n",
+ "Relative permittivity is 5.78\n"
+ ]
+ }
+ ],
+ "prompt_number": 63
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (e) Page no 349"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R3=100 #ohm\n",
+ "R4=300 #ohm\n",
+ "C2=100.0 #pF\n",
+ "C4=0.5 #micro F\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "C1=(R4/R3)*C2\n",
+ "r1=R3*(C4/C2)\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "A=W*C4*R4*10**-6\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of capacitor is \",C1,\"pF\"\n",
+ "print\"PF of the capacitor is \",round(A,4)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of capacitor is 300.0 pF\n",
+ "PF of the capacitor is 0.0471\n"
+ ]
+ }
+ ],
+ "prompt_number": 71
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (f) Page no 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=300 #ohm\n",
+ "R2=100.0 #ohm\n",
+ "C1=0.6*10**-6 # F\n",
+ "C3=100.0*10**-12 #F\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=R2*(C1/C3)\n",
+ "C=(R1/R2)*C3\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of series resistance is \", Rx*10**-5,\"Mohm\"\n",
+ "print\"The value of capacitance is \",C*10**12,\"pF\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of series resistance is 6.0 Mohm\n",
+ "The value of capacitance is 300.0 pF\n"
+ ]
+ }
+ ],
+ "prompt_number": 80
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (g) Page no 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.1*10**-6 #F\n",
+ "C2=0.25*10**-6 #F\n",
+ "R2=5000.0 #ohm\n",
+ "C3=0.25*10**-6 #F\n",
+ "f=2000 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Rx=R2*(C1/C2)\n",
+ "C=(R1/R2)*C3\n",
+ "W=2*math.pi*f\n",
+ "A=W*C*Rx*10**-6\n",
+ "#Result\n",
+ "print\"The value of capacitance is \", round(C*10**7,1),\"micro F\"\n",
+ "print\"Dissipation factor is \", round(A*10**7,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of capacitance is 0.1 micro F\n",
+ "Dissipation factor is 3.77\n"
+ ]
+ }
+ ],
+ "prompt_number": 102
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.11 Page no 352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=4.7*10**3 #ohm\n",
+ "R2=20*10**3 #ohm\n",
+ "R3=10*10**3 #ohm\n",
+ "R4=100*10**3 #ohm\n",
+ "C1=5*10**-9 #farad\n",
+ "C3=10*10**-9 #farad\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "f=1/(2.0*math.pi*(math.sqrt(C1*R1*R3*C3)))\n",
+ "print\"Frequency of the circuit is \", round(f*10**-3,3),\"KHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of the circuit is 3.283 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.12 Page no 353"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=3.1*10**3 #ohm\n",
+ "C1=5.2*10**-6 #farad\n",
+ "R2=25.0*10**3 #ohm\n",
+ "f=2.5*10**3 #ohm\n",
+ "R4=100.0*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "w=2*math.pi*f\n",
+ "R3=R4/R2*(R1+(1/w**2*R1*C1**2))\n",
+ "C3=R2/R4*(C1/(1+w**2*R1**2*C1**2))\n",
+ "\n",
+ "#CResult\n",
+ "print\" Equivalent parallel resistance is \",R3*10**-3,\"Kohm \",\"\\n Equivalent parallel capaciatnce is \", round(C3*10**12,1),\"pf\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Equivalent parallel resistance is 12.4 Kohm \n",
+ " Equivalent parallel capaciatnce is 20.3 pf\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.13 Page no 353"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.5*10**-6 #farad\n",
+ "R1=800.0 #ohm\n",
+ "C2=1.0*10**-6 #farad\n",
+ "R2=400 #ohm\n",
+ "R4=1000 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "f=1/(2.0*math.pi*math.sqrt(R1*C1*R2*C2))\n",
+ "R3=R4/((R2/R1)+(C1/C2))\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of frequency for which the bridge is balanced \", round(f*10**-3,3),\"KHz\"\n",
+ "print\"(ii) The value of R required to produce balance \",R3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of frequency for which the bridge is balanced 0.398 KHz\n",
+ "(ii) The value of R required to produce balance 1000.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.14 Page no 359"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R2=200 #ohm\n",
+ "R3=1000 #ohm\n",
+ "R4=1000.0\n",
+ "C=10*10**-6 #Farad\n",
+ "r=496\n",
+ "\n",
+ "#Calculation\n",
+ "R1=(R2*R3)/R4\n",
+ "L1=(C*R3/R4)*(r*R4+R2*R4+r*R2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of inductance is \", L1,\"H\"\n",
+ "print\"The value of resistance is \",R1,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of inductance is 7.952 H\n",
+ "The value of resistance is 200.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 108
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap11_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap11_1.ipynb
new file mode 100755
index 00000000..39ebbba6
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap11_1.ipynb
@@ -0,0 +1,1005 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3733f4bc277677bc2f9c52d22638fa67f4c2b3f988678afdd8082febee12d607"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11 Bridges"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.1 Page no 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R2=15*10**3 #ohm\n",
+ "R3=40*10**3 #ohm\n",
+ "R1=10.0*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "\n",
+ "#Result \n",
+ "print\"Value of unknown resistance is \",Rx*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of unknown resistance is 60.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2 Page no 325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=6 #Volts\n",
+ "R1=1.0*10**3 #ohm\n",
+ "R2=2.5*10**3 #ohm\n",
+ "R3=3.5*10**3 #ohm\n",
+ "R4=10*10**3 #ohm\n",
+ "Rg=300.0 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Eth=E*((R4/(R2+R4))-(R3/(R1+R3)))\n",
+ "Rth=((R1*R3)/(R1+R3))+((R2*R4)/(R2+R4))\n",
+ "Ig=Eth/(Rth+Rg)\n",
+ "\n",
+ "#Result\n",
+ "print\"Current through galvanometer is \", round(Ig*10**6,0),\"micro A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current through galvanometer is 43.0 micro A\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.3 Page no 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=10 #Volts\n",
+ "r=35\n",
+ "R=700 #ohm\n",
+ "Rth=700 #ohm\n",
+ "Rg=125 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Eth=E*r/(4.0*R)\n",
+ "Ig=Eth/(Rth+Rg)\n",
+ "print\"current through the galvanometer is \", round(Ig*10**6,1),\"micro A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current through the galvanometer is 151.5 micro A\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.4 Page no 331"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=5 #ohm\n",
+ "Rb=1 #ohm\n",
+ "Ra=1000.0 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R2=R1/0.5\n",
+ "Rx=(Rb*R2)/Ra\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of Rx is \",Rx,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of Rx is 0.01 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.5 Page no 333"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=5.0*10**3 #ohm\n",
+ "R2=5.0*10**3 #ohm\n",
+ "R3=5.0*10**3 #ohm\n",
+ "E=6 #Volts\n",
+ "RV=4.5*10**3 #ohm\n",
+ "r=500\n",
+ "\n",
+ "#Calculation\n",
+ "Rv=(R2*R3)/R1\n",
+ "es=E*((R3/(R1+R3))-(RV/(R2+RV)))\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The bridge is balanced when the temperature is 80 degree.\"\n",
+ "print\"The amplitude of the error signal at 60 degree \", round(es,3),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The bridge is balanced when the temperature is 80 degree.\n",
+ "The amplitude of the error signal at 60 degree 0.158 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.6 (a) Page no 337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=10*10**3 #ohm\n",
+ "R2=50*10**3 #ohm\n",
+ "R3=100*10**3 #ohm\n",
+ "C3=100*10**-6 #farad\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "Cx=(R1*C3)/R2\n",
+ "\n",
+ "#Result\n",
+ "print\"The unknown capacitance is \", Cx*10**6,\"micro F\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The unknown capacitance is 20.0 micro F\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.6 (b) Page no 338"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=2000.0 #ohm\n",
+ "R2=2850.0 #ohm\n",
+ "R4=52 #ohm\n",
+ "C4=0.4*10**-6 #Farad\n",
+ "f=400 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Rx=(R1*R4)/R2\n",
+ "Cx=(R2*C4)/R1\n",
+ "A=2*math.pi*f*Cx*Rx\n",
+ "\n",
+ "#Result\n",
+ "print\"Loss angle of capacitor is \", round(A,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Loss angle of capacitor is 0.052\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.7 Page no 339"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L3=10*10**-3 #H\n",
+ "R1=10.0*10**3 #ohm\n",
+ "R2=40*10**3 #ohm\n",
+ "R3=100*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "Lx=(R2*L3)/R1\n",
+ "\n",
+ "#Result\n",
+ "print\"Equivalent unknown resistance is \", Lx*10**3,\"mH\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Equivalent unknown resistance is 40.0 mH\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.8 (a) Page no 341"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.01*10**-6 #Farad\n",
+ "R1=470.0*10**3 #ohm\n",
+ "R2=5.1*10**3 #ohm\n",
+ "R3=100*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(R2*R3)/R1\n",
+ "Lx=R2*R3*C1\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of unknown impedence \", Lx,\"H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of unknown impedence 5.1 H\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.8 (b) Page no 341"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=32.7 #ohm\n",
+ "L1=50*10**-3 #H\n",
+ "R2=1.36 #ohm\n",
+ "R3=100.0 #ohm\n",
+ "R4=100 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "r=((R4*R1)/R3)-R2\n",
+ "L2=L1*(R4/R3)\n",
+ "\n",
+ "#Result\n",
+ "print\"Resistance of the coil is \",r,\"ohm \\nInductance of the coil is \" ,L2*10**3,\"mH\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the coil is 31.34 ohm \n",
+ "Inductance of the coil is 50.0 mH\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 (a) Page no 343"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "w=3000 #rad/s\n",
+ "R2=10*10**3 #ohm\n",
+ "R1=2*10**3 #ohm\n",
+ "C1=1*10**-6 #farad\n",
+ "R3=1*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=(w**2*R1*R2*R3*C1**2)/(1+w**2*R1**2*C1**2)\n",
+ "Lx=(R2*R3*C1)/(1+w**2*R1**2*C1**2)\n",
+ "\n",
+ "#Result\n",
+ "print\" series equivalent impedence is \", round(Lx*10**3,0),\"mH\",\"\\n Series equivqlent resistance is \",round(Rx*10**-3,2),\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " series equivalent impedence is 270.0 mH \n",
+ " Series equivqlent resistance is 4.86 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 (b) Page no 343"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R2=1000 #ohm\n",
+ "R3=16500 #ohm\n",
+ "R4=800 #ohm\n",
+ "C4=2*10**-6 #F\n",
+ "f=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "w=2*math.pi*f\n",
+ "Lx=(R2*R3*C4)/(1+(w**2*C4**2*R4**2))\n",
+ "Rx=(w**2*C4**2*R4*R2*R3)/(1+w**2*C4**2*R4**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Resistance of the coil is \", round(Rx*10**-3,1),\"Kohm\"\n",
+ "print\"Inductance of the coil is \",round(Lx,1),\"H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance of the coil is 4.2 Kohm\n",
+ "Inductance of the coil is 26.3 H\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 (c) Page no 345"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C4=1*10**-6 #F\n",
+ "R2=1000 #ohm\n",
+ "w=314 #rad/s\n",
+ "R3=1000\n",
+ "R4=1000\n",
+ "\n",
+ "#Calculation\n",
+ "L1=(R3*R4*C4)/(1+(w**2*C4**2*R4**2))\n",
+ "Rx=(w**2*C4**2*R4*R2*R3)/(1+w**2*C4**2*R4**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"unknown resistance is\" ,round(L1,2),\"H\"\n",
+ "print\"unknown inductance is\", round(Rx,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "unknown resistance is 0.91 H\n",
+ "unknown inductance is 89.75 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (a) Page no 346 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.5*10**-6 #farad\n",
+ "C3=0.5*10**-6 #farad\n",
+ "R2=2*10**3 #ohm\n",
+ "R1=1*10**3 #ohm\n",
+ "f=1000 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Rx=(C1*R2)/C3\n",
+ "Cx=(R1*C3)/R2\n",
+ "D=2*math.pi*f*Cx*Rx\n",
+ "\n",
+ "#Result\n",
+ "print\" The unknown capacitance is \",Cx*10**6,\"micro farad\", \"\\n Dissipation factor is \",round(D,4)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The unknown capacitance is 0.25 micro farad \n",
+ " Dissipation factor is 3.1416\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (b) Page no 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R3=100.0 #ohm\n",
+ "R4=300 #ohm\n",
+ "C4=0.5*10**-6 #F\n",
+ "C2=100.0 #pf\n",
+ "f=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "R1=(C4/C2)*R3\n",
+ "Pf=W*R4*C4\n",
+ "\n",
+ "#Result\n",
+ "print\"Capacitance is \", C1,\"pF\"\n",
+ "print\"Equivalent series resistance is \",R1*10**6,\"Mohm\"\n",
+ "print\"PF of insulation is \",round(Pf,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Capacitance is 300.0 pF\n",
+ "Equivalent series resistance is 0.5 Mohm\n",
+ "PF of insulation is 0.0471\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (c) Page no 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R4=100 #ohm\n",
+ "C4=0.1 #micro F\n",
+ "C2=500 #pf\n",
+ "R3=300.0 #ohm\n",
+ "f=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "A=W*C4*R4*10**-5\n",
+ "\n",
+ "#Result\n",
+ "print\"The Capacitance is \",round(C1,1),\"pF\" \n",
+ "print\"Dielectric loss of angle is \",round(A*180/3.14,1),\"degree\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Capacitance is 166.7 pF\n",
+ "Dielectric loss of angle is 1.8 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (d) Page no 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "d=4.5*10**-3\n",
+ "f=50 #Hz\n",
+ "C2=105*10**-12\n",
+ "C4=0.5*10**-6 #F\n",
+ "R3=260.0 #ohm\n",
+ "R4=1000/3.14\n",
+ "K0=8.854*10**-12\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "A=W*C4*R4\n",
+ "a=math.pi*(6*10**-2)**2\n",
+ "K=(C1*d)/(K0*a)\n",
+ "\n",
+ "#Result\n",
+ "print\"The capacitance is \",round(C1*10**12,1),\"pF\"\n",
+ "print\"Value of PF is \",round(A,3)\n",
+ "print\"Relative permittivity is \",round(K,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The capacitance is 128.6 pF\n",
+ "Value of PF is 0.05\n",
+ "Relative permittivity is 5.78\n"
+ ]
+ }
+ ],
+ "prompt_number": 63
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (e) Page no 349"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R3=100 #ohm\n",
+ "R4=300 #ohm\n",
+ "C2=100.0 #pF\n",
+ "C4=0.5 #micro F\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "C1=(R4/R3)*C2\n",
+ "r1=R3*(C4/C2)\n",
+ "W=2*math.pi*f\n",
+ "C1=(R4/R3)*C2\n",
+ "A=W*C4*R4*10**-6\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of capacitor is \",C1,\"pF\"\n",
+ "print\"PF of the capacitor is \",round(A,4)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of capacitor is 300.0 pF\n",
+ "PF of the capacitor is 0.0471\n"
+ ]
+ }
+ ],
+ "prompt_number": 71
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (f) Page no 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=300 #ohm\n",
+ "R2=100.0 #ohm\n",
+ "C1=0.6*10**-6 # F\n",
+ "C3=100.0*10**-12 #F\n",
+ "\n",
+ "#Calculation\n",
+ "Rx=R2*(C1/C3)\n",
+ "C=(R1/R2)*C3\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of series resistance is \", Rx*10**-5,\"Mohm\"\n",
+ "print\"The value of capacitance is \",C*10**12,\"pF\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of series resistance is 6.0 Mohm\n",
+ "The value of capacitance is 300.0 pF\n"
+ ]
+ }
+ ],
+ "prompt_number": 80
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10 (g) Page no 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.1*10**-6 #F\n",
+ "C2=0.25*10**-6 #F\n",
+ "R2=5000.0 #ohm\n",
+ "C3=0.25*10**-6 #F\n",
+ "f=2000 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Rx=R2*(C1/C2)\n",
+ "C=(R1/R2)*C3\n",
+ "W=2*math.pi*f\n",
+ "A=W*C*Rx*10**-6\n",
+ "#Result\n",
+ "print\"The value of capacitance is \", round(C*10**7,1),\"micro F\"\n",
+ "print\"Dissipation factor is \", round(A*10**7,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of capacitance is 0.1 micro F\n",
+ "Dissipation factor is 3.77\n"
+ ]
+ }
+ ],
+ "prompt_number": 102
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.11 Page no 352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=4.7*10**3 #ohm\n",
+ "R2=20*10**3 #ohm\n",
+ "R3=10*10**3 #ohm\n",
+ "R4=100*10**3 #ohm\n",
+ "C1=5*10**-9 #farad\n",
+ "C3=10*10**-9 #farad\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "f=1/(2.0*math.pi*(math.sqrt(C1*R1*R3*C3)))\n",
+ "print\"Frequency of the circuit is \", round(f*10**-3,3),\"KHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of the circuit is 3.283 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.12 Page no 353"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=3.1*10**3 #ohm\n",
+ "C1=5.2*10**-6 #farad\n",
+ "R2=25.0*10**3 #ohm\n",
+ "f=2.5*10**3 #ohm\n",
+ "R4=100.0*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "w=2*math.pi*f\n",
+ "R3=R4/R2*(R1+(1/w**2*R1*C1**2))\n",
+ "C3=R2/R4*(C1/(1+w**2*R1**2*C1**2))\n",
+ "\n",
+ "#CResult\n",
+ "print\" Equivalent parallel resistance is \",R3*10**-3,\"Kohm \",\"\\n Equivalent parallel capaciatnce is \", round(C3*10**12,1),\"pf\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Equivalent parallel resistance is 12.4 Kohm \n",
+ " Equivalent parallel capaciatnce is 20.3 pf\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.13 Page no 353"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C1=0.5*10**-6 #farad\n",
+ "R1=800.0 #ohm\n",
+ "C2=1.0*10**-6 #farad\n",
+ "R2=400 #ohm\n",
+ "R4=1000 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "f=1/(2.0*math.pi*math.sqrt(R1*C1*R2*C2))\n",
+ "R3=R4/((R2/R1)+(C1/C2))\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of frequency for which the bridge is balanced \", round(f*10**-3,3),\"KHz\"\n",
+ "print\"(ii) The value of R required to produce balance \",R3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of frequency for which the bridge is balanced 0.398 KHz\n",
+ "(ii) The value of R required to produce balance 1000.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.14 Page no 359"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R2=200 #ohm\n",
+ "R3=1000 #ohm\n",
+ "R4=1000.0\n",
+ "C=10*10**-6 #Farad\n",
+ "r=496\n",
+ "\n",
+ "#Calculation\n",
+ "R1=(R2*R3)/R4\n",
+ "L1=(C*R3/R4)*(r*R4+R2*R4+r*R2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of inductance is \", L1,\"H\"\n",
+ "print\"The value of resistance is \",R1,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of inductance is 7.952 H\n",
+ "The value of resistance is 200.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 108
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap12.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap12.ipynb
new file mode 100755
index 00000000..b3715c64
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap12.ipynb
@@ -0,0 +1,95 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7af0495b58ca6c852d68e4365d49889cd4f3d900affcfb795083ae4f78ea1db8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 12 Recorders"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.1 Page no 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "t=5 #second\n",
+ "s=40.0 #cycle\n",
+ "\n",
+ "#Calculation\n",
+ "p=t/s\n",
+ "f=1/p\n",
+ "\n",
+ "#Result\n",
+ "print\"The frequency of the signal is \", f,\"cycle/sec.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The frequency of the signal is 8.0 cycle/sec.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.2 Page no 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f=20.0 #Hz\n",
+ "t=5 #mm\n",
+ "\n",
+ "#Calculation\n",
+ "p=1/f\n",
+ "s=t/p\n",
+ "\n",
+ "#Result\n",
+ "print\"The chart speed isn\", s,\"mm/s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The chart speed isn 100.0 mm/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap12_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap12_1.ipynb
new file mode 100755
index 00000000..b3715c64
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap12_1.ipynb
@@ -0,0 +1,95 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7af0495b58ca6c852d68e4365d49889cd4f3d900affcfb795083ae4f78ea1db8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 12 Recorders"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.1 Page no 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "t=5 #second\n",
+ "s=40.0 #cycle\n",
+ "\n",
+ "#Calculation\n",
+ "p=t/s\n",
+ "f=1/p\n",
+ "\n",
+ "#Result\n",
+ "print\"The frequency of the signal is \", f,\"cycle/sec.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The frequency of the signal is 8.0 cycle/sec.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.2 Page no 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f=20.0 #Hz\n",
+ "t=5 #mm\n",
+ "\n",
+ "#Calculation\n",
+ "p=1/f\n",
+ "s=t/p\n",
+ "\n",
+ "#Result\n",
+ "print\"The chart speed isn\", s,\"mm/s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The chart speed isn 100.0 mm/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap13.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap13.ipynb
new file mode 100755
index 00000000..58b2b2dc
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap13.ipynb
@@ -0,0 +1,405 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:0022da94b1d3ec30a76a501a1e2a864424059045ea34a0bef2657a4e00b24747"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 13 Transducers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.1 Page no 412"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=5*10**3 #ohm\n",
+ "a=0.9 #in.\n",
+ "b=3.0 #in.\n",
+ "R2=1500 #ohm\n",
+ "Vt=5 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "R2=(a*R)/b\n",
+ "V0=(R2/R)*Vt\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of output resistance is \", V0,\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of output resistance is 1.5 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.2 Page no 413"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=3\n",
+ "b=5.0 \n",
+ "R=5*10**3 #ohm\n",
+ "Vt=5 #volts\n",
+ "R4=2.5*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R2=(a*R)/b\n",
+ "Ve=((R2/R)*Vt-(R4/R)*Vt)\n",
+ "\n",
+ "#Results\n",
+ "print\"The value of Ve is \",Ve,\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Ve is 0.5 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.3 Page no 417"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "K=2\n",
+ "R=130 #ohm\n",
+ "l=1*10**-6\n",
+ "\n",
+ "#Calculation\n",
+ "R1=K*R*l\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of change in resistance is \", R1*10**6,\"micro ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of change in resistance is 260.0 micro ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.4 Page no 427"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vt=15 #Volts\n",
+ "R1=4000.0 #ohm\n",
+ "R2=17.0 #ohm\n",
+ "R3=3.0 #ohm\n",
+ "R4=950 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "I=Vt/(R1+R2+R3)\n",
+ "I1=Vt/(R2+R3+R4)\n",
+ "\n",
+ "#Result\n",
+ "print\" Meter reading at 77 degree F is \", round(I*10**3,2),\"mA\",\"\\n Meter reading at 150 degree F is \",round(I1*10**3,1),\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Meter reading at 77 degree F is 3.73 mA \n",
+ " Meter reading at 150 degree F is 15.5 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.5 Page no 432"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L=2500 #F\n",
+ "a=1\n",
+ "b=0.04\n",
+ "\n",
+ "#Calculation\n",
+ "c=a-b\n",
+ "Lt=L*(1/c)\n",
+ "Ld=Lt-L\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of inductance is \", round(Ld,0),\"micro H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of inductance is 104.0 micro H\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.6 Page no 437"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V1=6.3 #volts\n",
+ "V2=5.2 #Volts\n",
+ "a=-0.5 #in.\n",
+ "b=-0.30\n",
+ "c=-5.2\n",
+ "d=-0.25\n",
+ "\n",
+ "#Calculation\n",
+ "V0=(b*c)/a\n",
+ "V=(d*c)/a\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The output voltage is \", V0,\"Volts\"\n",
+ "print\"(ii) The output voltage is \", V,\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The output voltage is -3.12 Volts\n",
+ "(ii) The output voltage is -2.6 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.7 Page no 450"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "K=0.32\n",
+ "a=7.06*10**-3 #J\n",
+ "\n",
+ "#Calculation\n",
+ "E=a/K\n",
+ "\n",
+ "#Result\n",
+ "print\"Electric energy is \", round(E*10**3,2),\"mJ\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electric energy is 22.06 mJ\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.8 (a) Page no 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=30 #Volts\n",
+ "I=10*10**-3 #A\n",
+ "Rcell=1000 #ohm\n",
+ "R1=100*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R=(V/I)-Rcell\n",
+ "I1=V/(R+R1)\n",
+ "\n",
+ "#Result \n",
+ "print\"(i) The required series resistance is \", R*10**-3,\"Kohm\"\n",
+ "print\"(ii) Dark current level is \",round(I1*10**3,1),\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The required series resistance is 2.0 Kohm\n",
+ "(ii) Dark current level is 0.3 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.8 (b) Page no 460"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R0=180\n",
+ "a=0.00392\n",
+ "T1=60 #degree\n",
+ "T2=20 #degree\n",
+ "\n",
+ "#Calculation\n",
+ "R=R0*(1-(a*(T1-T2)))\n",
+ "\n",
+ "#Result\n",
+ "print\"The resistance is \", round(R,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resistance is 151.78 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.9 Page no 460"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R0=100.0\n",
+ "a=0.00392\n",
+ "T1=50 #degree\n",
+ "T2=25 #degree\n",
+ "R=200 #ohm\n",
+ "\n",
+ "R=R0*(1+a*(T1-T2))\n",
+ "t2=(((R/R0)-1)/a)+T2\n",
+ "print t2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "50.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap13_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap13_1.ipynb
new file mode 100755
index 00000000..58b2b2dc
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap13_1.ipynb
@@ -0,0 +1,405 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:0022da94b1d3ec30a76a501a1e2a864424059045ea34a0bef2657a4e00b24747"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 13 Transducers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.1 Page no 412"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=5*10**3 #ohm\n",
+ "a=0.9 #in.\n",
+ "b=3.0 #in.\n",
+ "R2=1500 #ohm\n",
+ "Vt=5 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "R2=(a*R)/b\n",
+ "V0=(R2/R)*Vt\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of output resistance is \", V0,\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of output resistance is 1.5 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.2 Page no 413"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=3\n",
+ "b=5.0 \n",
+ "R=5*10**3 #ohm\n",
+ "Vt=5 #volts\n",
+ "R4=2.5*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R2=(a*R)/b\n",
+ "Ve=((R2/R)*Vt-(R4/R)*Vt)\n",
+ "\n",
+ "#Results\n",
+ "print\"The value of Ve is \",Ve,\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Ve is 0.5 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.3 Page no 417"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "K=2\n",
+ "R=130 #ohm\n",
+ "l=1*10**-6\n",
+ "\n",
+ "#Calculation\n",
+ "R1=K*R*l\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of change in resistance is \", R1*10**6,\"micro ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of change in resistance is 260.0 micro ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.4 Page no 427"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vt=15 #Volts\n",
+ "R1=4000.0 #ohm\n",
+ "R2=17.0 #ohm\n",
+ "R3=3.0 #ohm\n",
+ "R4=950 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "I=Vt/(R1+R2+R3)\n",
+ "I1=Vt/(R2+R3+R4)\n",
+ "\n",
+ "#Result\n",
+ "print\" Meter reading at 77 degree F is \", round(I*10**3,2),\"mA\",\"\\n Meter reading at 150 degree F is \",round(I1*10**3,1),\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Meter reading at 77 degree F is 3.73 mA \n",
+ " Meter reading at 150 degree F is 15.5 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.5 Page no 432"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L=2500 #F\n",
+ "a=1\n",
+ "b=0.04\n",
+ "\n",
+ "#Calculation\n",
+ "c=a-b\n",
+ "Lt=L*(1/c)\n",
+ "Ld=Lt-L\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of inductance is \", round(Ld,0),\"micro H\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of inductance is 104.0 micro H\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.6 Page no 437"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V1=6.3 #volts\n",
+ "V2=5.2 #Volts\n",
+ "a=-0.5 #in.\n",
+ "b=-0.30\n",
+ "c=-5.2\n",
+ "d=-0.25\n",
+ "\n",
+ "#Calculation\n",
+ "V0=(b*c)/a\n",
+ "V=(d*c)/a\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The output voltage is \", V0,\"Volts\"\n",
+ "print\"(ii) The output voltage is \", V,\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The output voltage is -3.12 Volts\n",
+ "(ii) The output voltage is -2.6 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.7 Page no 450"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "K=0.32\n",
+ "a=7.06*10**-3 #J\n",
+ "\n",
+ "#Calculation\n",
+ "E=a/K\n",
+ "\n",
+ "#Result\n",
+ "print\"Electric energy is \", round(E*10**3,2),\"mJ\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electric energy is 22.06 mJ\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.8 (a) Page no 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=30 #Volts\n",
+ "I=10*10**-3 #A\n",
+ "Rcell=1000 #ohm\n",
+ "R1=100*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R=(V/I)-Rcell\n",
+ "I1=V/(R+R1)\n",
+ "\n",
+ "#Result \n",
+ "print\"(i) The required series resistance is \", R*10**-3,\"Kohm\"\n",
+ "print\"(ii) Dark current level is \",round(I1*10**3,1),\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The required series resistance is 2.0 Kohm\n",
+ "(ii) Dark current level is 0.3 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.8 (b) Page no 460"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R0=180\n",
+ "a=0.00392\n",
+ "T1=60 #degree\n",
+ "T2=20 #degree\n",
+ "\n",
+ "#Calculation\n",
+ "R=R0*(1-(a*(T1-T2)))\n",
+ "\n",
+ "#Result\n",
+ "print\"The resistance is \", round(R,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resistance is 151.78 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.9 Page no 460"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R0=100.0\n",
+ "a=0.00392\n",
+ "T1=50 #degree\n",
+ "T2=25 #degree\n",
+ "R=200 #ohm\n",
+ "\n",
+ "R=R0*(1+a*(T1-T2))\n",
+ "t2=(((R/R0)-1)/a)+T2\n",
+ "print t2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "50.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap14.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap14.ipynb
new file mode 100755
index 00000000..a2b4154b
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap14.ipynb
@@ -0,0 +1,143 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:22e515cfdcb31a0dc094c823dd4160ebc2cdde6bfeeb65b5dbdb65b6ac7c27a6"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 14 Signal conditioning"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.2 Page no 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Va=2 #Volts\n",
+ "Vb=1 #Volts\n",
+ "Vc=3 #Volts\n",
+ "R=3000.0 #ohm\n",
+ "Rf=1000 #ohm\n",
+ "Rom=270 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "V0=-(Rf/R)*(Va+Vb+Vc)\n",
+ "\n",
+ "#Result\n",
+ "print\"The output voltage is \", V0,\"Volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output voltage is -2.0 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.3 Page no 519"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=2.2*10**3 #ohm\n",
+ "Rf=10*10**3 #ohm\n",
+ "R=120.0*10**3 #ohm\n",
+ "E=5 #volts\n",
+ "a=-1000 \n",
+ "T1=-25 #degree C\n",
+ "T=100 #degree C\n",
+ "\n",
+ "#Calculation\n",
+ "R0=a*T1\n",
+ "V0=-((R0*E)/(2.0*(2*R+R0)))*(Rf/R1)\n",
+ "R2=a*(T+T1)\n",
+ "V1=-((R2*E)/(2.0*(2*R+R2)))*(Rf/R1)\n",
+ "\n",
+ "#Result\n",
+ "print\" The output voltage is at 0 degree C is \", round(V0,2),\"Volts\",\"\\n The output Voltage at 100 Degree C is \",round(V1,2),\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The output voltage is at 0 degree C is -1.07 Volts \n",
+ " The output Voltage at 100 Degree C is 5.17 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.4 Page no 521"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V0=1.5 #Volts\n",
+ "E=10 #Volts\n",
+ "R=100 #ohm\n",
+ "Rf=100 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R0=(V0*R)/(E*Rf)\n",
+ "\n",
+ "#Result\n",
+ "print\"The change in resistance of each gauge element is \", R0,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The change in resistance of each gauge element is 0.15 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap14_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap14_1.ipynb
new file mode 100755
index 00000000..a2b4154b
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap14_1.ipynb
@@ -0,0 +1,143 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:22e515cfdcb31a0dc094c823dd4160ebc2cdde6bfeeb65b5dbdb65b6ac7c27a6"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 14 Signal conditioning"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.2 Page no 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Va=2 #Volts\n",
+ "Vb=1 #Volts\n",
+ "Vc=3 #Volts\n",
+ "R=3000.0 #ohm\n",
+ "Rf=1000 #ohm\n",
+ "Rom=270 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "V0=-(Rf/R)*(Va+Vb+Vc)\n",
+ "\n",
+ "#Result\n",
+ "print\"The output voltage is \", V0,\"Volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output voltage is -2.0 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.3 Page no 519"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=2.2*10**3 #ohm\n",
+ "Rf=10*10**3 #ohm\n",
+ "R=120.0*10**3 #ohm\n",
+ "E=5 #volts\n",
+ "a=-1000 \n",
+ "T1=-25 #degree C\n",
+ "T=100 #degree C\n",
+ "\n",
+ "#Calculation\n",
+ "R0=a*T1\n",
+ "V0=-((R0*E)/(2.0*(2*R+R0)))*(Rf/R1)\n",
+ "R2=a*(T+T1)\n",
+ "V1=-((R2*E)/(2.0*(2*R+R2)))*(Rf/R1)\n",
+ "\n",
+ "#Result\n",
+ "print\" The output voltage is at 0 degree C is \", round(V0,2),\"Volts\",\"\\n The output Voltage at 100 Degree C is \",round(V1,2),\"volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The output voltage is at 0 degree C is -1.07 Volts \n",
+ " The output Voltage at 100 Degree C is 5.17 volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.4 Page no 521"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V0=1.5 #Volts\n",
+ "E=10 #Volts\n",
+ "R=100 #ohm\n",
+ "Rf=100 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R0=(V0*R)/(E*Rf)\n",
+ "\n",
+ "#Result\n",
+ "print\"The change in resistance of each gauge element is \", R0,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The change in resistance of each gauge element is 0.15 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap15.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap15.ipynb
new file mode 100755
index 00000000..8a106854
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap15.ipynb
@@ -0,0 +1,428 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fc6706355245368084174ebaf68c877ff8fa2581b1104eec814db836f65c5c69"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 15 Filters"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Example 15.1 Page no 547"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fH=2000 #Hz\n",
+ "C=0.01*10**-6 #F\n",
+ "Af=2 #gain\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R=1/(2.0*math.pi*fH*C)\n",
+ "Rf=Af-1\n",
+ "\n",
+ "#Result\n",
+ "print\"In this case R1=Rf=10 Kohm is selected.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "In this case R1=Rf=10 Kohm is selected.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.2 Page no 547"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "wc=20.0 #K radian/s\n",
+ "C=0.01 #micro F\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/(wc*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of resistance is \", R,\"K ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistance is 5.0 K ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.3 Page no 550"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fh=2000 #Hz\n",
+ "C2=0.0033*10**-6 #F\n",
+ "C3=0.0033*10**-6 #F\n",
+ "R0=0.586 #ohm\n",
+ "R1=10000 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R=1/(2*math.pi*fh*C2)\n",
+ "Rf=R0*R1\n",
+ "\n",
+ "#Result\n",
+ "print\" R2=R3=\",round(R*10**-3,0),\"Kohm \\n C2=C3=\",C2 ,\"micro F \\n Rf=\",Rf*10**-3,\"Kohm \\n R1=\",R1*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " R2=R3= 24.0 Kohm \n",
+ " C2=C3= 3.3e-09 micro F \n",
+ " Rf= 5.86 Kohm \n",
+ " R1= 10.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.4 Page no 553"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=47*10**3 #ohm\n",
+ "C=0.0022*10**-6 #F\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "fl=1/(2.0*math.pi*R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The cutoff frequency is \", round(fl*10**-3,2),\"KHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The cutoff frequency is 1.54 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.5 Page no 557"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.01*10**-6 #f\n",
+ "fh=1000 #Hz\n",
+ "fl=100\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/(2.0*math.pi*fh*C)\n",
+ "R1=1/(2.0*math.pi*fl*C)\n",
+ "fc=math.sqrt(fl*fh)\n",
+ "Q=fc/(fh-fl)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Resistance is \", round(R1*10**-3,0),\"Kohm\"\n",
+ "print\"(ii) The value of Q is \",round(Q,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Resistance is 159.0 Kohm\n",
+ "(ii) The value of Q is 0.35\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.6 Page no 561"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.01 #F\n",
+ "Q=5\n",
+ "Fc=1000 #Hz\n",
+ "Av0=8\n",
+ "a=1000 #Hz\n",
+ "b=1.5*10**3 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R1=Q/(2.0*math.pi*C*Av0)\n",
+ "R2=(Q/(2.0*math.pi*Fc*C*(2*Q**2-Av0)))*10**3\n",
+ "R3=Q/(math.pi*Fc*C)\n",
+ "Rk=R2*((a/b)**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Resistances are \\n R1=\",round(R1,0),\"Kohm \\n R2=\",round(R2,0),\"Kohm \\n R3=\",round(R3*10**3,0),\"Kohm\"\n",
+ "print\"(ii) The value of resistance is \", round(Rk*10**3,0),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Resistances are \n",
+ " R1= 10.0 Kohm \n",
+ " R2= 2.0 Kohm \n",
+ " R3= 159.0 Kohm\n",
+ "(ii) The value of resistance is 842.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.7 Page no 563"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fl=100 #Hz\n",
+ "fh=1000 #Hz\n",
+ "R=159 #Kohm, for low pass filter\n",
+ "C=0.1 #micro F , for low pass filter\n",
+ "R1=15.9 # K ohm, for high pass filter\n",
+ "C1=0.01 #micro F , for high pass filter\n",
+ "R2=10.0 #K ohm\n",
+ "R3=10.0 #K ohm\n",
+ "R4=10.0 #K ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rom=(R2*R3*R4)/(R2+R3+R4)*10**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of resistance is \", round(Rom,1),\"Kohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of resistance is 3.3 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.8 Page no 564"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.047 #micro F\n",
+ "fn=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R=1/(2.0*math.pi*fn*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of resistance is \", round(R*10**3,0),\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistance is 68.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.9 Page no 566"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.01 #micro F\n",
+ "R=15 #K ohm\n",
+ "f=2.5 #K ohm\n",
+ "\n",
+ "import math\n",
+ "b=2*math.pi*f*C*R\n",
+ "a=-(2*math.atan(b)*180/3.14)\n",
+ "\n",
+ "#Result\n",
+ "print\"Phase angle is \", round(a,0)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Phase angle is -134.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.10 Page no 570"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=316.0 #ohm\n",
+ "a=10.0\n",
+ "R1=100 #ohm\n",
+ "F1=1.5 *10**3 #Hz\n",
+ "c=5.03*10**7\n",
+ "R6=1.8*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "R2=R/a\n",
+ "R3=R1/(R*a-1)\n",
+ "R4=c/F1\n",
+ "R7=6*R6 \n",
+ "R8=(R6*R7)/(R6+R7)\n",
+ "\n",
+ "print\"value of external component are \\n R2=\",R2,\"Kohm \\n R3=\",round(R3*10**2,1),\"Kohm \\n R4=R5=\", round(R4*10**-3,2)\n",
+ "print\" R7=\",R7*10**-3,\"Kohm \\n R8=\", round(R8*10**-3,3),\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "value of external component are \n",
+ " R2= 31.6 Kohm \n",
+ " R3= 3.2 Kohm \n",
+ " R4=R5= 33.53\n",
+ " R7= 10.8 Kohm \n",
+ " R8= 1.543 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap15_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap15_1.ipynb
new file mode 100755
index 00000000..f0a780cd
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap15_1.ipynb
@@ -0,0 +1,426 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:eb4b10e7f9c8c3f627f67e212344cd57fc6c1ddf81e7bbc925101a5b8d063fd2"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 15 Filters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.1 Page no 547"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fH=2000 #Hz\n",
+ "C=0.01*10**-6 #F\n",
+ "Af=2 #gain\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R=1/(2.0*math.pi*fH*C)\n",
+ "Rf=Af-1\n",
+ "\n",
+ "#Result\n",
+ "print\"In this case R1=Rf=10 Kohm is selected.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "In this case R1=Rf=10 Kohm is selected.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.2 Page no 547"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "wc=20.0 #K radian/s\n",
+ "C=0.01 #micro F\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/(wc*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of resistance is \", R,\"K ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistance is 5.0 K ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.3 Page no 550"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fh=2000 #Hz\n",
+ "C2=0.0033*10**-6 #F\n",
+ "C3=0.0033*10**-6 #F\n",
+ "R0=0.586 #ohm\n",
+ "R1=10000 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R=1/(2*math.pi*fh*C2)\n",
+ "Rf=R0*R1\n",
+ "\n",
+ "#Result\n",
+ "print\" R2=R3=\",round(R*10**-3,0),\"Kohm \\n C2=C3=\",C2 ,\"micro F \\n Rf=\",Rf*10**-3,\"Kohm \\n R1=\",R1*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " R2=R3= 24.0 Kohm \n",
+ " C2=C3= 3.3e-09 micro F \n",
+ " Rf= 5.86 Kohm \n",
+ " R1= 10.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.4 Page no 553"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=47*10**3 #ohm\n",
+ "C=0.0022*10**-6 #F\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "fl=1/(2.0*math.pi*R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The cutoff frequency is \", round(fl*10**-3,2),\"KHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The cutoff frequency is 1.54 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.5 Page no 557"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.01*10**-6 #f\n",
+ "fh=1000 #Hz\n",
+ "fl=100\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/(2.0*math.pi*fh*C)\n",
+ "R1=1/(2.0*math.pi*fl*C)\n",
+ "fc=math.sqrt(fl*fh)\n",
+ "Q=fc/(fh-fl)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Resistance is \", round(R1*10**-3,0),\"Kohm\"\n",
+ "print\"(ii) The value of Q is \",round(Q,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Resistance is 159.0 Kohm\n",
+ "(ii) The value of Q is 0.35\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.6 Page no 561"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.01 #F\n",
+ "Q=5\n",
+ "Fc=1000 #Hz\n",
+ "Av0=8\n",
+ "a=1000 #Hz\n",
+ "b=1.5*10**3 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R1=Q/(2.0*math.pi*C*Av0)\n",
+ "R2=(Q/(2.0*math.pi*Fc*C*(2*Q**2-Av0)))*10**3\n",
+ "R3=Q/(math.pi*Fc*C)\n",
+ "Rk=R2*((a/b)**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Resistances are \\n R1=\",round(R1,0),\"Kohm \\n R2=\",round(R2,0),\"Kohm \\n R3=\",round(R3*10**3,0),\"Kohm\"\n",
+ "print\"(ii) The value of resistance is \", round(Rk*10**3,0),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Resistances are \n",
+ " R1= 10.0 Kohm \n",
+ " R2= 2.0 Kohm \n",
+ " R3= 159.0 Kohm\n",
+ "(ii) The value of resistance is 842.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.7 Page no 563"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fl=100 #Hz\n",
+ "fh=1000 #Hz\n",
+ "R=159 #Kohm, for low pass filter\n",
+ "C=0.1 #micro F , for low pass filter\n",
+ "R1=15.9 # K ohm, for high pass filter\n",
+ "C1=0.01 #micro F , for high pass filter\n",
+ "R2=10.0 #K ohm\n",
+ "R3=10.0 #K ohm\n",
+ "R4=10.0 #K ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Rom=(R2*R3*R4)/(R2+R3+R4)*10**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of resistance is \", round(Rom,1),\"Kohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of resistance is 3.3 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.8 Page no 564"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.047 #micro F\n",
+ "fn=50 #Hz\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "R=1/(2.0*math.pi*fn*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of resistance is \", round(R*10**3,0),\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistance is 68.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.9 Page no 566"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C=0.01 #micro F\n",
+ "R=15 #K ohm\n",
+ "f=2.5 #K ohm\n",
+ "\n",
+ "import math\n",
+ "b=2*math.pi*f*C*R\n",
+ "a=-(2*math.atan(b)*180/3.14)\n",
+ "\n",
+ "#Result\n",
+ "print\"Phase angle is \", round(a,0)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Phase angle is -134.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.10 Page no 570"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=316.0 #ohm\n",
+ "a=10.0\n",
+ "R1=100 #ohm\n",
+ "F1=1.5 *10**3 #Hz\n",
+ "c=5.03*10**7\n",
+ "R6=1.8*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "R2=R/a\n",
+ "R3=R1/(R*a-1)\n",
+ "R4=c/F1\n",
+ "R7=6*R6 \n",
+ "R8=(R6*R7)/(R6+R7)\n",
+ "\n",
+ "print\"value of external component are \\n R2=\",R2,\"Kohm \\n R3=\",round(R3*10**2,1),\"Kohm \\n R4=R5=\", round(R4*10**-3,2)\n",
+ "print\" R7=\",R7*10**-3,\"Kohm \\n R8=\", round(R8*10**-3,3),\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "value of external component are \n",
+ " R2= 31.6 Kohm \n",
+ " R3= 3.2 Kohm \n",
+ " R4=R5= 33.53\n",
+ " R7= 10.8 Kohm \n",
+ " R8= 1.543 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap16.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap16.ipynb
new file mode 100755
index 00000000..876e1901
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap16.ipynb
@@ -0,0 +1,58 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:f0d106cb20e4ff801816370dc6f9b81f6c99454631c6ab3d945167ce9fa7c469"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 16 Measurment set-up"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.1 Page no 619"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fd=75 #KHz\n",
+ "fm=5.0 #KHz\n",
+ "\n",
+ "#Calculation\n",
+ "Mi=fd/fm\n",
+ "\n",
+ "#Result\n",
+ "print\"Modulation index is \", Mi"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Modulation index is 15.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap16_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap16_1.ipynb
new file mode 100755
index 00000000..ec1414f3
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap16_1.ipynb
@@ -0,0 +1,58 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:ff974df8ce9486ee9f772d0135b1a24d04773e3e5aa89510038bd431059e4876"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 16 Measurement set-up"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.1 Page no 619"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fd=75 #KHz\n",
+ "fm=5.0 #KHz\n",
+ "\n",
+ "#Calculation\n",
+ "Mi=fd/fm\n",
+ "\n",
+ "#Result\n",
+ "print\"Modulation index is \", Mi"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Modulation index is 15.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap17.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap17.ipynb
new file mode 100755
index 00000000..cf85c902
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap17.ipynb
@@ -0,0 +1,78 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8031d2b3be7285338d4c75ced4c49e8240652de917ff83e30f4a9fa6859d2b74"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 17 Data acquisition system"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.1 Page no 640"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "n=5 #bit\n",
+ "a=10\n",
+ "b=20\n",
+ "c=30\n",
+ "\n",
+ "#Calculation\n",
+ "Wlsb=-(1/2.0**n-1)\n",
+ "Wlsb2=(2/2.0**n)\n",
+ "Wlsb3=(4/2.0**n)\n",
+ "V1=a/(2.0**n-1)\n",
+ "V2=b/(2.0**n-1)\n",
+ "V3=c/(2.0**n-1)\n",
+ "Va=(a*2**4+a*2**3+0*2**2+a*2**1+a*2**0)/(2.0**5-1)\n",
+ "Vb=(a*2**4+0*2**3+a*2**2+a*2**1+0*2**0)/(2.0**5-1)\n",
+ "#Result\n",
+ "print\"(1) The LSB Weight is \", round(Wlsb,2)\n",
+ "print\"(2) The 2nd LSB Weight is \", round(Wlsb2,2),\"And 2rd LSB weight is \",Wlsb3\n",
+ "print\"(3) Ist LSB causes a change in output voltage is \", round(V1,1)\n",
+ "print\" 2nd LSB causes a change in output voltage is \", round(V2,1)\n",
+ "print\" 3rdLSB causes a change in output voltage is \", round(V1,1)\n",
+ "print\"(4) Output voltage for 11011 is \" ,round(Va,2),\"Volt\"\n",
+ "print\" Output voltage for 10110 is \" ,round(Vb,2),\"Volt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(1) The LSB Weight is 0.97\n",
+ "(2) The 2nd LSB Weight is 0.06 And 2rd LSB weight is 0.125\n",
+ "(3) Ist LSB causes a change in output voltage is 0.3\n",
+ " 2nd LSB causes a change in output voltage is 0.6\n",
+ " 3rdLSB causes a change in output voltage is 0.3\n",
+ "(4) Output voltage for 11011 is 8.71 Volt\n",
+ " Output voltage for 10110 is 7.1 Volt\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap17_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap17_1.ipynb
new file mode 100755
index 00000000..cf85c902
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap17_1.ipynb
@@ -0,0 +1,78 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8031d2b3be7285338d4c75ced4c49e8240652de917ff83e30f4a9fa6859d2b74"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 17 Data acquisition system"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.1 Page no 640"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "n=5 #bit\n",
+ "a=10\n",
+ "b=20\n",
+ "c=30\n",
+ "\n",
+ "#Calculation\n",
+ "Wlsb=-(1/2.0**n-1)\n",
+ "Wlsb2=(2/2.0**n)\n",
+ "Wlsb3=(4/2.0**n)\n",
+ "V1=a/(2.0**n-1)\n",
+ "V2=b/(2.0**n-1)\n",
+ "V3=c/(2.0**n-1)\n",
+ "Va=(a*2**4+a*2**3+0*2**2+a*2**1+a*2**0)/(2.0**5-1)\n",
+ "Vb=(a*2**4+0*2**3+a*2**2+a*2**1+0*2**0)/(2.0**5-1)\n",
+ "#Result\n",
+ "print\"(1) The LSB Weight is \", round(Wlsb,2)\n",
+ "print\"(2) The 2nd LSB Weight is \", round(Wlsb2,2),\"And 2rd LSB weight is \",Wlsb3\n",
+ "print\"(3) Ist LSB causes a change in output voltage is \", round(V1,1)\n",
+ "print\" 2nd LSB causes a change in output voltage is \", round(V2,1)\n",
+ "print\" 3rdLSB causes a change in output voltage is \", round(V1,1)\n",
+ "print\"(4) Output voltage for 11011 is \" ,round(Va,2),\"Volt\"\n",
+ "print\" Output voltage for 10110 is \" ,round(Vb,2),\"Volt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(1) The LSB Weight is 0.97\n",
+ "(2) The 2nd LSB Weight is 0.06 And 2rd LSB weight is 0.125\n",
+ "(3) Ist LSB causes a change in output voltage is 0.3\n",
+ " 2nd LSB causes a change in output voltage is 0.6\n",
+ " 3rdLSB causes a change in output voltage is 0.3\n",
+ "(4) Output voltage for 11011 is 8.71 Volt\n",
+ " Output voltage for 10110 is 7.1 Volt\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap20.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap20.ipynb
new file mode 100755
index 00000000..6483ad2a
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap20.ipynb
@@ -0,0 +1,129 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:188a137b5dad28c9242953d4ba18308d43530d869157a87980207688e00b52f5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 20 Measurment of power"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.1 Page no 721"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V1=20 #volts\n",
+ "V2=30 #Volts\n",
+ "R1=100 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "p=(V2**2-V1**2)/(4.0*R1)\n",
+ "\n",
+ "#Result\n",
+ "print\"RF test power is \", p,\"Watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "RF test power is 1.25 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.2 Page no 725"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "m=200 #gm\n",
+ "sp=1 #cal/gm degree C\n",
+ "T1=30 #degree C\n",
+ "T2=40 #degree C\n",
+ "\n",
+ "#Calculation\n",
+ "P=4.18*m*sp*(T2-T1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The power is \",round(P*10**-3,1),\"K watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The power is 8.4 K watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.3 Page no 728"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "V1=8.0 #Volts\n",
+ "V2=2.0 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "SWR=(V1+V2)/(V1-V2)\n",
+ "print\"The standing wave ratio is \", round(SWR,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The standing wave ratio is 1.67\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap20_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap20_1.ipynb
new file mode 100755
index 00000000..6483ad2a
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap20_1.ipynb
@@ -0,0 +1,129 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:188a137b5dad28c9242953d4ba18308d43530d869157a87980207688e00b52f5"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 20 Measurment of power"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.1 Page no 721"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V1=20 #volts\n",
+ "V2=30 #Volts\n",
+ "R1=100 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "p=(V2**2-V1**2)/(4.0*R1)\n",
+ "\n",
+ "#Result\n",
+ "print\"RF test power is \", p,\"Watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "RF test power is 1.25 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.2 Page no 725"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "m=200 #gm\n",
+ "sp=1 #cal/gm degree C\n",
+ "T1=30 #degree C\n",
+ "T2=40 #degree C\n",
+ "\n",
+ "#Calculation\n",
+ "P=4.18*m*sp*(T2-T1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The power is \",round(P*10**-3,1),\"K watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The power is 8.4 K watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.3 Page no 728"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "V1=8.0 #Volts\n",
+ "V2=2.0 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "SWR=(V1+V2)/(V1-V2)\n",
+ "print\"The standing wave ratio is \", round(SWR,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The standing wave ratio is 1.67\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap7.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap7.ipynb
new file mode 100755
index 00000000..55d579f9
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap7.ipynb
@@ -0,0 +1,94 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:c42ad53e71f05c7daed7df58d8caaed6d1cdccf89baa99b8fd442bc5fe5611d6"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Cahpter 7 oscilloscope"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 Page no 222"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=0.5 #Volts\n",
+ "n=3\n",
+ "\n",
+ "#Calculation\n",
+ "V1=V*n\n",
+ "\n",
+ "#Result\n",
+ "print\"Peak to peak amplitude of the signal is \", V1,\"Vp-p\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Peak to peak amplitude of the signal is 1.5 Vp-p\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.2 Page no 223"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "t=2*10**-6 #s\n",
+ "n=4\n",
+ "\n",
+ "#Calculation\n",
+ "T=t*n\n",
+ "f=(1/T)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Frequency of the signal is \", f,\"KHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of the signal is 125.0 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/Chap7_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/Chap7_1.ipynb
new file mode 100755
index 00000000..ccfcbb02
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/Chap7_1.ipynb
@@ -0,0 +1,94 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:953d26fb666c1230bc683887cd7369146814cb5c3509af93cb69a75904089e3f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 oscilloscope"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 Page no 222"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=0.5 #Volts\n",
+ "n=3\n",
+ "\n",
+ "#Calculation\n",
+ "V1=V*n\n",
+ "\n",
+ "#Result\n",
+ "print\"Peak to peak amplitude of the signal is \", V1,\"Vp-p\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Peak to peak amplitude of the signal is 1.5 Vp-p\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.2 Page no 223"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "t=2*10**-6 #s\n",
+ "n=4\n",
+ "\n",
+ "#Calculation\n",
+ "T=t*n\n",
+ "f=(1/T)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Frequency of the signal is \", f,\"KHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency of the signal is 125.0 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/README.txt b/electronic_instrumentation_by_H_S_Kalsi/README.txt
new file mode 100755
index 00000000..4a166aa3
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/README.txt
@@ -0,0 +1,10 @@
+Contributed By: Ruchi Mittal
+Course: others
+College/Institute/Organization: aggarwal public school
+Department/Designation: commerce
+Book Title: electronic instrumentation
+Author: H S Kalsi
+Publisher: Tata McGraw hill education private limited
+Year of publication: 1995
+Isbn: ISBN-13: 9780070702066, ISBN-10: 0070702063
+Edition: third \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap1.ipynb
new file mode 100755
index 00000000..602a3854
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap1.ipynb
@@ -0,0 +1,496 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2624a2ba41f12934f33163ef62780c9504a218c824a031aeca0eae58b845a3fc"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 Qualities of measurments"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 (a) Page no 3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=80.0 #expected value of voltage in Volts\n",
+ "V1=79 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "E=V-V1\n",
+ "E1=((V-V1)/V)*100\n",
+ "E2=1-((V-V1)/V)\n",
+ "A=100*E2\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Absolute error is \",E,\"V\"\n",
+ "print\"(ii) percent error is \", E1,\"%\"\n",
+ "print\"(iii) reletive error is \", E2\n",
+ "print\"(iv) percent of accuracy is \", A,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Absolute error is 1.0 V\n",
+ "(ii) percent error is 1.25 %\n",
+ "(iii) reletive error is 0.9875\n",
+ "(iv) percent of accuracy is 98.75 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 (b) Page no 3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Yn=20.0 #mA\n",
+ "Xn=18 #mA\n",
+ "\n",
+ "#Calculation\n",
+ "e=Yn-Xn\n",
+ "E=(e/Yn)*100\n",
+ "A=1-(e/Yn)\n",
+ "a=A*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Absolute error is \", e,\"mA\"\n",
+ "print\"(ii) Percent error is \",E,\"%\"\n",
+ "print\"(iii) Relative accuracy is \",A\n",
+ "print\"(iv) Percent accuracy is \",a,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Absolute error is 2.0 mA\n",
+ "(ii) Percent error is 10.0 %\n",
+ "(iii) Relative accuracy is 0.9\n",
+ "(iv) Percent accuracy is 90.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 Page no 4"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "x1=98\n",
+ "x2=101\n",
+ "x3=102\n",
+ "x4=97\n",
+ "x5=101\n",
+ "x6=100\n",
+ "x7=103\n",
+ "x8=98\n",
+ "x9=106\n",
+ "x10=99\n",
+ "\n",
+ "#Calculation\n",
+ "X=(x1+x2+x3+x4+x5+x6+x7+x8+x9+x10)/10.0\n",
+ "P=(x6/X)\n",
+ "\n",
+ "#Result\n",
+ "print\"Precision of the 6th measurment is \",round(P,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Precision of the 6th measurment is 0.995\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3(a) Page no 6"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "V=80 #milliammeter readings\n",
+ "I=10.0 #mA\n",
+ "V1=150 #Volts\n",
+ "R1=1000 #ohm/volt\n",
+ "\n",
+ "#Calculation\n",
+ "R=V/I\n",
+ "Rv=R1*V1\n",
+ "Rx=(R*V1)/(V1-R)\n",
+ "E=((Rx-R)/Rx)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Apparent resistance of the unknown resistance \",R,\"K ohm\"\n",
+ "print \"(ii) Actual resistance of the unknown resistance is \",round(Rx,2),\"K ohm\"\n",
+ "print \"(iii) Error due to the loading effet of the voltmeter \",round(E,1),\"%\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Apparent resistance of the unknown resistance 8.0 K ohm\n",
+ "(ii) Actual resistance of the unknown resistance is 8.45 K ohm\n",
+ "(iii) Error due to the loading effet of the voltmeter 5.3 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3(b) Page no 7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=30 #Volts\n",
+ "V1=150 #Volts\n",
+ "I=0.6 #A\n",
+ "R1=1000 #ohm/volts\n",
+ "\n",
+ "#Calculation\n",
+ "R=V/I\n",
+ "Rv=(R1*V1)\n",
+ "Rx=(R*Rv)/(Rv-R)\n",
+ "E=((Rx-R)/Rx)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) total circuit resistance is \", R,\"ohm\"\n",
+ "print \"(ii) The voltmeter resistance is \",round(Rx,2)\n",
+ "print\"(iii) Error due to loading effect of voltmeter \", round(E,3),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) total circuit resistance is 50.0 ohm\n",
+ "(ii) The voltmeter resistance is 50.02\n",
+ "(iii) Error due to loading effect of voltmeter 0.033 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 113
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "x1=49.7\n",
+ "x2=50.1\n",
+ "x3=50.2\n",
+ "x4=49.6\n",
+ "x5=49.7\n",
+ "\n",
+ "#Calculation\n",
+ "X=(x1+x2+x3+x4+x5)/5.0\n",
+ "d1=x1-X\n",
+ "d2=x2-X\n",
+ "d3=x3-X\n",
+ "d4=x4-X\n",
+ "d5=x5-X\n",
+ "dtotal=(d1+d2+d3+d4+d5)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Arithmetic mean is \", X\n",
+ "print\"(ii) derivations from each value are\"\n",
+ "print \"d1=\",d1,\"\\nd2=\",d2,\"\\nd3=\",d3,\"\\nd4=\",d4,\"\\nd5=\",d5\n",
+ "print\"(iii) The algebric sum of derivative is \",round(dtotal,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Arithmetic mean is 49.86\n",
+ "(ii) derivations from each value are\n",
+ "d1= -0.16 \n",
+ "d2= 0.24 \n",
+ "d3= 0.34 \n",
+ "d4= -0.26 \n",
+ "d5= -0.16\n",
+ "(iii) The algebric sum of derivative is 0.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 77
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.5 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "x1=49.7\n",
+ "x2=50.1\n",
+ "x3=50.2\n",
+ "x4=49.6\n",
+ "x5=49.7\n",
+ "\n",
+ "#Calculation\n",
+ "X=(x1+x2+x3+x4+x5)/5.0\n",
+ "d1=x1-X\n",
+ "d2=x2-X\n",
+ "d3=x3-X\n",
+ "d4=x4-X\n",
+ "d5=x5-X\n",
+ "dtotal=(d1+d2+d3+d4+d5)/5.0\n",
+ "\n",
+ "#Result\n",
+ "print\"The average deviation is \",round(dtotal*10**14,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The average deviation is 0.284\n"
+ ]
+ }
+ ],
+ "prompt_number": 86
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "d1= -0.16 \n",
+ "d2= 0.24 \n",
+ "d3= 0.34 \n",
+ "d4= -0.26 \n",
+ "d5= -0.16\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "D=math.sqrt((d1**2+d2**2+d3**2+d4**2+d5**2)/4.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"The standard deviation is \",round(D,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The standard deviation is 0.27\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.7 Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=600 #Volts\n",
+ "V1=250.0 #Volts\n",
+ "a=0.02\n",
+ "\n",
+ "#Calculation\n",
+ "M=a*V\n",
+ "E=(M/V1)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"The limited error is \", E,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The limited error is 4.8 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 94
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 (a) Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=0.02\n",
+ "I=500 #mA\n",
+ "I1=300.0 #mA\n",
+ "\n",
+ "#Calculation\n",
+ "M1=I*a\n",
+ "M2=(M1/I1)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"Limiting error is \", round(M2,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Limiting error is 3.3 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 (b) Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=70.0 #Volts\n",
+ "V1=100 #Volts\n",
+ "I=80.0 #mA\n",
+ "I1=150 #mA\n",
+ "a=0.015\n",
+ "\n",
+ "#calculation\n",
+ "M=a*V1\n",
+ "E=(M/V)*100\n",
+ "E1=a*I1\n",
+ "E2=(E1/I)*100\n",
+ "E3=E+E2\n",
+ "\n",
+ "#Result\n",
+ "print\"limiting error is \",round (E3,3),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "limiting error is 4.955 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 102
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap1_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap1_1.ipynb
new file mode 100755
index 00000000..40d6bd4d
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap1_1.ipynb
@@ -0,0 +1,496 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:51d805a6704370d51c8924e78b695ede1f2e0cf7db8506765ce19861dd684c21"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 Qualities of measurements"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 (a) Page no 3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=80.0 #expected value of voltage in Volts\n",
+ "V1=79 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "E=V-V1\n",
+ "E1=((V-V1)/V)*100\n",
+ "E2=1-((V-V1)/V)\n",
+ "A=100*E2\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Absolute error is \",E,\"V\"\n",
+ "print\"(ii) percent error is \", E1,\"%\"\n",
+ "print\"(iii) reletive error is \", E2\n",
+ "print\"(iv) percent of accuracy is \", A,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Absolute error is 1.0 V\n",
+ "(ii) percent error is 1.25 %\n",
+ "(iii) reletive error is 0.9875\n",
+ "(iv) percent of accuracy is 98.75 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 (b) Page no 3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Yn=20.0 #mA\n",
+ "Xn=18 #mA\n",
+ "\n",
+ "#Calculation\n",
+ "e=Yn-Xn\n",
+ "E=(e/Yn)*100\n",
+ "A=1-(e/Yn)\n",
+ "a=A*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Absolute error is \", e,\"mA\"\n",
+ "print\"(ii) Percent error is \",E,\"%\"\n",
+ "print\"(iii) Relative accuracy is \",A\n",
+ "print\"(iv) Percent accuracy is \",a,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Absolute error is 2.0 mA\n",
+ "(ii) Percent error is 10.0 %\n",
+ "(iii) Relative accuracy is 0.9\n",
+ "(iv) Percent accuracy is 90.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 Page no 4"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "x1=98\n",
+ "x2=101\n",
+ "x3=102\n",
+ "x4=97\n",
+ "x5=101\n",
+ "x6=100\n",
+ "x7=103\n",
+ "x8=98\n",
+ "x9=106\n",
+ "x10=99\n",
+ "\n",
+ "#Calculation\n",
+ "X=(x1+x2+x3+x4+x5+x6+x7+x8+x9+x10)/10.0\n",
+ "P=(x6/X)\n",
+ "\n",
+ "#Result\n",
+ "print\"Precision of the 6th measurment is \",round(P,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Precision of the 6th measurment is 0.995\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3(a) Page no 6"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "V=80 #milliammeter readings\n",
+ "I=10.0 #mA\n",
+ "V1=150 #Volts\n",
+ "R1=1000 #ohm/volt\n",
+ "\n",
+ "#Calculation\n",
+ "R=V/I\n",
+ "Rv=R1*V1\n",
+ "Rx=(R*V1)/(V1-R)\n",
+ "E=((Rx-R)/Rx)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Apparent resistance of the unknown resistance \",R,\"K ohm\"\n",
+ "print \"(ii) Actual resistance of the unknown resistance is \",round(Rx,2),\"K ohm\"\n",
+ "print \"(iii) Error due to the loading effet of the voltmeter \",round(E,1),\"%\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Apparent resistance of the unknown resistance 8.0 K ohm\n",
+ "(ii) Actual resistance of the unknown resistance is 8.45 K ohm\n",
+ "(iii) Error due to the loading effet of the voltmeter 5.3 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3(b) Page no 7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=30 #Volts\n",
+ "V1=150 #Volts\n",
+ "I=0.6 #A\n",
+ "R1=1000 #ohm/volts\n",
+ "\n",
+ "#Calculation\n",
+ "R=V/I\n",
+ "Rv=(R1*V1)\n",
+ "Rx=(R*Rv)/(Rv-R)\n",
+ "E=((Rx-R)/Rx)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) total circuit resistance is \", R,\"ohm\"\n",
+ "print \"(ii) The voltmeter resistance is \",round(Rx,2)\n",
+ "print\"(iii) Error due to loading effect of voltmeter \", round(E,3),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) total circuit resistance is 50.0 ohm\n",
+ "(ii) The voltmeter resistance is 50.02\n",
+ "(iii) Error due to loading effect of voltmeter 0.033 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 113
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "x1=49.7\n",
+ "x2=50.1\n",
+ "x3=50.2\n",
+ "x4=49.6\n",
+ "x5=49.7\n",
+ "\n",
+ "#Calculation\n",
+ "X=(x1+x2+x3+x4+x5)/5.0\n",
+ "d1=x1-X\n",
+ "d2=x2-X\n",
+ "d3=x3-X\n",
+ "d4=x4-X\n",
+ "d5=x5-X\n",
+ "dtotal=(d1+d2+d3+d4+d5)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Arithmetic mean is \", X\n",
+ "print\"(ii) derivations from each value are\"\n",
+ "print \"d1=\",d1,\"\\nd2=\",d2,\"\\nd3=\",d3,\"\\nd4=\",d4,\"\\nd5=\",d5\n",
+ "print\"(iii) The algebric sum of derivative is \",round(dtotal,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Arithmetic mean is 49.86\n",
+ "(ii) derivations from each value are\n",
+ "d1= -0.16 \n",
+ "d2= 0.24 \n",
+ "d3= 0.34 \n",
+ "d4= -0.26 \n",
+ "d5= -0.16\n",
+ "(iii) The algebric sum of derivative is 0.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 77
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.5 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "x1=49.7\n",
+ "x2=50.1\n",
+ "x3=50.2\n",
+ "x4=49.6\n",
+ "x5=49.7\n",
+ "\n",
+ "#Calculation\n",
+ "X=(x1+x2+x3+x4+x5)/5.0\n",
+ "d1=x1-X\n",
+ "d2=x2-X\n",
+ "d3=x3-X\n",
+ "d4=x4-X\n",
+ "d5=x5-X\n",
+ "dtotal=(d1+d2+d3+d4+d5)/5.0\n",
+ "\n",
+ "#Result\n",
+ "print\"The average deviation is \",round(dtotal*10**14,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The average deviation is 0.284\n"
+ ]
+ }
+ ],
+ "prompt_number": 86
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "d1= -0.16 \n",
+ "d2= 0.24 \n",
+ "d3= 0.34 \n",
+ "d4= -0.26 \n",
+ "d5= -0.16\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "D=math.sqrt((d1**2+d2**2+d3**2+d4**2+d5**2)/4.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"The standard deviation is \",round(D,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The standard deviation is 0.27\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.7 Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=600 #Volts\n",
+ "V1=250.0 #Volts\n",
+ "a=0.02\n",
+ "\n",
+ "#Calculation\n",
+ "M=a*V\n",
+ "E=(M/V1)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"The limited error is \", E,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The limited error is 4.8 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 94
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 (a) Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=0.02\n",
+ "I=500 #mA\n",
+ "I1=300.0 #mA\n",
+ "\n",
+ "#Calculation\n",
+ "M1=I*a\n",
+ "M2=(M1/I1)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"Limiting error is \", round(M2,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Limiting error is 3.3 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 (b) Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=70.0 #Volts\n",
+ "V1=100 #Volts\n",
+ "I=80.0 #mA\n",
+ "I1=150 #mA\n",
+ "a=0.015\n",
+ "\n",
+ "#calculation\n",
+ "M=a*V1\n",
+ "E=(M/V)*100\n",
+ "E1=a*I1\n",
+ "E2=(E1/I)*100\n",
+ "E3=E+E2\n",
+ "\n",
+ "#Result\n",
+ "print\"limiting error is \",round (E3,3),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "limiting error is 4.955 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 102
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap2.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap2.ipynb
new file mode 100755
index 00000000..96e1d472
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap2.ipynb
@@ -0,0 +1,103 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:25c836d1606fcfdd3be702967e2c46de8c90c4ed0ada91a05ae2508868159a1c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2 Indicators and display devices"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 (a) Page no 27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N=100\n",
+ "W=20*10**-3 #Width of the coil in m\n",
+ "A=30*10**-3 #Depth of the coil in mm\n",
+ "B=0.1 #flux density in wb/m**2\n",
+ "I=10*10**-3 #current in A\n",
+ "K=2.0*10**-6 #Nm/degree\n",
+ "\n",
+ "#Calculation\n",
+ "T=B*A*W*I*N\n",
+ "x=T/K\n",
+ "\n",
+ "#Result\n",
+ "print\"The deflection torque is \",T,\"m\"\n",
+ "print\"The deflection is \", x,\"degree\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The deflection torque is 6e-05 m\n",
+ "The deflection is 30.0 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 (b) Page no 27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N=100\n",
+ "A=20*10**-3 #m\n",
+ "d=30*10**-3 #m\n",
+ "D=0.1 #Wb/m**2\n",
+ "t=30*10**-6 #Nm\n",
+ "\n",
+ "#Calculation\n",
+ "I=(t/(D*d*A*N))*10**3\n",
+ "\n",
+ "#Result\n",
+ "print\"The current through the moving coil is \", I,\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The current through the moving coil is 5.0 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap2_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap2_1.ipynb
new file mode 100755
index 00000000..96e1d472
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap2_1.ipynb
@@ -0,0 +1,103 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:25c836d1606fcfdd3be702967e2c46de8c90c4ed0ada91a05ae2508868159a1c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2 Indicators and display devices"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 (a) Page no 27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N=100\n",
+ "W=20*10**-3 #Width of the coil in m\n",
+ "A=30*10**-3 #Depth of the coil in mm\n",
+ "B=0.1 #flux density in wb/m**2\n",
+ "I=10*10**-3 #current in A\n",
+ "K=2.0*10**-6 #Nm/degree\n",
+ "\n",
+ "#Calculation\n",
+ "T=B*A*W*I*N\n",
+ "x=T/K\n",
+ "\n",
+ "#Result\n",
+ "print\"The deflection torque is \",T,\"m\"\n",
+ "print\"The deflection is \", x,\"degree\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The deflection torque is 6e-05 m\n",
+ "The deflection is 30.0 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 (b) Page no 27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N=100\n",
+ "A=20*10**-3 #m\n",
+ "d=30*10**-3 #m\n",
+ "D=0.1 #Wb/m**2\n",
+ "t=30*10**-6 #Nm\n",
+ "\n",
+ "#Calculation\n",
+ "I=(t/(D*d*A*N))*10**3\n",
+ "\n",
+ "#Result\n",
+ "print\"The current through the moving coil is \", I,\"mA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The current through the moving coil is 5.0 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap3.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap3.ipynb
new file mode 100755
index 00000000..f0592fc1
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap3.ipynb
@@ -0,0 +1,195 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:607025d5b183f599aab55f55aee44964f766dd94a0ecfa331fb5c9e733e05bf7"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3 Ammeters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 (a) Page no 65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=100 #ohm\n",
+ "Im=1*10**-3 #A\n",
+ "I=100*10**-3\n",
+ "\n",
+ "#Calculation\n",
+ "Rsh=Im*R/(I-Im)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of shunt resistance is \", round(Rsh,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of shunt resistance is 1.01 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 (b) Page no 65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=100.0*10**-6 #A\n",
+ "Rm=500 #ohm\n",
+ "I=100*10**-3 #A\n",
+ "\n",
+ "#calculation\n",
+ "n=I/Im\n",
+ "Rsh=Rm/(n-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of required shunt is \", round(Rsh,2),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of required shunt is 0.5 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 Page no 66"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=10.0*10**-3 #A\n",
+ "Im=1.0*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "I1=20.0*10**-3\n",
+ "I2=50.0*10**-3\n",
+ "\n",
+ "#Calculation\n",
+ "# For the range of 0-10 mA\n",
+ "Rsh1=(Im*Rm)/(I-Im) \n",
+ "\n",
+ "# For the range of 0-20 mA\n",
+ "Rsh2=(Im*Rm)/(I1-Im) \n",
+ "\n",
+ "# For the range of 0-50 mA\n",
+ "Rsh3=(Im*Rm)/(I2-Im)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of the shunt resistance required for the range 0-10 mA\", round(Rsh1,2),\"ohm\"\n",
+ "print\"The value of the shunt resistance required for the range 0-20 mA\", round(Rsh2,1),\"ohm\"\n",
+ "print\"The value of the shunt resistance required for the range 0-50 mA\", round(Rsh3,3),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of the shunt resistance required for the range 0-10 mA 11.11 ohm\n",
+ "The value of the shunt resistance required for the range 0-20 mA 5.3 ohm\n",
+ "The value of the shunt resistance required for the range 0-50 mA 2.041 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 page no 67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=10.0*10**-3 #A\n",
+ "Rm=500 #ohm\n",
+ "I=1000.0*10**-3 #A\n",
+ "I1=5000.0*10**-3 #A\n",
+ "I2=10000.0*10**-3 #A\n",
+ "\n",
+ "#Calculation\n",
+ "# For the range of 0-1A, i.e, 1000mA\n",
+ "Rsh1=(Im*Rm)/(I-Im) \n",
+ "\n",
+ "# For the range of 0-5A, i.e, 5000mA\n",
+ "Rsh2=(Im*Rm)/(I1-Im) \n",
+ "\n",
+ "# For the range of 0-10A, i.e, 10000mA\n",
+ "Rsh3=(Im*Rm)/(I2-Im)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of shunt resistance for the range 0-1A\", round(Rsh1,2),\"ohm\"\n",
+ "print\"The value of shunt resistance for the range 0-5A\", round(Rsh2,3),\"ohm\"\n",
+ "print\"The value of shunt resistance for the range 0-10A\", round(Rsh3*10**-1,3),\"ohm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of shunt resistance for the range 0-1A 5.05 ohm\n",
+ "The value of shunt resistance for the range 0-5A 1.002 ohm\n",
+ "The value of shunt resistance for the range 0-10A 0.05 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap3_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap3_1.ipynb
new file mode 100755
index 00000000..f0592fc1
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap3_1.ipynb
@@ -0,0 +1,195 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:607025d5b183f599aab55f55aee44964f766dd94a0ecfa331fb5c9e733e05bf7"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3 Ammeters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 (a) Page no 65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=100 #ohm\n",
+ "Im=1*10**-3 #A\n",
+ "I=100*10**-3\n",
+ "\n",
+ "#Calculation\n",
+ "Rsh=Im*R/(I-Im)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of shunt resistance is \", round(Rsh,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of shunt resistance is 1.01 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 (b) Page no 65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=100.0*10**-6 #A\n",
+ "Rm=500 #ohm\n",
+ "I=100*10**-3 #A\n",
+ "\n",
+ "#calculation\n",
+ "n=I/Im\n",
+ "Rsh=Rm/(n-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of required shunt is \", round(Rsh,2),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of required shunt is 0.5 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 Page no 66"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=10.0*10**-3 #A\n",
+ "Im=1.0*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "I1=20.0*10**-3\n",
+ "I2=50.0*10**-3\n",
+ "\n",
+ "#Calculation\n",
+ "# For the range of 0-10 mA\n",
+ "Rsh1=(Im*Rm)/(I-Im) \n",
+ "\n",
+ "# For the range of 0-20 mA\n",
+ "Rsh2=(Im*Rm)/(I1-Im) \n",
+ "\n",
+ "# For the range of 0-50 mA\n",
+ "Rsh3=(Im*Rm)/(I2-Im)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of the shunt resistance required for the range 0-10 mA\", round(Rsh1,2),\"ohm\"\n",
+ "print\"The value of the shunt resistance required for the range 0-20 mA\", round(Rsh2,1),\"ohm\"\n",
+ "print\"The value of the shunt resistance required for the range 0-50 mA\", round(Rsh3,3),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of the shunt resistance required for the range 0-10 mA 11.11 ohm\n",
+ "The value of the shunt resistance required for the range 0-20 mA 5.3 ohm\n",
+ "The value of the shunt resistance required for the range 0-50 mA 2.041 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 page no 67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=10.0*10**-3 #A\n",
+ "Rm=500 #ohm\n",
+ "I=1000.0*10**-3 #A\n",
+ "I1=5000.0*10**-3 #A\n",
+ "I2=10000.0*10**-3 #A\n",
+ "\n",
+ "#Calculation\n",
+ "# For the range of 0-1A, i.e, 1000mA\n",
+ "Rsh1=(Im*Rm)/(I-Im) \n",
+ "\n",
+ "# For the range of 0-5A, i.e, 5000mA\n",
+ "Rsh2=(Im*Rm)/(I1-Im) \n",
+ "\n",
+ "# For the range of 0-10A, i.e, 10000mA\n",
+ "Rsh3=(Im*Rm)/(I2-Im)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of shunt resistance for the range 0-1A\", round(Rsh1,2),\"ohm\"\n",
+ "print\"The value of shunt resistance for the range 0-5A\", round(Rsh2,3),\"ohm\"\n",
+ "print\"The value of shunt resistance for the range 0-10A\", round(Rsh3*10**-1,3),\"ohm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of shunt resistance for the range 0-1A 5.05 ohm\n",
+ "The value of shunt resistance for the range 0-5A 1.002 ohm\n",
+ "The value of shunt resistance for the range 0-10A 0.05 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap4.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap4.ipynb
new file mode 100755
index 00000000..c74b96bf
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap4.ipynb
@@ -0,0 +1,1235 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6894c833baa0eedea1946bb8c106382f5457dd2d09fc25376fba7e033019797b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4 Voltmeters and multimeters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 Page no 80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=200.0*10**-6 # A\n",
+ "\n",
+ "#calculation\n",
+ "s=(1/I)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Sensitivity is \", s,\"Kohm/V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sensitivity is 5.0 Kohm/V\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 (a) Page no 81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=10 #Volt\n",
+ "Im=50.0*10**-6 #A\n",
+ "Rm=500 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R=((V/Im)-Rm)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Reading of resistance is \", R,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Reading of resistance is 199.5 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 (b) Page no 81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=500.0*10**-6 #A\n",
+ "V=50 #Volts\n",
+ "Rm=1*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/Im\n",
+ "Rs=(S*V)-Rm\n",
+ "\n",
+ "\n",
+ "print\"The value of multiplier resistance is \", Rs*10**-3,\"K ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 99.0 K ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 Page no 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Im=50.0*10**-6 #A\n",
+ "Rm=500.0 #ohm\n",
+ "V=20 #Volts\n",
+ "V1=50 #volts\n",
+ "V2=100 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "# For range 0-20 V\n",
+ "Rs=V/(Im)-Rm\n",
+ "\n",
+ "# for range 0-50 V\n",
+ "Rs1=V1/(Im)-Rm\n",
+ "\n",
+ "# for the range of 0-100 V\n",
+ "Rs2=V2/(Im)-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier required for 0-20 V is \", Rs*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-50 V is \", Rs1*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-100 V is \", Rs2*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier required for 0-20 V is 399.5 Kohm\n",
+ "The value of multiplier required for 0-50 V is 999.5 Kohm\n",
+ "The value of multiplier required for 0-100 V is 1999.5 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 Page no 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=10*10**-3 #A\n",
+ "Rm=500 #ohm\n",
+ "V=20 #Volts\n",
+ "V1=50 #volts\n",
+ "V2=100 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "# For range 0-20 V\n",
+ "Rs=V/(Im)-Rm\n",
+ "\n",
+ "# for range 0-50 V\n",
+ "Rs1=V1/(Im)-Rm\n",
+ "\n",
+ "# for the range of 0-100 V\n",
+ "Rs2=V2/(Im)-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier required for 0-20 V is \", Rs*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-50 V is \", Rs1*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-100 V is \", Rs2*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier required for 0-20 V is 1.5 Kohm\n",
+ "The value of multiplier required for 0-50 V is 4.5 Kohm\n",
+ "The value of multiplier required for 0-100 V is 9.5 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.5 Page no 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=10.0*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "V=5 #Volts\n",
+ "V1=50 #Volts\n",
+ "V2=100 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=V/Im\n",
+ "R3=Rt-Rm\n",
+ "Rt1=V1/Im\n",
+ "R2=Rt1-(R3+Rm)\n",
+ "Rt2=V2/Im\n",
+ "R1=Rt2-(R2+R3+Rm)\n",
+ "\n",
+ "#Result\n",
+ "print\" R1= \", R1*10**-3,\"Kohm\",\"\\n R2= \",R2*10**-3,\"Kohm\",\"\\n R3= \",R3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " R1= 5.0 Kohm \n",
+ " R2= 4.5 Kohm \n",
+ " R3= 400.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.6 Page no 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=10 #Volts\n",
+ "I=2.0*10**-3 #A\n",
+ "Rm=50 #ohm\n",
+ "V1=50 #Volts\n",
+ "V2=100 #Volts\n",
+ "V3=250 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=(V/I)\n",
+ "R4=(Rt-Rm)\n",
+ "Rt1=V1/I\n",
+ "R3=Rt1-(R4+Rm)\n",
+ "Rt2=V2/I\n",
+ "R2=Rt2-(R3+R4+Rm)\n",
+ "Rt3=V3/I\n",
+ "R1=Rt3-(R2+R3+R4+Rm)\n",
+ "\n",
+ "#Result\n",
+ "print\"Resistances are R1=\", R1*10**-3,\"Kohm \",\"\\n R2=\",R2*10**-3,\"Kohm\",\"\\n R3=\",R3*10**-3,\"Kohm\",\"\\n R4=\",R4,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistances are R1= 75.0 Kohm \n",
+ " R2= 25.0 Kohm \n",
+ " R3= 20.0 Kohm \n",
+ " R4= 4950.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.7 Page no 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=200.0*10**-6 #A\n",
+ "V=50 #v\n",
+ "Rm=100 #ohm\n",
+ "\n",
+ "#Calculation \n",
+ "S=(1/I)\n",
+ "Rs=((S*V)-Rm)*10**-3\n",
+ "\n",
+ "#Result \n",
+ "print\"The value of multiplier resistance is \", Rs,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 249.9 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 48
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.8 Page no 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=50.0*10**-6 #A\n",
+ "V=5 #Volts\n",
+ "Rm=1000 #ohm\n",
+ "V1=10 #volts\n",
+ "V2=50\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/I\n",
+ "# for 5 volt range\n",
+ "Rs1=((S*V)-Rm)*10**-3\n",
+ "\n",
+ "# for 10 volt range \n",
+ "Rs2=((S*V1)-Rm)*10**-3\n",
+ "\n",
+ "# for 50 volt range\n",
+ "Rs3=((S*V2)-Rm)*10**-3\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \", Rs1,\"Kohm\"\n",
+ "print\"The value of multiplier resistance is \", Rs2,\"Kohm\"\n",
+ "print\"The value of multiplier resistance is \", Rs3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 99.0 Kohm\n",
+ "The value of multiplier resistance is 199.0 Kohm\n",
+ "The value of multiplier resistance is 999.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 Page no 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=50.0*10**-6 #A\n",
+ "V=3 #volts\n",
+ "V1=10 #Volts\n",
+ "V2=30 #Volts\n",
+ "Rm=1000 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/Im\n",
+ "Rs=S*V-Rm\n",
+ "Rs1=S*V1-Rm\n",
+ "Rs2=S*V2-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \",\"\\n Rs1= \", Rs*10**-3,\"Kohm \\n Rs2= \",Rs1*10**-3,\"Kohm \\n Rs3= \",Rs2*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is \n",
+ " Rs1= 59.0 Kohm \n",
+ " Rs2= 199.0 Kohm \n",
+ " Rs3= 599.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.10 Page no 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "Im=20.0*10**-3 #A\n",
+ "v=100*10**-3 #volts\n",
+ "I=50000*10**3 #A\n",
+ "V=500 #Volts\n",
+ "\n",
+ "Rm=v/Im\n",
+ "Rsh=(Im*Rm)/(I-Im)\n",
+ "Rsh1=(V/Im)-Rm\n",
+ "P=V*Im\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Shunt resistance is \", round(Rsh1*10**-3,0),\"Kohm\"\n",
+ "print\"(ii) Power dissipation is \",P,\"Watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Shunt resistance is 25.0 Kohm\n",
+ "(ii) Power dissipation is 10.0 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.11 Page no 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=100 #Volts\n",
+ "s=1000 #ohm/V\n",
+ "R=10.0*10**3 #kohm\n",
+ "R1=10.0*10**3 #kohm\n",
+ "s2=20000 #ohm/V\n",
+ "\n",
+ "#Calculation\n",
+ "V2=(R/(R1+R))*V\n",
+ "\n",
+ "#case 1\n",
+ "R2=V2*s\n",
+ "Req=(R*R2)/(R+R2)\n",
+ "V1=(Req/(R1+Req))*V\n",
+ "\n",
+ "#case 2\n",
+ "R3=V2*s2\n",
+ "Req2=(R1*R3)/(R1+R3)\n",
+ "V12=(Req2/(R1+Req2))*V\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) voltmeter indicates \", round(V1,2),\"V\"\n",
+ "print\"(b) Voltmeter will read \",round(V12,2),\"V\"\n",
+ "print\"This example shows that a high sensitivity voltmeter Should be used to get accurate reading\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) voltmeter indicates 45.45 V\n",
+ "(b) Voltmeter will read 49.75 V\n",
+ "This example shows that a high sensitivity voltmeter Should be used to get accurate reading\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.12 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "s=1*10**3 #ohm/V\n",
+ "Rm=0.2*10**3 #ohm\n",
+ "V=10 #Volts\n",
+ "s1=20*10**3 #ohm/volt\n",
+ "Rm1=1.5*10**3 #ohm\n",
+ "R0=5.0*10**3 #ohm\n",
+ "R1=25.0*10**3 #ohm\n",
+ "V1=30 #Volt\n",
+ "\n",
+ "#Calculation\n",
+ "VRb=(R0/(R1+R0))*V1\n",
+ "Rm2=s*V\n",
+ "Req=(R0*Rm2)/(R0+Rm2)\n",
+ "VRb2=Req/(Req+R1)*V1\n",
+ "Rm3=s1*V\n",
+ "Req2=(R0*Rm3)/(R0+Rm3)\n",
+ "VRb3=(Req2/(R1+Req2))*V1\n",
+ "E1=((VRb-3.33)/VRb)*100\n",
+ "E2=((VRb-VRb3)/VRb)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Voltage across Rb without any meter across it \", VRb,\"Volt\"\n",
+ "print\"(ii) Voltage across Rb when the meter 1 is used \", round(VRb2,2),\"Volt\"\n",
+ "print\"(iii) voltage across arb when the meter 2 is used \", round(VRb3,1),\"Volts\"\n",
+ "print\"(iv) Error in voltmeter when meter 1 is used \", E1,\"%\"\n",
+ "print\" Error in voltmeter when meter 2 is used \",round(E2,0),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Voltage across Rb without any meter across it 5.0 Volt\n",
+ "(ii) Voltage across Rb when the meter 1 is used 3.53 Volt\n",
+ "(iii) voltage across arb when the meter 2 is used 4.9 Volts\n",
+ "(iv) Error in voltmeter when meter 1 is used 33.4 %\n",
+ " Error in voltmeter when meter 2 is used 2.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.13 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V1=5.0 #Volt \n",
+ "V2=10 #Volt\n",
+ "V3=30 #Volt\n",
+ "S=20*10**3 #ohm/V\n",
+ "Rb=5.0*10**3 #ohm\n",
+ "Ra=45.0*10**3 #ohm\n",
+ "V=50 #Volt\n",
+ "\n",
+ "#Calculation\n",
+ "VRb=Rb/(Ra+Rb)*V\n",
+ "Rm=S*V1\n",
+ "Req=(Rm*Rb)/(Rm+Rb)\n",
+ "VRb1=Req/(Ra+Req)*V\n",
+ "E=((V1-VRb1)/V1)*100\n",
+ "Rm1=S*V2\n",
+ "Req1=(Rm1*Rb)/(Rm1+Rb)\n",
+ "VRb2=(Req1/(Req1+Ra))*V\n",
+ "E1=((V1-VRb2)/V1)*100\n",
+ "Rm2=S*V3\n",
+ "Req2=(Rm2*Rb)/(Rm2+Rb)\n",
+ "VRb3=Req2/(Req2+Ra)*V\n",
+ "E2=((V1-VRb3)/V1)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Voltage reading with a voltmeter on 5 volt \" ,round(VRb1,3),\"Volts\",\"\\n percent error is \",round(E,2),\"%\"\n",
+ "print\"(ii) Voltage reading with a voltmeter on 10 volt\", round(VRb2,2),\"Volts\",\"\\n percent error is \",round(E1,2),\"%\"\n",
+ "print\"(iii) Voltage reading with a voltmeter on 10 volt\", round(VRb3,2),\"Volts\",\"\\n percent error is \",round(E,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Voltage reading with a voltmeter on 5 volt 4.785 Volts \n",
+ " percent error is 4.31 %\n",
+ "(ii) Voltage reading with a voltmeter on 10 volt 4.89 Volts \n",
+ " percent error is 2.2 %\n",
+ "(iii) Voltage reading with a voltmeter on 10 volt 4.96 Volts \n",
+ " percent error is 1.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.14 Page no 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=1000 #ohm\n",
+ "R2=1000.0 #ohm\n",
+ "R3=1000.0 #ohm\n",
+ "Rm=100 #ohm\n",
+ "I=1 #A\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=(R1)+((R2*R3)/(R2+R3)) \n",
+ "Im=(((Rt)/(Rt+Rm))*I)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"Percent reading due to ammeter loading \", round(Im,1),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percent reading due to ammeter loading 93.8 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.15 Page no 100"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=1.0*10**-3 #A\n",
+ "Erms=10 #Volts\n",
+ "V=0.45 #Volts\n",
+ "Rm=200 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/I\n",
+ "R=(S*V*Erms-Rm)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of multiplier resistance is \", R,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of multiplier resistance is 4.3 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 98
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.16 Page no 101"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Ifsd=100.0*10**-6 #A\n",
+ "V=0.45 #Volts\n",
+ "Rm=500 #ohm\n",
+ "Erms=100\n",
+ "\n",
+ "#calculation\n",
+ "Sdc=1/Ifsd\n",
+ "Rs=(Sdc*V*100)-Rm\n",
+ "Rs1=((0.45*Erms)/Ifsd)-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \", Rs1*10**-3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 449.5 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.17 Page no 102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Ifsd=100.0*10**-6 #A\n",
+ "Rm=100 #ohm\n",
+ "V=50 #Vrms\n",
+ "\n",
+ "#Calculation\n",
+ "Sdc=1/Ifsd\n",
+ "Sac=0.9*Sdc\n",
+ "Rs=Sac*V-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \", Rs*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 449.9 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.18 Page no 102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=1.0*10**-3 #A\n",
+ "V=10 #volts\n",
+ "Rm=250 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Sdc=1/I\n",
+ "Sac=0.9*Sdc\n",
+ "R=(Sac*V-Rm)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of multiplier resistance is \", R,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of multiplier resistance is 8.75 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 103
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.19 Page no 103"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Ifsd=100*10**-6 #A\n",
+ "V=10.0 #Volts\n",
+ "R2=10.0*10**3 #ohm\n",
+ "Rm=100*10**3 #ohm\n",
+ "R1=10.0*10**3 #ohm\n",
+ "\n",
+ "Sdc=1/Ifsd\n",
+ "Rs=Sdc*V\n",
+ "Req=(R2*Rm)/(R2+Rm)\n",
+ "ER2=Req/(R1+Req)\n",
+ "Shw=0.45*Sdc\n",
+ "Rs1=Shw*V\n",
+ "Req1=(R2*Rs1)/(R2+Rs1)\n",
+ "E=Req1/(R1+Req1)\n",
+ "Sfw=(0.90*Sdc)\n",
+ "Rs2=Sfw*V\n",
+ "Req2=(R2*Rs2)/(R2+Rs2)\n",
+ "E=(Req2/(R1+Req2))*V\n",
+ "\n",
+ "#Result\n",
+ "print\"Sensitivity is \",Sdc*10**-3,\"Kohm/volt\"\n",
+ "print\"Multiplier resistance is \",Rs*10**-3,\"Kohm\"\n",
+ "print\"The voltage across R2 is \",round(ER2*10**1,2),\"Volts\"\n",
+ "print\"Resistance using Half wave rectifier \",Rs1*10**-3,\"Kohm\"\n",
+ "print\"Voltage by AC voltmeter is \",round(E,2),\"Volts\"\n",
+ "print\"Resistance using full wave rectifier \",Rs2*10**-3,\"Kohm\"\n",
+ "print\"Voltage by DC voltmeter is \",round(E,2),\"Volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sensitivity is 10.0 Kohm/volt\n",
+ "Multiplier resistance is 100.0 Kohm\n",
+ "The voltage across R2 is 4.76 Volts\n",
+ "Resistance using Half wave rectifier 45.0 Kohm\n",
+ "Voltage by AC voltmeter is 4.74 Volts\n",
+ "Resistance using full wave rectifier 90.0 Kohm\n",
+ "Voltage by DC voltmeter is 4.74 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.20 Page no 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=1*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "Rh=1*10**3 #ohm\n",
+ "V=3.0 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "R1=Rh-(Im*Rm*Rh)/V\n",
+ "R2=(Im*Rm*Rh)/(V-Im*Rh)\n",
+ "V1=3-0.09\n",
+ "R21=(Im*Rm*Rh)/(V1-Im*Rh)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of R1= \",round(R1,2),\"ohm\",\" \\n Value of R2= \",round(R2,2),\"ohm\"\n",
+ "print\"(ii) Maximum value of R2 to compensate for a 3% Drop in Battery Voltage \",round(R21,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of R1= 966.67 ohm \n",
+ " Value of R2= 50.0 ohm\n",
+ "(ii) Maximum value of R2 to compensate for a 3% Drop in Battery Voltage 52.36 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.21 Page no 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Rh=2000.0 #ohm\n",
+ "Ifsd=1*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "V=3.0 #Volts\n",
+ "V1=2.58 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "R1=Rh-((Ifsd*Rm*Rh)/V)\n",
+ "R2=(Ifsd*Rm*Rh)/(V-(Ifsd*Rh))\n",
+ "R21=(Ifsd*Rm*Rh)/(V1-(Ifsd*Rh))\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of R1=\",round(R1,1),\"Ohm and Value of R2=\",R2,\"Ohm\" \n",
+ "print\"The maximum value of R2 is \",round(R21,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of R1= 1933.3 Ohm and Value of R2= 200.0 Ohm\n",
+ "The maximum value of R2 is 344.83 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.22 Page no 114"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=3 #volts\n",
+ "Im=1.0*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "P=0.2 \n",
+ "P1=0.4\n",
+ "P2=0.5 \n",
+ "P3=0.75\n",
+ "P4=0.9\n",
+ "P5=1\n",
+ "\n",
+ "#calculation\n",
+ "Rs=(V/Im)-Rm\n",
+ "Rx=((Rs+Rm)/P)-(Rs+Rm)\n",
+ "Rx1=((Rs+Rm)/P1)-(Rs+Rm)\n",
+ "Rx2=((Rs+Rm)/P2)-(Rs+Rm)\n",
+ "Rx3=((Rs+Rm)/P3)-(Rs+Rm)\n",
+ "Rx4=((Rs+Rm)/P4)-(Rs+Rm)\n",
+ "Rx5=((Rs+Rm)/P5)-(Rs+Rm)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of Rs is \",Rs*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 20% detection is \",Rx*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 40% detection is \",Rx1*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 50% detection is \",Rx2*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 75% detection is \",Rx3*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 90% detection is \",round(Rx4*10**-3,3),\"Kohm\"\n",
+ "print\"The value of Rx with 100% detection is \",Rx5*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Rs is 2.9 Kohm\n",
+ "The value of Rx with 20% detection is 12.0 Kohm\n",
+ "The value of Rx with 40% detection is 4.5 Kohm\n",
+ "The value of Rx with 50% detection is 3.0 Kohm\n",
+ "The value of Rx with 75% detection is 1.0 Kohm\n",
+ "The value of Rx with 90% detection is 0.333 Kohm\n",
+ "The value of Rx with 100% detection is 0.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.23 Page no 115"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=3.0 #Volts\n",
+ "I=1.0*10**-3 #A\n",
+ "V1=2.8\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=V/I\n",
+ "Rt1=V1/I\n",
+ "E=((V-V1)/V)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"The resulting error is \", round(E,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resulting error is 6.67 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 47
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.24 Page no 116"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=1*10**-3 #A\n",
+ "Rm=100.0 #ohm\n",
+ "Rh=2000 #ohm\n",
+ "V=3.0 #Volts\n",
+ "V1=2.7 #Volts\n",
+ "V2=3.1 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "R2=(Im*Rh*Rm)/(V-Im*Rh)\n",
+ "R1=Rh-R2*Rm/R2+Rm\n",
+ "R21=(Im*Rh*Rm)/(V1-Im*Rh)\n",
+ "R22=(Im*Rh*Rm)/(V2-Im*Rh)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of R1=\",R1-66.6,\"ohm and the value of R2=\",R2,\"ohm\"\n",
+ "print\"(ii) The value of R2 when battery is 2.7 V is \",round(R21,0),\"ohm\"\n",
+ "print\" The value of R2 when battery is 3.1 V is \",round(R22,0),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of R1= 1933.4 ohm and the value of R2= 200.0 ohm\n",
+ "(ii) The value of R2 when battery is 2.7 V is 286.0 ohm\n",
+ " The value of R2 when battery is 3.1 V is 182.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 72
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.25 Page no 118"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=0.5 #mA\n",
+ "Im=10 #mA\n",
+ "Rm=50 #ohm\n",
+ "Rh=10.0 #ohm\n",
+ "V=3 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "Ih=I*Im\n",
+ "Vm=Ih*Rm\n",
+ "Ix=Vm/Rh\n",
+ "Ish=Ix-Ih\n",
+ "Rsh=Vm/Ish\n",
+ "It=Ix+Ih+Ish\n",
+ "V1=V-Vm*10**-3\n",
+ "R1=V1/It\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of shunt resistance is \", Rsh,\"ohm\"\n",
+ "print\"(ii) Value of current limiting resistance is \", R1*10**3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of shunt resistance is 12.5 ohm\n",
+ "(ii) Value of current limiting resistance is 55.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 93
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.26 Page no 119"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=3\n",
+ "R1=10.0 #ohm\n",
+ "R2=20.0 #ohm\n",
+ "R3=30.0*10**3 #ohm\n",
+ "R11=100.0 #ohm\n",
+ "R22=200.0 #ohm\n",
+ "R12=1000 #ohm\n",
+ "R21=2000.0 #ohm\n",
+ "\n",
+ "V=I*(R1/(R1+R2))\n",
+ "Im=V/R3\n",
+ "V1=I*(R11/(R11+R22))\n",
+ "Im1=V1/R3\n",
+ "V2=I*(R12/(R12+R21))\n",
+ "Im2=V2/R3\n",
+ "print\"(a) Current through the micrometer is \", round(Im*10**6,1),\"micro A\"\n",
+ "print\"(b) The current flows through the meter movement when a 200 ohm resistor is measured \",round (Im1*10**6,1),\"micro A\"\n",
+ "print\"(b) The current flows through the meter movement when a 2 Kohm resistor is measured\",round (Im1*10**6,1),\"micro A\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Current through the micrometer is 33.3 micro A\n",
+ "(b) The current flows through the meter movement when a 200 ohm resistor is measured 33.3 micro A\n",
+ "(b) The current flows through the meter movement when a 2 Kohm resistor is measured 33.3 micro A\n"
+ ]
+ }
+ ],
+ "prompt_number": 114
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap4_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap4_1.ipynb
new file mode 100755
index 00000000..c74b96bf
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap4_1.ipynb
@@ -0,0 +1,1235 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6894c833baa0eedea1946bb8c106382f5457dd2d09fc25376fba7e033019797b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4 Voltmeters and multimeters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 Page no 80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=200.0*10**-6 # A\n",
+ "\n",
+ "#calculation\n",
+ "s=(1/I)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Sensitivity is \", s,\"Kohm/V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sensitivity is 5.0 Kohm/V\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 (a) Page no 81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=10 #Volt\n",
+ "Im=50.0*10**-6 #A\n",
+ "Rm=500 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "R=((V/Im)-Rm)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Reading of resistance is \", R,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Reading of resistance is 199.5 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 (b) Page no 81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=500.0*10**-6 #A\n",
+ "V=50 #Volts\n",
+ "Rm=1*10**3 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/Im\n",
+ "Rs=(S*V)-Rm\n",
+ "\n",
+ "\n",
+ "print\"The value of multiplier resistance is \", Rs*10**-3,\"K ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 99.0 K ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 Page no 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Im=50.0*10**-6 #A\n",
+ "Rm=500.0 #ohm\n",
+ "V=20 #Volts\n",
+ "V1=50 #volts\n",
+ "V2=100 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "# For range 0-20 V\n",
+ "Rs=V/(Im)-Rm\n",
+ "\n",
+ "# for range 0-50 V\n",
+ "Rs1=V1/(Im)-Rm\n",
+ "\n",
+ "# for the range of 0-100 V\n",
+ "Rs2=V2/(Im)-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier required for 0-20 V is \", Rs*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-50 V is \", Rs1*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-100 V is \", Rs2*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier required for 0-20 V is 399.5 Kohm\n",
+ "The value of multiplier required for 0-50 V is 999.5 Kohm\n",
+ "The value of multiplier required for 0-100 V is 1999.5 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 Page no 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=10*10**-3 #A\n",
+ "Rm=500 #ohm\n",
+ "V=20 #Volts\n",
+ "V1=50 #volts\n",
+ "V2=100 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "# For range 0-20 V\n",
+ "Rs=V/(Im)-Rm\n",
+ "\n",
+ "# for range 0-50 V\n",
+ "Rs1=V1/(Im)-Rm\n",
+ "\n",
+ "# for the range of 0-100 V\n",
+ "Rs2=V2/(Im)-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier required for 0-20 V is \", Rs*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-50 V is \", Rs1*10**-3,\"Kohm\"\n",
+ "print\"The value of multiplier required for 0-100 V is \", Rs2*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier required for 0-20 V is 1.5 Kohm\n",
+ "The value of multiplier required for 0-50 V is 4.5 Kohm\n",
+ "The value of multiplier required for 0-100 V is 9.5 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.5 Page no 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=10.0*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "V=5 #Volts\n",
+ "V1=50 #Volts\n",
+ "V2=100 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=V/Im\n",
+ "R3=Rt-Rm\n",
+ "Rt1=V1/Im\n",
+ "R2=Rt1-(R3+Rm)\n",
+ "Rt2=V2/Im\n",
+ "R1=Rt2-(R2+R3+Rm)\n",
+ "\n",
+ "#Result\n",
+ "print\" R1= \", R1*10**-3,\"Kohm\",\"\\n R2= \",R2*10**-3,\"Kohm\",\"\\n R3= \",R3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " R1= 5.0 Kohm \n",
+ " R2= 4.5 Kohm \n",
+ " R3= 400.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.6 Page no 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=10 #Volts\n",
+ "I=2.0*10**-3 #A\n",
+ "Rm=50 #ohm\n",
+ "V1=50 #Volts\n",
+ "V2=100 #Volts\n",
+ "V3=250 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=(V/I)\n",
+ "R4=(Rt-Rm)\n",
+ "Rt1=V1/I\n",
+ "R3=Rt1-(R4+Rm)\n",
+ "Rt2=V2/I\n",
+ "R2=Rt2-(R3+R4+Rm)\n",
+ "Rt3=V3/I\n",
+ "R1=Rt3-(R2+R3+R4+Rm)\n",
+ "\n",
+ "#Result\n",
+ "print\"Resistances are R1=\", R1*10**-3,\"Kohm \",\"\\n R2=\",R2*10**-3,\"Kohm\",\"\\n R3=\",R3*10**-3,\"Kohm\",\"\\n R4=\",R4,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistances are R1= 75.0 Kohm \n",
+ " R2= 25.0 Kohm \n",
+ " R3= 20.0 Kohm \n",
+ " R4= 4950.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.7 Page no 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=200.0*10**-6 #A\n",
+ "V=50 #v\n",
+ "Rm=100 #ohm\n",
+ "\n",
+ "#Calculation \n",
+ "S=(1/I)\n",
+ "Rs=((S*V)-Rm)*10**-3\n",
+ "\n",
+ "#Result \n",
+ "print\"The value of multiplier resistance is \", Rs,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 249.9 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 48
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.8 Page no 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=50.0*10**-6 #A\n",
+ "V=5 #Volts\n",
+ "Rm=1000 #ohm\n",
+ "V1=10 #volts\n",
+ "V2=50\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/I\n",
+ "# for 5 volt range\n",
+ "Rs1=((S*V)-Rm)*10**-3\n",
+ "\n",
+ "# for 10 volt range \n",
+ "Rs2=((S*V1)-Rm)*10**-3\n",
+ "\n",
+ "# for 50 volt range\n",
+ "Rs3=((S*V2)-Rm)*10**-3\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \", Rs1,\"Kohm\"\n",
+ "print\"The value of multiplier resistance is \", Rs2,\"Kohm\"\n",
+ "print\"The value of multiplier resistance is \", Rs3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 99.0 Kohm\n",
+ "The value of multiplier resistance is 199.0 Kohm\n",
+ "The value of multiplier resistance is 999.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 Page no 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=50.0*10**-6 #A\n",
+ "V=3 #volts\n",
+ "V1=10 #Volts\n",
+ "V2=30 #Volts\n",
+ "Rm=1000 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/Im\n",
+ "Rs=S*V-Rm\n",
+ "Rs1=S*V1-Rm\n",
+ "Rs2=S*V2-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \",\"\\n Rs1= \", Rs*10**-3,\"Kohm \\n Rs2= \",Rs1*10**-3,\"Kohm \\n Rs3= \",Rs2*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is \n",
+ " Rs1= 59.0 Kohm \n",
+ " Rs2= 199.0 Kohm \n",
+ " Rs3= 599.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.10 Page no 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "Im=20.0*10**-3 #A\n",
+ "v=100*10**-3 #volts\n",
+ "I=50000*10**3 #A\n",
+ "V=500 #Volts\n",
+ "\n",
+ "Rm=v/Im\n",
+ "Rsh=(Im*Rm)/(I-Im)\n",
+ "Rsh1=(V/Im)-Rm\n",
+ "P=V*Im\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Shunt resistance is \", round(Rsh1*10**-3,0),\"Kohm\"\n",
+ "print\"(ii) Power dissipation is \",P,\"Watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Shunt resistance is 25.0 Kohm\n",
+ "(ii) Power dissipation is 10.0 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.11 Page no 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=100 #Volts\n",
+ "s=1000 #ohm/V\n",
+ "R=10.0*10**3 #kohm\n",
+ "R1=10.0*10**3 #kohm\n",
+ "s2=20000 #ohm/V\n",
+ "\n",
+ "#Calculation\n",
+ "V2=(R/(R1+R))*V\n",
+ "\n",
+ "#case 1\n",
+ "R2=V2*s\n",
+ "Req=(R*R2)/(R+R2)\n",
+ "V1=(Req/(R1+Req))*V\n",
+ "\n",
+ "#case 2\n",
+ "R3=V2*s2\n",
+ "Req2=(R1*R3)/(R1+R3)\n",
+ "V12=(Req2/(R1+Req2))*V\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) voltmeter indicates \", round(V1,2),\"V\"\n",
+ "print\"(b) Voltmeter will read \",round(V12,2),\"V\"\n",
+ "print\"This example shows that a high sensitivity voltmeter Should be used to get accurate reading\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) voltmeter indicates 45.45 V\n",
+ "(b) Voltmeter will read 49.75 V\n",
+ "This example shows that a high sensitivity voltmeter Should be used to get accurate reading\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.12 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "s=1*10**3 #ohm/V\n",
+ "Rm=0.2*10**3 #ohm\n",
+ "V=10 #Volts\n",
+ "s1=20*10**3 #ohm/volt\n",
+ "Rm1=1.5*10**3 #ohm\n",
+ "R0=5.0*10**3 #ohm\n",
+ "R1=25.0*10**3 #ohm\n",
+ "V1=30 #Volt\n",
+ "\n",
+ "#Calculation\n",
+ "VRb=(R0/(R1+R0))*V1\n",
+ "Rm2=s*V\n",
+ "Req=(R0*Rm2)/(R0+Rm2)\n",
+ "VRb2=Req/(Req+R1)*V1\n",
+ "Rm3=s1*V\n",
+ "Req2=(R0*Rm3)/(R0+Rm3)\n",
+ "VRb3=(Req2/(R1+Req2))*V1\n",
+ "E1=((VRb-3.33)/VRb)*100\n",
+ "E2=((VRb-VRb3)/VRb)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Voltage across Rb without any meter across it \", VRb,\"Volt\"\n",
+ "print\"(ii) Voltage across Rb when the meter 1 is used \", round(VRb2,2),\"Volt\"\n",
+ "print\"(iii) voltage across arb when the meter 2 is used \", round(VRb3,1),\"Volts\"\n",
+ "print\"(iv) Error in voltmeter when meter 1 is used \", E1,\"%\"\n",
+ "print\" Error in voltmeter when meter 2 is used \",round(E2,0),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Voltage across Rb without any meter across it 5.0 Volt\n",
+ "(ii) Voltage across Rb when the meter 1 is used 3.53 Volt\n",
+ "(iii) voltage across arb when the meter 2 is used 4.9 Volts\n",
+ "(iv) Error in voltmeter when meter 1 is used 33.4 %\n",
+ " Error in voltmeter when meter 2 is used 2.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.13 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V1=5.0 #Volt \n",
+ "V2=10 #Volt\n",
+ "V3=30 #Volt\n",
+ "S=20*10**3 #ohm/V\n",
+ "Rb=5.0*10**3 #ohm\n",
+ "Ra=45.0*10**3 #ohm\n",
+ "V=50 #Volt\n",
+ "\n",
+ "#Calculation\n",
+ "VRb=Rb/(Ra+Rb)*V\n",
+ "Rm=S*V1\n",
+ "Req=(Rm*Rb)/(Rm+Rb)\n",
+ "VRb1=Req/(Ra+Req)*V\n",
+ "E=((V1-VRb1)/V1)*100\n",
+ "Rm1=S*V2\n",
+ "Req1=(Rm1*Rb)/(Rm1+Rb)\n",
+ "VRb2=(Req1/(Req1+Ra))*V\n",
+ "E1=((V1-VRb2)/V1)*100\n",
+ "Rm2=S*V3\n",
+ "Req2=(Rm2*Rb)/(Rm2+Rb)\n",
+ "VRb3=Req2/(Req2+Ra)*V\n",
+ "E2=((V1-VRb3)/V1)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Voltage reading with a voltmeter on 5 volt \" ,round(VRb1,3),\"Volts\",\"\\n percent error is \",round(E,2),\"%\"\n",
+ "print\"(ii) Voltage reading with a voltmeter on 10 volt\", round(VRb2,2),\"Volts\",\"\\n percent error is \",round(E1,2),\"%\"\n",
+ "print\"(iii) Voltage reading with a voltmeter on 10 volt\", round(VRb3,2),\"Volts\",\"\\n percent error is \",round(E,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Voltage reading with a voltmeter on 5 volt 4.785 Volts \n",
+ " percent error is 4.31 %\n",
+ "(ii) Voltage reading with a voltmeter on 10 volt 4.89 Volts \n",
+ " percent error is 2.2 %\n",
+ "(iii) Voltage reading with a voltmeter on 10 volt 4.96 Volts \n",
+ " percent error is 1.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.14 Page no 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R1=1000 #ohm\n",
+ "R2=1000.0 #ohm\n",
+ "R3=1000.0 #ohm\n",
+ "Rm=100 #ohm\n",
+ "I=1 #A\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=(R1)+((R2*R3)/(R2+R3)) \n",
+ "Im=(((Rt)/(Rt+Rm))*I)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"Percent reading due to ammeter loading \", round(Im,1),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percent reading due to ammeter loading 93.8 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.15 Page no 100"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=1.0*10**-3 #A\n",
+ "Erms=10 #Volts\n",
+ "V=0.45 #Volts\n",
+ "Rm=200 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "S=1/I\n",
+ "R=(S*V*Erms-Rm)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of multiplier resistance is \", R,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of multiplier resistance is 4.3 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 98
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.16 Page no 101"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Ifsd=100.0*10**-6 #A\n",
+ "V=0.45 #Volts\n",
+ "Rm=500 #ohm\n",
+ "Erms=100\n",
+ "\n",
+ "#calculation\n",
+ "Sdc=1/Ifsd\n",
+ "Rs=(Sdc*V*100)-Rm\n",
+ "Rs1=((0.45*Erms)/Ifsd)-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \", Rs1*10**-3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 449.5 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.17 Page no 102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Ifsd=100.0*10**-6 #A\n",
+ "Rm=100 #ohm\n",
+ "V=50 #Vrms\n",
+ "\n",
+ "#Calculation\n",
+ "Sdc=1/Ifsd\n",
+ "Sac=0.9*Sdc\n",
+ "Rs=Sac*V-Rm\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of multiplier resistance is \", Rs*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of multiplier resistance is 449.9 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.18 Page no 102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=1.0*10**-3 #A\n",
+ "V=10 #volts\n",
+ "Rm=250 #ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Sdc=1/I\n",
+ "Sac=0.9*Sdc\n",
+ "R=(Sac*V-Rm)*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of multiplier resistance is \", R,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of multiplier resistance is 8.75 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 103
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.19 Page no 103"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Ifsd=100*10**-6 #A\n",
+ "V=10.0 #Volts\n",
+ "R2=10.0*10**3 #ohm\n",
+ "Rm=100*10**3 #ohm\n",
+ "R1=10.0*10**3 #ohm\n",
+ "\n",
+ "Sdc=1/Ifsd\n",
+ "Rs=Sdc*V\n",
+ "Req=(R2*Rm)/(R2+Rm)\n",
+ "ER2=Req/(R1+Req)\n",
+ "Shw=0.45*Sdc\n",
+ "Rs1=Shw*V\n",
+ "Req1=(R2*Rs1)/(R2+Rs1)\n",
+ "E=Req1/(R1+Req1)\n",
+ "Sfw=(0.90*Sdc)\n",
+ "Rs2=Sfw*V\n",
+ "Req2=(R2*Rs2)/(R2+Rs2)\n",
+ "E=(Req2/(R1+Req2))*V\n",
+ "\n",
+ "#Result\n",
+ "print\"Sensitivity is \",Sdc*10**-3,\"Kohm/volt\"\n",
+ "print\"Multiplier resistance is \",Rs*10**-3,\"Kohm\"\n",
+ "print\"The voltage across R2 is \",round(ER2*10**1,2),\"Volts\"\n",
+ "print\"Resistance using Half wave rectifier \",Rs1*10**-3,\"Kohm\"\n",
+ "print\"Voltage by AC voltmeter is \",round(E,2),\"Volts\"\n",
+ "print\"Resistance using full wave rectifier \",Rs2*10**-3,\"Kohm\"\n",
+ "print\"Voltage by DC voltmeter is \",round(E,2),\"Volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sensitivity is 10.0 Kohm/volt\n",
+ "Multiplier resistance is 100.0 Kohm\n",
+ "The voltage across R2 is 4.76 Volts\n",
+ "Resistance using Half wave rectifier 45.0 Kohm\n",
+ "Voltage by AC voltmeter is 4.74 Volts\n",
+ "Resistance using full wave rectifier 90.0 Kohm\n",
+ "Voltage by DC voltmeter is 4.74 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.20 Page no 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=1*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "Rh=1*10**3 #ohm\n",
+ "V=3.0 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "R1=Rh-(Im*Rm*Rh)/V\n",
+ "R2=(Im*Rm*Rh)/(V-Im*Rh)\n",
+ "V1=3-0.09\n",
+ "R21=(Im*Rm*Rh)/(V1-Im*Rh)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of R1= \",round(R1,2),\"ohm\",\" \\n Value of R2= \",round(R2,2),\"ohm\"\n",
+ "print\"(ii) Maximum value of R2 to compensate for a 3% Drop in Battery Voltage \",round(R21,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of R1= 966.67 ohm \n",
+ " Value of R2= 50.0 ohm\n",
+ "(ii) Maximum value of R2 to compensate for a 3% Drop in Battery Voltage 52.36 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.21 Page no 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Rh=2000.0 #ohm\n",
+ "Ifsd=1*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "V=3.0 #Volts\n",
+ "V1=2.58 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "R1=Rh-((Ifsd*Rm*Rh)/V)\n",
+ "R2=(Ifsd*Rm*Rh)/(V-(Ifsd*Rh))\n",
+ "R21=(Ifsd*Rm*Rh)/(V1-(Ifsd*Rh))\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of R1=\",round(R1,1),\"Ohm and Value of R2=\",R2,\"Ohm\" \n",
+ "print\"The maximum value of R2 is \",round(R21,2),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of R1= 1933.3 Ohm and Value of R2= 200.0 Ohm\n",
+ "The maximum value of R2 is 344.83 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.22 Page no 114"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=3 #volts\n",
+ "Im=1.0*10**-3 #A\n",
+ "Rm=100 #ohm\n",
+ "P=0.2 \n",
+ "P1=0.4\n",
+ "P2=0.5 \n",
+ "P3=0.75\n",
+ "P4=0.9\n",
+ "P5=1\n",
+ "\n",
+ "#calculation\n",
+ "Rs=(V/Im)-Rm\n",
+ "Rx=((Rs+Rm)/P)-(Rs+Rm)\n",
+ "Rx1=((Rs+Rm)/P1)-(Rs+Rm)\n",
+ "Rx2=((Rs+Rm)/P2)-(Rs+Rm)\n",
+ "Rx3=((Rs+Rm)/P3)-(Rs+Rm)\n",
+ "Rx4=((Rs+Rm)/P4)-(Rs+Rm)\n",
+ "Rx5=((Rs+Rm)/P5)-(Rs+Rm)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of Rs is \",Rs*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 20% detection is \",Rx*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 40% detection is \",Rx1*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 50% detection is \",Rx2*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 75% detection is \",Rx3*10**-3,\"Kohm\"\n",
+ "print\"The value of Rx with 90% detection is \",round(Rx4*10**-3,3),\"Kohm\"\n",
+ "print\"The value of Rx with 100% detection is \",Rx5*10**-3,\"Kohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of Rs is 2.9 Kohm\n",
+ "The value of Rx with 20% detection is 12.0 Kohm\n",
+ "The value of Rx with 40% detection is 4.5 Kohm\n",
+ "The value of Rx with 50% detection is 3.0 Kohm\n",
+ "The value of Rx with 75% detection is 1.0 Kohm\n",
+ "The value of Rx with 90% detection is 0.333 Kohm\n",
+ "The value of Rx with 100% detection is 0.0 Kohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.23 Page no 115"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "V=3.0 #Volts\n",
+ "I=1.0*10**-3 #A\n",
+ "V1=2.8\n",
+ "\n",
+ "#Calculation\n",
+ "Rt=V/I\n",
+ "Rt1=V1/I\n",
+ "E=((V-V1)/V)*100\n",
+ "\n",
+ "#Result\n",
+ "print\"The resulting error is \", round(E,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resulting error is 6.67 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 47
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.24 Page no 116"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Im=1*10**-3 #A\n",
+ "Rm=100.0 #ohm\n",
+ "Rh=2000 #ohm\n",
+ "V=3.0 #Volts\n",
+ "V1=2.7 #Volts\n",
+ "V2=3.1 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "R2=(Im*Rh*Rm)/(V-Im*Rh)\n",
+ "R1=Rh-R2*Rm/R2+Rm\n",
+ "R21=(Im*Rh*Rm)/(V1-Im*Rh)\n",
+ "R22=(Im*Rh*Rm)/(V2-Im*Rh)\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of R1=\",R1-66.6,\"ohm and the value of R2=\",R2,\"ohm\"\n",
+ "print\"(ii) The value of R2 when battery is 2.7 V is \",round(R21,0),\"ohm\"\n",
+ "print\" The value of R2 when battery is 3.1 V is \",round(R22,0),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of R1= 1933.4 ohm and the value of R2= 200.0 ohm\n",
+ "(ii) The value of R2 when battery is 2.7 V is 286.0 ohm\n",
+ " The value of R2 when battery is 3.1 V is 182.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 72
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.25 Page no 118"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=0.5 #mA\n",
+ "Im=10 #mA\n",
+ "Rm=50 #ohm\n",
+ "Rh=10.0 #ohm\n",
+ "V=3 #Volts\n",
+ "\n",
+ "#Calculation\n",
+ "Ih=I*Im\n",
+ "Vm=Ih*Rm\n",
+ "Ix=Vm/Rh\n",
+ "Ish=Ix-Ih\n",
+ "Rsh=Vm/Ish\n",
+ "It=Ix+Ih+Ish\n",
+ "V1=V-Vm*10**-3\n",
+ "R1=V1/It\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) The value of shunt resistance is \", Rsh,\"ohm\"\n",
+ "print\"(ii) Value of current limiting resistance is \", R1*10**3,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) The value of shunt resistance is 12.5 ohm\n",
+ "(ii) Value of current limiting resistance is 55.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 93
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.26 Page no 119"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "I=3\n",
+ "R1=10.0 #ohm\n",
+ "R2=20.0 #ohm\n",
+ "R3=30.0*10**3 #ohm\n",
+ "R11=100.0 #ohm\n",
+ "R22=200.0 #ohm\n",
+ "R12=1000 #ohm\n",
+ "R21=2000.0 #ohm\n",
+ "\n",
+ "V=I*(R1/(R1+R2))\n",
+ "Im=V/R3\n",
+ "V1=I*(R11/(R11+R22))\n",
+ "Im1=V1/R3\n",
+ "V2=I*(R12/(R12+R21))\n",
+ "Im2=V2/R3\n",
+ "print\"(a) Current through the micrometer is \", round(Im*10**6,1),\"micro A\"\n",
+ "print\"(b) The current flows through the meter movement when a 200 ohm resistor is measured \",round (Im1*10**6,1),\"micro A\"\n",
+ "print\"(b) The current flows through the meter movement when a 2 Kohm resistor is measured\",round (Im1*10**6,1),\"micro A\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Current through the micrometer is 33.3 micro A\n",
+ "(b) The current flows through the meter movement when a 200 ohm resistor is measured 33.3 micro A\n",
+ "(b) The current flows through the meter movement when a 2 Kohm resistor is measured 33.3 micro A\n"
+ ]
+ }
+ ],
+ "prompt_number": 114
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap5.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap5.ipynb
new file mode 100755
index 00000000..f4f36010
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap5.ipynb
@@ -0,0 +1,247 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2471290ece4efb00967c01c588e1982987585cc7ba4f2523bc3d651b33c25fb9"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5 Digital voltmeters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=100.0*10**3 #ohm\n",
+ "C=1.0*10**-6 #Farad\n",
+ "ei=1\n",
+ "t1=1 #second \n",
+ "\n",
+ "#Calculation\n",
+ "E=(ei*t1)/(R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"Voltage present at the output of the integrator after 1s is \", E,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage present at the output of the integrator after 1s is 10.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e1=1\n",
+ "er=5.0 #Volts\n",
+ "t1=1 #Second\n",
+ "\n",
+ "#Calculation\n",
+ "t2=ei*t1/er\n",
+ "\n",
+ "#Result\n",
+ "print\"Time interval of t2 is \", t2,\"s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time interval of t2 is 0.2 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.3 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=100.0*10**3 #ohm\n",
+ "C=2.0*10**-6 #farad\n",
+ "e1=2 #volts\n",
+ "t1=2 #S\n",
+ "\n",
+ "#Calculation\n",
+ "e0=(e1*t1)/(R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The output of the integrator is \", e0,\"Volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output of the integrator is 20.0 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e1=2 #Volts\n",
+ "t1=2 #second\n",
+ "e2=10.0 #Volts\n",
+ "\n",
+ "t2=(e1*t1)/e2\n",
+ "print\"Time interval is \",t2,\"second\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time interval is 0.4 second\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5 Page no 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "n=3\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/10.0**n\n",
+ "\n",
+ "#Result\n",
+ "print\"The resolution is \", R"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resolution is 0.001\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.6 Page no 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "n=5\n",
+ "V=12.98 #Volts\n",
+ "V1=1 #Volts\n",
+ "V2=10 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/10.0**n\n",
+ "R1=V1*R\n",
+ "R2=V2*R\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Resolution is \", R\n",
+ "print\"(ii) Any reading upto 4th decimal can be displayed. \\n Hence this will be displayed as 0.6973\"\n",
+ "print\"(iii) Resolution is \",R2,\"\\n Hence decimal upto 3rd decimal place can be displayed\"\n",
+ "print\"therefore on a 10 V range, the reading will be 0.697 instead of 0.6973\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Resolution is 1e-05\n",
+ "(ii) Any reading upto 4th decimal can be displayed. \n",
+ " Hence this will be displayed as 0.6973\n",
+ "(iii) Resolution is 0.0001 \n",
+ " Hence decimal upto 3rd decimal place can be displayed\n",
+ "therefore on a 10 V range, the reading will be 0.697 instead of 0.6973\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/chap5_1.ipynb b/electronic_instrumentation_by_H_S_Kalsi/chap5_1.ipynb
new file mode 100755
index 00000000..f4f36010
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/chap5_1.ipynb
@@ -0,0 +1,247 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2471290ece4efb00967c01c588e1982987585cc7ba4f2523bc3d651b33c25fb9"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5 Digital voltmeters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=100.0*10**3 #ohm\n",
+ "C=1.0*10**-6 #Farad\n",
+ "ei=1\n",
+ "t1=1 #second \n",
+ "\n",
+ "#Calculation\n",
+ "E=(ei*t1)/(R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"Voltage present at the output of the integrator after 1s is \", E,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage present at the output of the integrator after 1s is 10.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e1=1\n",
+ "er=5.0 #Volts\n",
+ "t1=1 #Second\n",
+ "\n",
+ "#Calculation\n",
+ "t2=ei*t1/er\n",
+ "\n",
+ "#Result\n",
+ "print\"Time interval of t2 is \", t2,\"s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time interval of t2 is 0.2 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.3 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=100.0*10**3 #ohm\n",
+ "C=2.0*10**-6 #farad\n",
+ "e1=2 #volts\n",
+ "t1=2 #S\n",
+ "\n",
+ "#Calculation\n",
+ "e0=(e1*t1)/(R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The output of the integrator is \", e0,\"Volts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output of the integrator is 20.0 Volts\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 Page no 134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e1=2 #Volts\n",
+ "t1=2 #second\n",
+ "e2=10.0 #Volts\n",
+ "\n",
+ "t2=(e1*t1)/e2\n",
+ "print\"Time interval is \",t2,\"second\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time interval is 0.4 second\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5 Page no 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "n=3\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/10.0**n\n",
+ "\n",
+ "#Result\n",
+ "print\"The resolution is \", R"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resolution is 0.001\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.6 Page no 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "n=5\n",
+ "V=12.98 #Volts\n",
+ "V1=1 #Volts\n",
+ "V2=10 #volts\n",
+ "\n",
+ "#Calculation\n",
+ "R=1/10.0**n\n",
+ "R1=V1*R\n",
+ "R2=V2*R\n",
+ "\n",
+ "#Result\n",
+ "print\"(i) Resolution is \", R\n",
+ "print\"(ii) Any reading upto 4th decimal can be displayed. \\n Hence this will be displayed as 0.6973\"\n",
+ "print\"(iii) Resolution is \",R2,\"\\n Hence decimal upto 3rd decimal place can be displayed\"\n",
+ "print\"therefore on a 10 V range, the reading will be 0.697 instead of 0.6973\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i) Resolution is 1e-05\n",
+ "(ii) Any reading upto 4th decimal can be displayed. \n",
+ " Hence this will be displayed as 0.6973\n",
+ "(iii) Resolution is 0.0001 \n",
+ " Hence decimal upto 3rd decimal place can be displayed\n",
+ "therefore on a 10 V range, the reading will be 0.697 instead of 0.6973\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_1.png b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_1.png
new file mode 100755
index 00000000..890b58e5
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_1.png
Binary files differ
diff --git a/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_1_1.png b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_1_1.png
new file mode 100755
index 00000000..890b58e5
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_1_1.png
Binary files differ
diff --git a/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_2.png b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_2.png
new file mode 100755
index 00000000..a98bac8d
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_2.png
Binary files differ
diff --git a/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_2_1.png b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_2_1.png
new file mode 100755
index 00000000..a98bac8d
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_2_1.png
Binary files differ
diff --git a/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_3.png b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_3.png
new file mode 100755
index 00000000..b4767259
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_3.png
Binary files differ
diff --git a/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_3_1.png b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_3_1.png
new file mode 100755
index 00000000..b4767259
--- /dev/null
+++ b/electronic_instrumentation_by_H_S_Kalsi/screenshots/image_3_1.png
Binary files differ