diff options
author | hardythe1 | 2015-05-05 14:21:39 +0530 |
---|---|---|
committer | hardythe1 | 2015-05-05 14:21:39 +0530 |
commit | fba055ce5aa0955e22bac2413c33493b10ae6532 (patch) | |
tree | be70ef4fccd07c9c88de778014219201b4ea971f /Principles_Of_Electronic_Communication_Systems | |
parent | 67068710030ddd6b6c809518c34af2e04e0bf7ca (diff) | |
download | Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.tar.gz Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.tar.bz2 Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.zip |
add books
Diffstat (limited to 'Principles_Of_Electronic_Communication_Systems')
21 files changed, 4420 insertions, 0 deletions
diff --git a/Principles_Of_Electronic_Communication_Systems/chapter1.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter1.ipynb new file mode 100755 index 00000000..48b042da --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter1.ipynb @@ -0,0 +1,249 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fa4937e894b2eaacf3d917ad54d3257fed9024ea716662722fd829aea08934e3"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 Introduction to electronic communication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1.a Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "c=300000000\n",
+ "f1=150000000.0\n",
+ "f2=430000000.0\n",
+ "f3=8000000.0\n",
+ "f4=750000.0\n",
+ "\n",
+ "#Calculation\n",
+ "W1 = c/f1\n",
+ "W2=c/f2\n",
+ "W3=c/f3\n",
+ "W4=c/f4\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Wavelength is \",W1,\"meter\"\n",
+ "print\"(b) Wavelength is \",round(W2,3),\"meter\"\n",
+ "print\"(c) Wavelength is \",W3,\"meter\"\n",
+ "print\"(d) Wavelength is \",W4,\"meter\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Wavelength is 2.0 meter\n",
+ "(b) Wavelength is 0.698 meter\n",
+ "(c) Wavelength is 37.5 meter\n",
+ "(d) Wavelength is 400.0 meter\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 page no 15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "c=300000000\n",
+ "wavelength=1.5\n",
+ "\n",
+ "#Calculation\n",
+ "frequency=c/wavelength\n",
+ "\n",
+ "#Result\n",
+ "print\"Signal frequncy is \",frequency/1000000.0,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Signal frequncy is 200.0 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3 page no 15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "wavelength_feet=75\n",
+ "wavelength_meter= 75/3.28\n",
+ "c=300000000\n",
+ "\n",
+ "#Calculation\n",
+ "frequency=c/wavelength_meter\n",
+ "\n",
+ "#Result\n",
+ "print\"The signal frequncy is \",frequency/1000000.0,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The signal frequncy is 13.12 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 page no 15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "wavelength_inches=8\n",
+ "wavelength_meter= 8/39.37\n",
+ "c=300\n",
+ "\n",
+ "#Calculation\n",
+ "frequency= c/wavelength_meter\n",
+ "\n",
+ "#Result\n",
+ "print\"The signal freuency is \",round(frequency,1),\"MHz\"\n",
+ "print\"The signnalfrequency is \",round(frequency*10**-3,2),\"GHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The signal freuency is 1476.4 MHz\n",
+ "The signnalfrequency is 1.48 GHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.5 page no 18"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f1=902000000\n",
+ "f2=928000000\n",
+ "\n",
+ "#Calculation\n",
+ "bandwidth=f2-f1\n",
+ "\n",
+ "#Result\n",
+ "print\"Width of the band is \",bandwidth/1000000,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Width of the band is 26 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 page no 19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "bandwidth_megahertz= 6\n",
+ "f1_megahertz=54\n",
+ "\n",
+ "#Calculation\n",
+ "f2_megahertz=f1_megahertz + bandwidth_megahertz\n",
+ "\n",
+ "#Result\n",
+ "print\"Upper frequency limit is \",f2_megahertz,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Upper frequency limit is 60 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter10.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter10.ipynb new file mode 100755 index 00000000..f969c01b --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter10.ipynb @@ -0,0 +1,101 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6d0a5becdae7bf2928f5747f4da31ef68eb2576da776218335d8b44a4a733949"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 Multiplexing and Demultiplexing"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1 Page no 368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "BW_service = 860*10**6\n",
+ "BW_ch = 6.0*10**6\n",
+ "\n",
+ "#calculation\n",
+ "total_ch = BW_service/BW_ch\n",
+ "\n",
+ "#result\n",
+ "print\"Total number of channels are \",round(total_ch,0)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total number of channels are 143.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2 Page no 380"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "channels =16\n",
+ "sampling_rate= 3.5*10**3\n",
+ "w_len=6\n",
+ "\n",
+ "#Calculation\n",
+ "available_ch =channels-1\n",
+ "bpf =channels*w_len\n",
+ "data_rate = sampling_rate * bpf\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Available channels are \",available_ch\n",
+ "print\"(b) Bits Per Frame = \",bpf\n",
+ "print\"(c) The serial data rate \",data_rate/10**3,\"KHz\"\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Available channels are 15\n",
+ "(b) Bits Per Frame = 96\n",
+ "(c) The serial data rate 336.0 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter11.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter11.ipynb new file mode 100755 index 00000000..015bcc79 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter11.ipynb @@ -0,0 +1,143 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8bd5af3b2acf26b36843842ce0fbb28501e7f5eae117a0af6c810fe6d60c2891"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11 The Transmission of binary data in communication systems"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.1 Page no 392"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "t=0.0016\n",
+ "No_words=256.0\n",
+ "bits_word = 12.0\n",
+ "\n",
+ "#Calculation\n",
+ "tword= t/No_words\n",
+ "tbit = tword/bits_word\n",
+ "bps =1/tbit\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The time duration of the word \",tword*10**8,\"microsecond\"\n",
+ "print\"(b) The time duration of the one bit is \",round(tbit*10**8,4),\"microseconds\"\n",
+ "print\"(c) The speed of transmission is \",bps/10**5,\"kbps\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The time duration of the word 625.0 microsecond\n",
+ "(b) The time duration of the one bit is 52.0833 microseconds\n",
+ "(c) The speed of transmission is 19.2 kbps\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2 Page no 400"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "B=12.5*10**3\n",
+ "SN_dB= 25\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "C_th = 2*B\n",
+ "SN=316.2\n",
+ "C =B*3.32*log10(SN+1)\n",
+ "N= 2**(C/(2.0*B))\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The maximum theorotical data rate is \",C_th/10**3,\"kbps\"\n",
+ "print\"(b) The maximum theorotical capacity of channel is \",round(C/10**3,1),\"Kbps\"\n",
+ "print\"(c) The number of levels needed to acheive maximum speed are \",round(N,2)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The maximum theorotical data rate is 25.0 kbps\n",
+ "(b) The maximum theorotical capacity of channel is 103.8 Kbps\n",
+ "(c) The number of levels needed to acheive maximum speed are 17.78\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.3 Page no 430"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "block =512\n",
+ "packets =8\n",
+ "BER = 2*10**-4\n",
+ " \n",
+ "#Calculation\n",
+ "avg_errors = block*packets*8*BER\n",
+ "\n",
+ "print\"Average number of errors are \",avg_errors\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Average number of errors are 6.5536\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter12.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter12.ipynb new file mode 100755 index 00000000..ae98ce2e --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter12.ipynb @@ -0,0 +1,101 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:70c87938501c80a4a95b89850ad3f0f2a57b63c9811bc118f804b4d657133c5f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 12 Introduction to Networking and local area networks"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.1 Page no 448"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N = 20\n",
+ "\n",
+ "#Calculation\n",
+ "L = (N*(N-1))/2.0\n",
+ "\n",
+ "#Result\n",
+ "print\"The number of interconnecting wires required are \",L\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The number of interconnecting wires required are 190.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.2 Page no 474"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "block = 1500\n",
+ "ethernet = 10.0*10**6\n",
+ "token_ring = 16.0*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "t1_bit = 1/ethernet\n",
+ "t1_byte = 8*t1_bit\n",
+ "t1_1526 = 1526 *t1_byte\n",
+ "t2_bit = 1/token_ring\n",
+ "t2_byte = 8 * t2_bit\n",
+ "t2_1521 =1521*t2_byte\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Time required for 1526 bytes is \",t1_1526*10**6,\"ns\"\n",
+ "print\"(b) Time required for 1521 bytes is \",t2_1521*10**3,\"ms\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Time required for 1526 bytes is 1220.8 ns\n",
+ "(b) Time required for 1521 bytes is 0.7605 ms\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter13.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter13.ipynb new file mode 100755 index 00000000..de1fc475 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter13.ipynb @@ -0,0 +1,339 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4be2df010e0c0a454b43a2b1267f5b9f24594cfd973fe52088cb80f0e511082b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 13 Transmission lines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.1 Page no 483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f= 450.0*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "lamda = 984/f\n",
+ "len =0.1*lamda\n",
+ "\n",
+ "#Result\n",
+ "print\"feet long conductors would be considered as the transmission line \",round(len*10**6,3),\"ft\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "feet long conductors would be considered as the transmission line 0.219 ft\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.2 Page no 484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "lamda = 2.19\n",
+ "\n",
+ "#Calculation\n",
+ "len = (3/8.0)*lamda\n",
+ "\n",
+ "#Result\n",
+ "print\"The pyhsical length of the transmission line \",round(len,2),\"feet\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The pyhsical length of the transmission line 0.82 feet\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.3 Page no 492"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "len = 165\n",
+ "attn_100ft = 5.3\n",
+ "pin = 100\n",
+ "attn_ft = 5.3/100.0\n",
+ "\n",
+ "#Calculation\n",
+ "total_attn = attn_ft * len\n",
+ "pout = pin *0.1335\n",
+ "\n",
+ "#Result\n",
+ "print\"The total attenuation of the cable is \",total_attn,\"dB\"\n",
+ "print\"Output power is \",pout,\"W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total attenuation of the cable is 8.745 dB\n",
+ "Output power is 13.35 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.4 Page no 494"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "len =150\n",
+ "C =13.5\n",
+ "Z0 =93\n",
+ "f =2.5*10**6\n",
+ "attn_100ft =2.8\n",
+ "\n",
+ "#Calculation\n",
+ "L =C*Z0**2\n",
+ "td =(L*C)**0.5\n",
+ "theta = ((360)*188.3)/(1/f)\n",
+ "attn_ft = attn_100ft/100.0\n",
+ "total_attn = attn_ft*150\n",
+ "\n",
+ "print\"(a) The load impedance required to terminate the the line to avoid the reflections is %d ohm\",Z0\n",
+ "print\"(b) The equivalent inductance per feet is \",L/10**3,\"nh\"\n",
+ "print\"(c) The time delay introduced by the cable per feet is \",td/10**3,\"ns\"\n",
+ "print\"(d) The phase shift occurs in degrees for the 2.5 Mhz sine wave is \",theta/10**9\n",
+ "print\"(e) The total attenuation is \",total_attn,\"db\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The load impedance required to terminate the the line to avoid the reflections is %d ohm 93\n",
+ "(b) The equivalent inductance per feet is 116.7615 nh\n",
+ "(c) The time delay introduced by the cable per feet is 1.2555 ns\n",
+ "(d) The phase shift occurs in degrees for the 2.5 Mhz sine wave is 169.47\n",
+ "(e) The total attenuation is 4.2 db\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.5 Page no 501"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "vmax= 52.0\n",
+ "vmin= 17.0\n",
+ "Z0 = 75\n",
+ "\n",
+ "#calculation\n",
+ "SWR = vmax/vmin\n",
+ "ref_coeff = (vmax-vmin)/(vmax+vmin)\n",
+ "Zl1 = Z0*SWR\n",
+ "Zl2 = Z0/SWR\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The standing wave ratio is \",round(SWR,2)\n",
+ "print\"(b) Reflection coefficient is \",round(ref_coeff,2)\n",
+ "print\"The value of resistive load is \",round(Zl1,2),\"ohm or\",round(Zl2,2),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The standing wave ratio is 3.06\n",
+ "(b) Reflection coefficient is 0.51\n",
+ "The value of resistive load is 229.41 ohm or 24.52 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.6 Page no 503"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "SWR =3.05\n",
+ "ref_pwr =0.2562\n",
+ "pin =30\n",
+ "\n",
+ "#calculation\n",
+ "pout = pin -(pin*((SWR-1)/(SWR+1))**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The output power of the cable is \",round(pout,3),\"W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output power of the cable is 22.314 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.7 Page no 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "C =4*10**-12\n",
+ "f =800*10**6\n",
+ "diele = 3.5\n",
+ "h = 0.0625\n",
+ "w = 0.13\n",
+ "t = 0.002\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Z0 = 38.8*math.log(0.374/0.106)\n",
+ "Xc = 1/(6.28*f*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The charecteristics impedance of the transmission line is \",round(Z0,1),\"ohm\"\n",
+ "print\"The reactance of the capacitor is \",round(Xc,2),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The charecteristics impedance of the transmission line is 48.9 ohm\n",
+ "The reactance of the capacitor is 49.76 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 13.8 Page no 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "lamda = (984/800.0)\n",
+ "lamda_8 =lamda/8.0\n",
+ "\n",
+ "#Calculation\n",
+ "len = lamda_8*12*(1/3.6**0.5)\n",
+ "\n",
+ "#Result\n",
+ "print\"The length of the transmission line is \",round(len,3),\"inch\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The length of the transmission line is 0.972 inch\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter14.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter14.ipynb new file mode 100755 index 00000000..483c5c1b --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter14.ipynb @@ -0,0 +1,229 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:e45779b9fe24c5d57bbc44b21eced0e689b3f83e9f5f5eea042afe4effb61cee"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 14 Antennas and Wave Propogation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.1 page no 544"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f=310.0*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "len1 =(492*0.97)/f\n",
+ "len2 =(492/f)*0.8\n",
+ "len3 =(984/f)*0.73\n",
+ "z1 =120*log(35/2.0)\n",
+ "len4 =234/f\n",
+ "z2 = 73/2.0\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The length and radiation resistance of the dipole are \",round(len1*10**6,2),\"feet and 73 ohm respectively\"\n",
+ "print\"(b) The length of the folded dipole are \",round(len2*10**6,2),\"feet\"\n",
+ "print\"(c) The length and radiation resistance of the bow tie antenna are \",round(len3*10**6,1),\"feet and \",round(z1,1),\"ohm resp.\"\n",
+ "print\"(d) The length and radiation resistance of the groun plane antenna are \",round(len4*10**6,3),\"feet and\",z2,\"ohm resp.\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The length and radiation resistance of the dipole are 1.54 feet and 73 ohm respectively\n",
+ "(b) The length of the folded dipole are 1.27 feet\n",
+ "(c) The length and radiation resistance of the bow tie antenna are 2.3 feet and 343.5 ohm resp.\n",
+ "(d) The length and radiation resistance of the groun plane antenna are 0.755 feet and 36.5 ohm resp.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.2 Page no 553"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "gain=14\n",
+ "len=250\n",
+ "attn_100=3.6\n",
+ "f =220*10\n",
+ "pin =50\n",
+ "p =0.126\n",
+ "\n",
+ "#Calculation\n",
+ "pout =pin*p\n",
+ "line_loss =pin-pout\n",
+ "pwr_ratio = 25.1\n",
+ "ERP = pwr_ratio*pout\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The transmission line loss is \",line_loss\n",
+ "print\"(b) Effective raduated power is \",round(ERP,1),\"W\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The transmission line loss is 43.7\n",
+ "(b) Effective raduated power is 158.1 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.3 Page no 556"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Z0 =50\n",
+ "Zl =172\n",
+ "f =460.0*10**6\n",
+ "VF =0.86\n",
+ "\n",
+ "#Calculation\n",
+ "len =(246/f)*VF\n",
+ "\n",
+ "#Result\n",
+ "print\"The length of the impedance matching section needed for the Q section is \",round(len*10**6,2),\"feet\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The length of the impedance matching section needed for the Q section is 0.46 feet\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.4 Page no 557"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f = 460.0*10**6\n",
+ "VF = 0.66\n",
+ "\n",
+ "#Calculation\n",
+ "len = (246/f)*VF\n",
+ "\n",
+ "#Result \n",
+ "print\"The length of impedance matching section is \",round(len*10**6,3),\"feet\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The length of impedance matching section is 0.353 feet\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.5 Page no 567"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "ht =275\n",
+ "hr =60\n",
+ "f=224.0*10**6\n",
+ "pt=100\n",
+ "Gt = 26\n",
+ "Gr = 3.27\n",
+ "\n",
+ "#Calculation\n",
+ "D =((2*ht)**0.5+(2*hr)**0.5)*1.61\n",
+ "lamda = 300/f\n",
+ "Pr = (pt*Gt*Gr*lamda**2)/(16*3.14**2*D**2)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The maximmum transmitting distance is \",round(D,1),\"kilometer\"\n",
+ "print\"(b) The received power is \",round(Pr*10**15,1),\"nW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The maximmum transmitting distance is 55.4 kilometer\n",
+ "(b) The received power is 31.5 nW\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter16.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter16.ipynb new file mode 100755 index 00000000..a3463547 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter16.ipynb @@ -0,0 +1,216 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:526f0478ca7a5ec4522d70a6832114c547e4784f425e0391463d5037753dde9d"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 16 Microwave communication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.1 Page no 616"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Zsrc =50\n",
+ "Zld =136\n",
+ "f =5800.0*10**6\n",
+ "Er =2.4\n",
+ "\n",
+ "#Calculation\n",
+ "Zq =(Zsrc * Zld)**0.5\n",
+ "Vp =1/(Er)**0.5\n",
+ "lamda = 300/f\n",
+ "len = (lamda/4.0)*38.37*Vp\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The required impedance is \",round(Zq,2),\"ohm\"\n",
+ "print\"(b) The length of the microstrip \",round(len*10**6,2),\"inches\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The required impedance is 82.46 ohm\n",
+ "(b) The length of the microstrip 0.32 inches\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.2 Page no 623"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "w=0.65\n",
+ "h=0.38\n",
+ "\n",
+ "#Calculation\n",
+ "fco = 300/(2.0*((0.65*2.54)/100.0))\n",
+ "f =1.42*fco\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The cutoff frequency of the \",round(fco/10**3,3),\"GHz\"\n",
+ "print\"(b) Operating frequency of the wavwguide is \",round(f/10**3,1),\"GHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The cutoff frequency of the 9.085 GHz\n",
+ "(b) Operating frequency of the wavwguide is 12.9 GHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.3 Page no 623"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#for the above question\n",
+ "print\"The c band is approximately 4 to 6 Ghz since a waveguide acts as a high pass filter with cut off of 9.08 Ghz it will not pass c band signal\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The c band is approximately 4 to 6 Ghz since a waveguide acts as a high pass filter with cut off of 9.08 Ghz it will not pass c band signal\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.4 Page no 648"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "lamda1 =5.0\n",
+ "f2 = 15.0*10**9\n",
+ "D=1.524\n",
+ "\n",
+ "#Calculation\n",
+ "f1=984/lamda1\n",
+ "lamda2 =300/f2\n",
+ "G = (6*(D/lamda2)**2)\n",
+ "B = 70/(D/lamda2)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The lowest possible oprerating frequency is \",f1,\"MHz\"\n",
+ "print\"(b) The gain at 15 Ghz is \",G/10**12\n",
+ "print\"(c) The beam width at 15Ghz is \",round(B*10**6,2),\"degree\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The lowest possible oprerating frequency is 196.8 MHz\n",
+ "(b) The gain at 15 Ghz is 34838.64\n",
+ "(c) The beam width at 15Ghz is 0.92 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.5 Page no 661"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "T = 9.2\n",
+ "theta = 20\n",
+ "sin20 = 0.342\n",
+ "a=5280\n",
+ "\n",
+ "#Calculation\n",
+ "D_nautical = T/12.36\n",
+ "D_statute =D_nautical*0.87\n",
+ "A = D_statute*0.342\n",
+ "A1=A*a\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The line of distance to the aircraft in the statute miles \",round(D_statute,3)\n",
+ "print\"(b) The altitude of the aircraft is \",round(A,2),\"mi\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The line of distance to the aircraft in the statute miles 0.648\n",
+ "(b) The altitude of the aircraft is 0.22 mi\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter17.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter17.ipynb new file mode 100755 index 00000000..c9e3dcac --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter17.ipynb @@ -0,0 +1,142 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:36f7565fa260d3a1374317f250783789b0d4ba7834e883c19725c0b3c84c1d9a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapeter 17 Satellite communication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.1 Page no 678"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "stn_long = 95\n",
+ "stn_lat = 30\n",
+ "sat_long =121\n",
+ "rad_pos = 137\n",
+ "\n",
+ "\n",
+ "#Calculation\n",
+ "azimuth = 360-rad_pos\n",
+ "\n",
+ "#Result\n",
+ "print\"The elevation setting for the antenna is 45 degree\"\n",
+ "print\"The azimuth setting for the antenna is \",azimuth,\"degree\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The elevation setting for the antenna is 45 degree\n",
+ "The azimuth setting for the antenna is 223 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.2 Page no 681"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "flo = 2*10**9\n",
+ "fd =3840*10**6\n",
+ "B =36*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "fu =fd+flo\n",
+ "C =2*B\n",
+ "\n",
+ "#Result\n",
+ "print\"The uplink frequency is \",fu/10.0**9,\"GHz\"\n",
+ "print\"The data rate is \", C/10**6,\"Mbps\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The uplink frequency is 5.84 GHz\n",
+ "The data rate is 72 Mbps\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.3 Page no 691"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fs = 4.08*10**9\n",
+ "fIF1 = 770*10**6\n",
+ "fIF2 = 140*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "flo1 = fs - fIF1\n",
+ "flo2 = fIF1 - fIF2\n",
+ "\n",
+ "#Result\n",
+ "print\"The local oscillator frequency for first IF is \",flo1/10**6,\"MHz\"\n",
+ "print\"The local oscillator frequency for the second IF is \",flo2/10**6,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The local oscillator frequency for first IF is 3310.0 MHz\n",
+ "The local oscillator frequency for the second IF is 630 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter19.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter19.ipynb new file mode 100755 index 00000000..1ce8f35e --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter19.ipynb @@ -0,0 +1,128 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:bbbebe541ba21d9bbb4d54500aef67ec9a094ac72f21cf0a19a14aa93b9c61ce"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 19 Optical communication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.1 Page no 760"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "NA = 0.29\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "critical_angle = math.asin(0.29)*180/3.14\n",
+ "\n",
+ "print\"The critical angle is \",round(critical_angle,2),\"degree\"\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The critical angle is 16.87 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.2 Page no 767"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "B_rating_Mhzkm =600*10**6\n",
+ "len_ft=500\n",
+ "\n",
+ "#Calculation\n",
+ "bandwidth = B_rating_Mhzkm/(len_ft/3274.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"The bandwidth of the 500 feetr segment of the cable is \",bandwidth/10**6,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The bandwidth of the 500 feetr segment of the ccable is 3928.8 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 19.3 Page no 780"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=43*10**6\n",
+ "D=1200/3274.0\n",
+ "\n",
+ "#Calculation\n",
+ "d=1/(5.0*R*D)\n",
+ "\n",
+ "#Result\n",
+ "print\"The dispersion factor is \",round(d*10**9,1),\"ns/km\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The dispersion factor is 12.7 ns/km\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter22.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter22.ipynb new file mode 100755 index 00000000..2fc3916b --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter22.ipynb @@ -0,0 +1,94 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d66b7b0a5ebd4fcdf9eb24f98ae81ac03aa2dcdb229f576b47a170647bd9ea49"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 22 Communication tests and measurments"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 22.1 Page no 854"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vp=8 #volts\n",
+ "R=75 #Ohm\n",
+ "\n",
+ "#Calculation\n",
+ "Vmax=0.707*Vp\n",
+ "P=Vmax**2/R\n",
+ "\n",
+ "#Result\n",
+ "print\"Power is dissipated in the load is \",round(P,4),\"Watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power is dissipated in the load is 0.4265 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 22.2 Page no 857"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Pf=380.0 #Watt\n",
+ "Pr=40 #Watt\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "m=math.sqrt(Pr/Pf)\n",
+ "SWR=(1+m)/(1-m)\n",
+ "print\"SWR= \",round(SWR,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "SWR= 1.96\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter3.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter3.ipynb new file mode 100755 index 00000000..ef029e65 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter3.ipynb @@ -0,0 +1,331 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:8e1b5c14d4876dc6b60f9f51fe0f04e94941e7f01c84340bf3441e1daf170b7a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3 Amplitude modulation fundamentals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 page no 99"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vmax = 5.9\n",
+ "Vmin = 1.2\n",
+ "\n",
+ "#Calculation\n",
+ "m = (Vmax-Vmin)/(Vmax+Vmin)\n",
+ "Vc = (Vmax+Vmin)/2.0\n",
+ "Vm = (Vmax-Vmin)/2.0\n",
+ "m = Vm/Vc\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The modulation index is \",round(m,2)\n",
+ "print\"Vc= \",Vc,\"Vm= \",Vm,\"(for 2 volt/div on verticle scale)\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The modulation index is 0.66\n",
+ "Vc= 3.55 Vm= 2.35 (for 2 volt/div on verticle scale)\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 page no 102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "frq =980*10**3\n",
+ "frq_range = 5*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "fusb = frq+frq_range\n",
+ "flsb = frq-frq_range\n",
+ "bw=fusb-flsb\n",
+ "\n",
+ "#Result\n",
+ "print\"The upper sideband is at \",fusb/10**3,\"Khz\"\n",
+ "print\"Lower sideband is at \",flsb/10**3,\"Khz\"\n",
+ "print\"the babdwidth is \",bw/10**3,\"KHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The upper sideband is at 985 Khz\n",
+ "Lower sideband is at 975 Khz\n",
+ "the babdwidth is 10 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 page no 106"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Pc = 30\n",
+ "m=0.85\n",
+ "\n",
+ "#Calculation\n",
+ "Pt = Pc*(1+ (m**2/2.0))\n",
+ "Psb_both =Pt-Pc\n",
+ "Psb_one = Psb_both/2.0\n",
+ "\n",
+ "#Result\n",
+ "print\"The total power is \",round(Pt,1),\"watt\" \n",
+ "print\"The power in one sideband is \",round(Psb_one,1),\"Watt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total power is 40.8 watt\n",
+ "The power in one sideband is 5.4 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.4 page no 108"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R = 40\n",
+ "I = 4.8\n",
+ "m=0.9\n",
+ "\n",
+ "#Calculation\n",
+ "Pc = I**2*R\n",
+ "Pt = (I*(1+(m**2/2.0))**0.5)**2*R\n",
+ "Psb = Pt-Pc\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The carrier power is \",Pc,\" watt\"\n",
+ "print\"(b) Total power = \",round(Pt,0),\"watt\"\n",
+ "print\"(c) Sideband Power = \",round(Psb,1),\"watt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The carrier power is 921.6 watt\n",
+ "(b) Total power = 1295.0 watt\n",
+ "(c) Sideband Power = 373.2 watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.5 page no 108"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "It = 5.1\n",
+ "Ic =4.8\n",
+ "\n",
+ "#Calculation\n",
+ "m=(2*((It/Ic)**2-1))**0.5\n",
+ "\n",
+ "#Result\n",
+ "print\"The percentage of modulation is \",round(m*100,0)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The percentage of modulation is 51.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.6 page no 109"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "m = 0.9\n",
+ "Pc = 921.6\n",
+ "\n",
+ "#calculation\n",
+ "Psb = (m**2*Pc)/4.0\n",
+ "\n",
+ "#Result\n",
+ "print\"The power in one sideband \",round(Psb,1),\"Watt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The power in one sideband 186.6 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.7 page no 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vpp = 178\n",
+ "R = 75.0\n",
+ "\n",
+ "#Calculation\n",
+ "Vp =Vpp/2.0\n",
+ "Vrms = 0.707*Vp\n",
+ "PEP =(Vrms**2/R)\n",
+ "\n",
+ "#Result\n",
+ "print\"The peak envelop power is \", round(PEP,1),\"Watt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The peak envelop power is 52.8 Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.8 page no 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vs =24\n",
+ "Im =9.3\n",
+ "\n",
+ "#Calculation\n",
+ "PEP = Vs*Im \n",
+ "Pavg1 = PEP/3.0\n",
+ "Pavg2 = PEP/4.0\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The peak envelope power is \",PEP,\"watt\"\n",
+ "print\"(b) Average power of transmitter is \",Pavg2,\"watt to\",Pavg1,\"watt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The peak envelope power is 223.2 watt\n",
+ "(b) Average power of transmitter is 55.8 watt to 74.4 watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter4.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter4.ipynb new file mode 100755 index 00000000..522fe2b5 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter4.ipynb @@ -0,0 +1,123 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:268207babca50d59c46d454ea7ce41b37f6eaad8a022bc43c98526f17a497ebd"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "chapter 4 Amplitude Modulator and Demodulator circuits"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 Page no 129"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "\n",
+ "Vcc =48\n",
+ "I = 3.5\n",
+ "efficiency =70 #percent\n",
+ "modulation = 67 #percent\n",
+ "m = modulation/100.0\n",
+ "#calculation\n",
+ "\n",
+ "Pi = Vcc*I\n",
+ "Pc=Pi\n",
+ "Pm = Pi/2.0\n",
+ "Pout = (efficiency*Pi)/100.0\n",
+ "Ps = Pc*((m**2)/4.0)\n",
+ "maximum_swing = 2*Vcc \n",
+ "#Result\n",
+ "\n",
+ "print \"(a) RF input power to the output stage is \",Pi,\"W\"\n",
+ "print \"(b) AF power required for 100 percent modulation is \",Pm,\"W\"\n",
+ "print \"(c) Carrier output power is \",Pout,\"W\"\n",
+ "print \"(d) Power in one sideband for 67 percent modulation is \",round(Ps,2),\"W\"\n",
+ "print \"(e) maximum and minimum dc supply voltage swing with 100 percent modulation is \",maximum_swing,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) RF input power to the output stage is 168.0 W\n",
+ "(b) AF power required for 100 percent modulation is 84.0 W\n",
+ "(c) Carrier output power is 117.6 W\n",
+ "(d) Power in one sideband for 67 percent modulation is 18.85 W\n",
+ "(e) maximum and minimum dc supply voltage swing with 100 percent modulation is 96 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 Page no 145"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "\n",
+ "fc =4.2*10**6\n",
+ "f1 = 300\n",
+ "f2 = 3400\n",
+ "#calculation\n",
+ "#upper sideband\n",
+ "\n",
+ "x0=fc+f1\n",
+ "y0=fc+f2\n",
+ "#lower sideband\n",
+ "\n",
+ "x1=fc-f1\n",
+ "y1=fc-f2\n",
+ "frequency=(x1+y1)/2.0\n",
+ "#Result \n",
+ "\n",
+ "print \"(a) Upper sideband ranges from \",x0,\"to\",y0\n",
+ "print \" lower sideband ranges from \",x1,\"to\",y1\n",
+ "print \"(b) approximate center frequency of a bandpass filter is \",frequency,\"Hz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Upper sideband ranges from 4200300.0 to 4203400.0\n",
+ " lower sideband ranges from 4199700.0 to 4196600.0\n",
+ "(b) approximate center frequency of a bandpass filter is 4198150.0 Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter5.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter5.ipynb new file mode 100755 index 00000000..3539866c --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter5.ipynb @@ -0,0 +1,253 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:91b0cb714976b5e3abb5fa418cb1d12fb7cd307f6d4fd008a74f2dcf67b41e57"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5 Fundamentals of frequency modulation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1 Page no 153"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f = 915*10**6\n",
+ "fm_deviation =12.5*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "max_deviation = f + fm_deviation\n",
+ "min_deviation = f - fm_deviation\n",
+ "\n",
+ "#Result\n",
+ "print\"Maximum frequency occur during modulation is \",max_deviation/1000.0,\"KHz\"\n",
+ "print\"Minimum frequency occur during modulation is \",min_deviation/1000.0,\"KHz\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum frequency occur during modulation is 915012.5 KHz\n",
+ "Minimum frequency occur during modulation is 914987.5 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 Page no 160"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "max_deviation = 25*10**3\n",
+ "fm =15.0*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "mf =max_deviation/fm\n",
+ "\n",
+ "#Result\n",
+ "print\"The deviation ratio of the TV sound is \",round(mf,3)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The deviation ratio of the TV sound is 1.667\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.3 Page no 162"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "mf = 2.2\n",
+ "fd = 7.48*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "fm = fd/mf\n",
+ "\n",
+ "#Result\n",
+ "print\"The maximum modulating frequency is \",fm/1000.0,\"KHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum modulating frequency is 3.4 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 Page no 164"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "J0 = -0.4\n",
+ "J1 = -0.07\n",
+ "J2 = 0.36\n",
+ "J3 = 0.43\n",
+ "J4 = 0.28\n",
+ "\n",
+ "#Result\n",
+ "print\"The amplitude of the carrier is \",J0\n",
+ "print\"Amplitudes of the first four sidebands are \",\" \\n \", J1,\"\\n \",J2,\"\\n \",J3,\"\\n \",J4\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The amplitude of the carrier is -0.4\n",
+ "Amplitudes of the first four sidebands are \n",
+ " -0.07 \n",
+ " 0.36 \n",
+ " 0.43 \n",
+ " 0.28\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5 Page no 165"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "fd = 30*10**3\n",
+ "fm = 5*10**3\n",
+ "N=9\n",
+ "\n",
+ "#Calculation\n",
+ "bw1 = 2*fm*N\n",
+ "bw2 = 2*(fd+fm)\n",
+ "\n",
+ "#Result\n",
+ "print\"The maximum bandwidth of the fm signal is \",bw1/10**3,\"KHz\"\n",
+ "print\"Bandwidth using carson's rule \",bw2/10**3,\"KHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum bandwidth of the fm signal is 90 KHz\n",
+ "Bandwidth using carson's rule 70 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.6 Page no 167"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "S_N = 2.8\n",
+ "fm = 1.5*10**3\n",
+ "fd =4*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "fi= math.asin(1/S_N)\n",
+ "delta = fi*fm\n",
+ "SN =fd/delta\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The frequency deviation caused by the noise \",round(delta,1),\"Hz\"\n",
+ "print\"(b) The improved output signal to noise ratio is \",round(SN,1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The frequency deviation caused by the noise 547.8 Hz\n",
+ "(b) The improved output signal to noise ratio is 7.3\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter6.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter6.ipynb new file mode 100755 index 00000000..8bd8c6da --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter6.ipynb @@ -0,0 +1,148 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:aac83d9b958acba775304d5e53683242c3be955e852f2ce5dbe2f25d81f3bf36"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6 FM Circuits"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.1 Page no 178"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vc =40*10**-12\n",
+ "c = 20*10**-12\n",
+ "f0 = 5.5*10**6\n",
+ "Ct = Vc+c\n",
+ "\n",
+ "#Calculation\n",
+ "L = 1/((6.28*f0)**2*Ct)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of the inductance is \",round(L*10**6,0),\"microhenry\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of the inductance is 14.0 microhenry\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.2 Page no 186"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f=168.96*10**6\n",
+ "multiplier=24.0\n",
+ "deviation = 5*10**3\n",
+ "fm = 2.8*10**3\n",
+ "\n",
+ "#Calculation\n",
+ "f0 =f/multiplier\n",
+ "fd= deviation/multiplier\n",
+ "phaseshift = fd/fm\n",
+ "phaseshift_degrees = phaseshift*57.3\n",
+ "total_phaseshift =2*phaseshift_degrees\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The crystal oscillator frequency is \",f0/10**6,\"MHz\"\n",
+ "print\"(b) The total phase shift is \",round(total_phaseshift,3),\"degree\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The crystal oscillator frequency is 7.04 MHz\n",
+ "(b) The total phase shift is 8.527 degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.3 Page no 187"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R =1*10**3\n",
+ "phaseshift =4.263\n",
+ "phaseshift_center= 45\n",
+ "f =7.04*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "phase_l = phaseshift_center - phaseshift\n",
+ "phase_u = phaseshift_center + phaseshift\n",
+ "phaserange_total = phase_u - phase_l\n",
+ "Xc1 = 1161\n",
+ "C1 = 1/(6.28*f*Xc1)\n",
+ "Xc2 = 861\n",
+ "C2 = 1/(6.28*f*Xc2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The two values of the capacitance to achieve total deviation are \",round(C1*10**12,1),\"pf to\",round(C2*10**12,1),\"pf\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The two values of the capacitance to achieve total deviation are 19.5 pf to 26.3 pf\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter7.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter7.ipynb new file mode 100755 index 00000000..c4587482 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter7.ipynb @@ -0,0 +1,221 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:13e4ad42742896befb0b329fd930804197555dd5705f1dd526b017e9117b7b00"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 Digital communication techniques"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 Page no 210"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "t = 71.4*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "f = 1/t\n",
+ "fourth_harmonic = f*4\n",
+ "min_sampling = 2*fourth_harmonic\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The frequency of the signal is \",round(f/10**3,1),\"KHz\"\n",
+ "print\"(b) The fourth harmonic is \",round(fourth_harmonic/10**3,0),\"KHz\"\n",
+ "print\"(c) Minimum sampling rate is \",round(min_sampling/10**3,0),\"KHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The frequency of the signal is 14.0 KHz\n",
+ "(b) The fourth harmonic is 56.0 KHz\n",
+ "(c) Minimum sampling rate is 112.0 KHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.2 Page no 222"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N = 14\n",
+ "discrete_levels = 2.0**N\n",
+ "\n",
+ "#Calculation\n",
+ "num_vltg_inc =2**N-1\n",
+ "resolution = 12/discrete_levels \n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The numbedr of discrete levels that are represented using N number of bits are \",discrete_levels\n",
+ "print\"(b) the number odf voltage increments required to divide the voltage range are \",num_vltg_inc\n",
+ "print\"(c) Resolution of the digitization \",round(resolution*10**6,2),\"microvolt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The numbedr of discrete levels that are represented using N number of bits are 16384.0\n",
+ "(b) the number odf voltage increments required to divide the voltage range are 16383\n",
+ "(c) Resolution of the digitization 732.42 microvolt\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.3 Page no 225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "N =12\n",
+ "SINAD1=78\n",
+ "\n",
+ "#Calculation\n",
+ "SINAD2 = 6.02*N + 1.76\n",
+ "ENOB =(SINAD1 -1.76)/6.02\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The SINAD for 12 bit convertre is \",SINAD2,\"db\"\n",
+ "print\"(b) The ENOB for the converter with SINAD of 78 dB is \",round(ENOB,2),\"bits\" \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The SINAD for 12 bit convertre is 74.0 db\n",
+ "(b) The ENOB for the converter with SINAD of 78 dB is 12.66 bits\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.4 Page no 233"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Gievn\n",
+ "Vm = 1.0\n",
+ "Vin = 0.25\n",
+ "mu =255\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Vout = (Vm*log(1+mu*(Vin/Vm)))/log(1+mu)\n",
+ "gain =Vout/Vin\n",
+ "\n",
+ "#Result\n",
+ "print\"The output voltage of the compander \",round(Vout,2),\"volt\"\n",
+ "print\"Gain of the compander is \",round(gain,0)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output voltage of the compander 0.75 volt\n",
+ "Gain of the compander is 3.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.5 Page no 234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Vin = 0.8\n",
+ "Vm =1.0\n",
+ "mu =255\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Vout = (Vm*math.log(1+mu*(Vin/Vm)))/math.log(1+mu)\n",
+ "gain =Vout/Vin\n",
+ "\n",
+ "#Result\n",
+ "print\"The output voltage of the compander \",round(Vout,1),\"volt\"\n",
+ "print\"Gain of the compander is \",round(gain,1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output voltage of the compander 1.0 volt\n",
+ "Gain of the compander is 1.2\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter8.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter8.ipynb new file mode 100755 index 00000000..4cad3df0 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter8.ipynb @@ -0,0 +1,185 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6738b73e6fb4913114449836a25c14169c484a93e5e60fcba9b0e4a9815c8f56"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 8 Radio transmitters"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.1 Page no 249"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f = 16*10**6\n",
+ "ppm = 200\n",
+ "frequency_variation = 200 *16 \n",
+ "\n",
+ "#Calculation\n",
+ "min_f = f - frequency_variation\n",
+ "max_f = f + frequency_variation\n",
+ "\n",
+ "#Reslt\n",
+ "print\"The minimum and maximum frequencies for the crystal of 16 Mhz with stability of 200 are \",min_f,\"Hz and\",max_f,\"Hz respectively\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimum and maximum frequencies for the crystal of 16 Mhz with stability of 200 are 15996800 Hz and 16003200 Hz respectively\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.2 Page no 250"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f =14.9*10**6\n",
+ "mul_factor = 2*3*3\n",
+ "stability_ppm =300\n",
+ "variation = 0.0003\n",
+ "\n",
+ "#Calculation\n",
+ "total_variation = variation* mul_factor\n",
+ "fout = f * mul_factor\n",
+ "frequency_variation = fout*total_variation\n",
+ "f_lower = fout - frequency_variation\n",
+ "f_upper = fout + frequency_variation\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The output frequency of the transmitter is \",fout/10**6,\"MHz\"\n",
+ "print\"(b) The maximum and minimum frequencies of the transmitter are \",round(f_lower/10**6,2),\"Mhz and \",round(f_upper/10**6,2),\"Mhz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The output frequency of the transmitter is 268.2 MHz\n",
+ "(b) The maximum and minimum frequencies of the transmitter are 266.75 Mhz and 269.65 Mhz\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.3 Page no 259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "f = 10*10**6\n",
+ "div_factor = 100.0\n",
+ "A =63\n",
+ "N = 285\n",
+ "M=32\n",
+ "\n",
+ "#Calculation\n",
+ "ref = f/div_factor\n",
+ "R =M*N+A\n",
+ "fout= R*ref\n",
+ "\n",
+ "#Result\n",
+ "print\"The output frequency of the synthesizer is \",fout/10**6,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output frequency of the synthesizer is 918.3 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.4 Page no 259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "f = 10*10**6\n",
+ "div_factor = 100.0\n",
+ "A =64\n",
+ "N = 285\n",
+ "M=32\n",
+ "\n",
+ "#Calculation\n",
+ "ref = f/div_factor\n",
+ "R =M*N+A\n",
+ "fout= R*ref\n",
+ "\n",
+ "#Result\n",
+ "print\"The output frequency of the synthesizer is \",fout/10**6,\"MHz\"\n",
+ "print\"The step change is \",fout/10**6-918.3,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output frequency of the synthesizer is 918.4 MHz\n",
+ "The step change is 0.1 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter9.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter9.ipynb new file mode 100755 index 00000000..379e8939 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter9.ipynb @@ -0,0 +1,274 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3ff4b00636e0eec0da6869f81549546163050c8b991ea646d8083caae0f8dd37"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 9 Communication receivers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.1 Page no 318"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "fl =220*10**6\n",
+ "fm =224*10**6\n",
+ "IF1 = 10.7*10**6\n",
+ "IF = 1.5*10**6\n",
+ "\n",
+ "#Calculation\n",
+ "IF2 =IF1+IF\n",
+ "tune_l =fl+IF1\n",
+ "tune_m = fm+IF1\n",
+ "IF1_imgl = tune_l+IF1\n",
+ "IF2_imgm = tune_m+IF1\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The local oscillatior tuning range is \",tune_l/10**6,\"to \",tune_m/10**6,\"MHz\"\n",
+ "print\"(b) Frequency of the second local oscillator is \",IF2/10**6,\"MHz\"\n",
+ "print\"(c) First IF image range is \",IF1_imgl/10**6,\"MHz to \",IF2_imgm/10**6,\"MHz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The local oscillatior tuning range is 230.7 to 234.7 MHz\n",
+ "(b) Frequency of the second local oscillator is 12.2 MHz\n",
+ "(c) First IF image range is 241.4 MHz to 245.4 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.2 Page no 324"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R = 100*10**3\n",
+ "T = 273+25\n",
+ "B = 20*10**3\n",
+ "k = 1.38*10**-23\n",
+ "\n",
+ "#Calculation\n",
+ "Vn=(4*k*T*B*R)**0.5\n",
+ "\n",
+ "#Result\n",
+ "print\"The noise voltage across 100k resistor is \",round(Vn*10**6,2),\"microvolt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The noise voltage across 100k resistor is 5.74 microvolt\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.3 Page no 324"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R=75\n",
+ "B=6*10**6 \n",
+ "T = 29+273\n",
+ "k =1.38*10**-23\n",
+ "\n",
+ "#calculation\n",
+ "Vn = (4*k*T*B*R)**0.5\n",
+ "\n",
+ "#Result\n",
+ "print\"The input themal noise is \",round(Vn*10**6,2),\"microvolt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The input themal noise is 2.74 microvolt\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.4 Page no 326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "Tc=32.2\n",
+ "Tk=273+Tc\n",
+ "B =30*10**3\n",
+ "k =1.38*10**-23\n",
+ "\n",
+ "#Calculation\n",
+ "Pn=k*Tk*B\n",
+ "\n",
+ "#Result\n",
+ "print\"The average noise power is \",round(Pn*10**16,2),\"10**-16 W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The average noise power is 1.26 10**-16 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.5 Page no 329"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "SN_ip = 8\n",
+ "SN_op = 6.0\n",
+ "\n",
+ "#Calculation\n",
+ "NR = SN_ip/SN_op\n",
+ "NF = 10*log10(NR)\n",
+ "\n",
+ "#Result\n",
+ "print\"The noise factor is \",round(NR,2)\n",
+ "print\"The noise figure is \",round(NF,2),\"dB\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The noise factor is 1.33\n",
+ "The noise figure is 1.25 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.6 Page no 330"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R= 75.0\n",
+ "T=31+273\n",
+ "k=1.38*10**-23\n",
+ "B=6*10**6\n",
+ "Vs = 8.3*10**-6\n",
+ "NF=2.8\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Vn = math.sqrt(4*k*T*B*R)\n",
+ "Pn = Vn**2/R\n",
+ "Ps = Vs**2/R\n",
+ "SN = (Ps*10**12)/(Pn/10.0**12)\n",
+ "SN_dB =10*log10(SN)\n",
+ "NR = 10**0.28\n",
+ "SN_op = SN/NR\n",
+ "Tn = 290*(NR-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The input noise power is \",round(Pn*10**12,1),\"pW\"\n",
+ "print\"(b) The input signal power is \",round(Ps*10**12,3),\"pW\"\n",
+ "print\"(c) Signal to noise ratio in decibels \",round(SN/10**24,2)\n",
+ "print\"(d) The noise factor is \",round(NR,2)\n",
+ "print\"(e) Signal to noise ratio of the amplifier is \",round(SN_op/10**24,2)\n",
+ "print\"(f) The noise temperature of the amplifier \",round(Tn,0),\"K\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The input noise power is 0.1 pW\n",
+ "(b) The input signal power is 0.919 pW\n",
+ "(c) Signal to noise ratio in decibels 9.12\n",
+ "(d) The noise factor is 1.91\n",
+ "(e) Signal to noise ratio of the amplifier is 4.79\n",
+ "(f) The noise temperature of the amplifier 263.0 K\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/chapter_2.ipynb b/Principles_Of_Electronic_Communication_Systems/chapter_2.ipynb new file mode 100755 index 00000000..3847150a --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/chapter_2.ipynb @@ -0,0 +1,1143 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:759039f1dfc5f6d62e90bf867630bc8f1cdda845968a4b5c11c4acddcb77b251"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2 The fundamentals of Electronics: A Review"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 Page no 31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "vout=750*10**-3\n",
+ "vin = 30*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "gain=vout/vin\n",
+ "\n",
+ "#Result\n",
+ "print\"The Voltage gain of the amplifier is \",gain\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Voltage gain of the amplifier is 25000.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2 Page no 31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "pout=6\n",
+ "power_gain=80.0\n",
+ "\n",
+ "#calculation\n",
+ "pin=pout/power_gain\n",
+ "\n",
+ "#Result\n",
+ "print\"The input power of the signal is \",pin*1000,\"mW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The input power of the sigmal is 75.0 mW\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.3 Page no 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "A1=5;\n",
+ "A2=2;\n",
+ "A3=17;\n",
+ "total_gain=A1*A2*A3;\n",
+ "pin= 40*10**-3;\n",
+ "\n",
+ "#calculation\n",
+ "pout=total_gain*pin;\n",
+ "\n",
+ "#Result\n",
+ "print\"The output power is\",pout,\"watts\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output power is 6.8 watts\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.4 Page no 32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "pin=25.0*10**-6;\n",
+ "pout=1.5*10**-3;\n",
+ "A1=3.0;\n",
+ "\n",
+ "#Calculation\n",
+ "total_gain=pout/pin;\n",
+ "print\"Total gain is\",total_gain\n",
+ "A2=total_gain/A1\n",
+ "\n",
+ "#Result\n",
+ "print\"The gain of second stage is \",A2\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total gain is 60.0\n",
+ "The gain of second stage is 20.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.5 Page no 34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "R1=10.0*10**3;\n",
+ "R2=470.0;\n",
+ "\n",
+ "#Calculation\n",
+ "attenuation=R2/(R2+R1)\n",
+ "A2=1/attenuation\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The attenuation (A1) is\",round(attenuation,3)\n",
+ "print\"(b) The attenuation (A2) is\",round(A2,1)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The attenuation (A1) is 0.045\n",
+ "(b) The attenuation (A2) is 22.3\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.6 Page no 35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "Vin=20.0*10**-6;\n",
+ "Vout=100*10**-3;\n",
+ "A1=45000.0 #A1 isAmplifier gain\n",
+ "\n",
+ "#calculation\n",
+ "AT=Vout/Vin #AT is Total gain\n",
+ "A2=AT/A1 #A2 is attenuation factor\n",
+ "\n",
+ "#Result\n",
+ "print\"Total gain is\",AT\n",
+ "print\"The atenuation factor needed to to keep the output voltage from exceeding 100 mv is \",round(A2,4)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total gain is 5000.0\n",
+ "The atenuation factor needed to to keep the output voltage from exceeding 100 mv is 0.1111\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.7 Page no 36"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "Vin=3.0*10**-3\n",
+ "Vout=5\n",
+ "Pin=50.0*10**-3 \n",
+ "Pout=2*10**-3 \n",
+ "\n",
+ "#calculation\n",
+ "import math\n",
+ "gain_dB= 20*log10 (Vout/Vin)\n",
+ "gain_db=10*log10 (Pout/Pin)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The gain of amplifier in dB is \",round(gain_dB,1)\n",
+ "print\"(b) The gain in dB is \",round(gain_db,2)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The gain of amplifier in dB is 64.4\n",
+ "(b) The gain in dB is -13.98\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.8 Page no 38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "gain_dB = 40\n",
+ "pout_W= 100\n",
+ "\n",
+ "#calculation\n",
+ "pin_W = pout_W/10.0**4\n",
+ "\n",
+ "#Result\n",
+ "print\"The input power is \",pin_W*10**3,\"m Watt\"\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The input power is 10.0 m Watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.9 Page no 38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "\n",
+ "gain_db = 60\n",
+ "vin = 50*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "vout = 10**(60/20.0)*vin\n",
+ "\n",
+ "#Result\n",
+ "print\"The output voltage is \",vout,\"volt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output voltage is 0.05 volt\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.10 Page no 39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "\n",
+ "vin=90*10**-3\n",
+ "R1= 10.0*10**3\n",
+ "vout=7.8\n",
+ "Rout=8.0\n",
+ "\n",
+ "#calculation\n",
+ "pin= vin**2/R1\n",
+ "pout=vout**2/Rout\n",
+ "\n",
+ "import math\n",
+ "Ap_db = 10*log10 (pout/pin)\n",
+ "\n",
+ "#Result\n",
+ "print\"The power gain in decibel is \",round(Ap_db,1),\"dB\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The power gain in decibel is 69.7 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.11 Page no 40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "\n",
+ "gain_db = 28\n",
+ "pin = 36*10**-3\n",
+ "\n",
+ "#calculation\n",
+ "pout = 10**2.8*pin;\n",
+ "\n",
+ "#Result\n",
+ "print\"The output power is \",round(pout,2),\"watt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output power is 22.71 watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.12 Page no 40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "gain1 = 6.8 \n",
+ "gain2 = 14.3\n",
+ "attenuation1 = -16.4\n",
+ "attenuation2 = -2.9\n",
+ "vout = 800*10**-3\n",
+ "\n",
+ "#calculation\n",
+ "At = gain1+gain2+attenuation1+attenuation2\n",
+ "vin = vout/10.0**(At/20.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"The input voltage is \",round(vin*10**3,1),\"mv\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The input voltage is 650.3 mv\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.13 Page no 40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "pout_db =12.3\n",
+ "\n",
+ "#calculation\n",
+ "pout_mW = 0.001*10**(12.3/10.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"The output power is \" ,round(pout_mW*10**3,0),\"mv\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The output power is 17.0 mv\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.14 Page no 46"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "c = 2.7*10**-12\n",
+ "l = 33*10**-9\n",
+ "\n",
+ "#calculation\n",
+ "fr= 1/(6.28*(l*c)**0.5)\n",
+ "\n",
+ "#Result\n",
+ "print\"The resonat frequency is \" ,round(fr/10.0**6,0),\"Mhz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The resonat frequency is 533.0 Mhz\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.15 Page no 47"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "c =12*10**-12\n",
+ "fr = 49*10**6\n",
+ "\n",
+ "#calculation\n",
+ "l=1/(4*3.14**2*fr**2*c)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of inductance is \" ,round(l*10**9,0),\"nh\" \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of inductance is 880.0 nh\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.16 Page no 49"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "fr=28*10**6\n",
+ "Q=70.0\n",
+ "\n",
+ "#calculation\n",
+ "bandwidth = fr/Q\n",
+ "\n",
+ "#Result\n",
+ "print\"The bandwidth is \",bandwidth/10.0**3,\"Khz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The bandwidth is 400.0 Khz\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.17 Page no 50"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "f1= 7.93*10**6\n",
+ "f2= 8.07*10**6\n",
+ "\n",
+ "#calculation\n",
+ "bw= f2-f1\n",
+ "fr=(f1*f2)**0.5\n",
+ "Q= fr/bw\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The bandwidth is \",bw/10.0**3,\"Khz\"\n",
+ "print\"(b) The resonant frequency is \",round(fr/10.0**6,0),\"Mhz\"\n",
+ "print\"(c) The Q of resonant circuit is \",round(Q,2)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The bandwidth is 140.0 Khz\n",
+ "(b) The resonant frequency is 8.0 Mhz\n",
+ "(c) The Q of resonant circuit is 57.14\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.18 Page no 50"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "Q=200.0\n",
+ "fr=16*10**6\n",
+ "\n",
+ "#calculation\n",
+ "bw=fr/Q\n",
+ "f1= fr-(bw/2)\n",
+ "f2=fr+(bw/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Bandwidth is \",bw*10**-3,\"KHz\"\n",
+ "print\"f1= \",f1*10**-6,\"MHz\"\n",
+ "print\"f2= \",f2*10**-6,\"MHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Bandwidth is 80.0 KHz\n",
+ "f1= 15.96 MHz\n",
+ "f2= 16.04 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.19 Page no 52"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "Q= 150\n",
+ "Vs=3*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "Vc= Q*Vs\n",
+ "\n",
+ "#Result\n",
+ "print\"The voltage across capacitor is \",Vc*10**6,\"microvolt\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The voltage across capacitor is 450.0 microvolt\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.20 Page no 54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "fr= 52*10**6\n",
+ "Q=12.0\n",
+ "L=0.15*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "Rw=(6.28*fr*L)/Q\n",
+ "Req= Rw*(Q**2+1)\n",
+ "\n",
+ "#Result\n",
+ "print\"Impedance of the parellel LC circuit is \",round(Req,0),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Impedance of the parellel LC circuit is 592.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.21 Page no 54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "fr= 52.0*10**6\n",
+ "Rw= 4.1\n",
+ "L =0.15*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "C=1/(4.0*3.14**2*fr**2*L)\n",
+ "Z = L/(C*Rw)\n",
+ "\n",
+ "#Result\n",
+ "print\"the impedance of the circuit is \",round(Z,0),\"ohm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the impedance of the circuit is 585.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.22 Page no 55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "bw = 1.0*10**6\n",
+ "XL = 300\n",
+ "Rw = 10.0\n",
+ "fr =10*10**6\n",
+ "\n",
+ "#calculation\n",
+ "Q1 = XL/Rw\n",
+ "Rp = Rw*(Q1**2+1) \n",
+ "\n",
+ "Q2 = fr/bw\n",
+ "Rpnew = Q2*XL\n",
+ "\n",
+ "Rext = (Rpnew*Rp)/(Rp-Rpnew)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of resistor needed to set the bandwidth of the parellel tuned circuit is \",round(Rext,1),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of resistor needed to set the bandwidth of the parellel tuned circuit is 4497.5 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.23 Page no 57"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "R = 8.2*10**3\n",
+ "C =0.0033*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "fco = 1/(6.28* R*C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The cut off frequency is \",round(fco/10.0**3,2),\"Khz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The cut off frequency is 5.88 Khz\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.24 Page no 60"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "fco =3.4*10**3\n",
+ "C = 0.047*10**-6\n",
+ "\n",
+ "#calculation\n",
+ "R = 1/(6.28* fco* C)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of the resistor is \",round(R,0),\"ohm\"\n",
+ "print\"The closest standard value is \", 1000 ,\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of the resistor is 996.0 ohm\n",
+ "The closest standard value is 1000 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.25 Page no 61"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "fnotch = 120\n",
+ "R = 220*10**3\n",
+ "\n",
+ "#calculatiuon\n",
+ "C = 1/(6.28*R*fnotch)\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of capacitance required is \",round(2*C*10**6,3),\"microfarad\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of capacitance required is 0.012 microfarad\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.26 Page no 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "Vpeak =3.0\n",
+ "f=48*10**3\n",
+ "\n",
+ "#calculation\n",
+ "fifth_harmonic = 5*f\n",
+ "Vrms=(4/3.14)*(3/5.0)*0.707\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The frequency of the fifth harmonic is \",fifth_harmonic/10.0**3,\"Khz\"\n",
+ "print\"The RMS voltage of the fifth harmonic is \",round(Vrms,3)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The frequency of the fifth harmonic is 240.0 Khz\n",
+ "The RMS voltage of the fifth harmonic is 0.54\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.27 Page no 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "Vpeak = 5\n",
+ "f = 4.0*10**6\n",
+ "duty_cycle=0.3\n",
+ "\n",
+ "#calculation\n",
+ "T = 1/f\n",
+ "t0 = duty_cycle*T\n",
+ "Vavg = Vpeak*duty_cycle\n",
+ "min_bw =1/t0\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) The average DC value is \",Vavg,\"volt\"\n",
+ "print\"(b) The minimum bandwidth required is \" ,round(min_bw/10.0**6,3),\"Mhz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) The average DC value is 1.5 volt\n",
+ "(b) The minimum bandwidth required is 13.333 Mhz\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.28 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "tr =6*10**-9\n",
+ "\n",
+ "#calculation\n",
+ "min_bw=(35/0.006)\n",
+ "\n",
+ "#Result\n",
+ "print\"The minimum bandwidth is % is \",round(min_bw/10.0**2,1),\"Mhz\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimum bandwidth is % is 58.3 Mhz\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.29 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "bw= 200.0*10**3\n",
+ "\n",
+ "#calculation\n",
+ "tr= 0.35/(bw*10**-3)\n",
+ "\n",
+ "#Result\n",
+ "print\"The fastest rise time of the circuit is \" ,tr*10**3,\"microseconds\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The fastest rise time of the circuit is 1.75 microseconds\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.30 Page no 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "bw_mhz = 60\n",
+ "tri_ns= 15\n",
+ "\n",
+ "#calculation\n",
+ "tra_osci = 0.35/(bw_mhz)\n",
+ "tra_comp = 1.1*(tri_ns**2 + (tra_osci*10**3)**2)**0.5\n",
+ "\n",
+ "#Result\n",
+ "print\"The rise time of the displayed square wave is \",round(tra_comp,1),\"ns\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The rise time of the displayed square wave is 17.7 ns\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Principles_Of_Electronic_Communication_Systems/screenshots/image_1.png b/Principles_Of_Electronic_Communication_Systems/screenshots/image_1.png Binary files differnew file mode 100755 index 00000000..41f1e840 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/screenshots/image_1.png diff --git a/Principles_Of_Electronic_Communication_Systems/screenshots/image_2.png b/Principles_Of_Electronic_Communication_Systems/screenshots/image_2.png Binary files differnew file mode 100755 index 00000000..3575a38f --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/screenshots/image_2.png diff --git a/Principles_Of_Electronic_Communication_Systems/screenshots/image_3.png b/Principles_Of_Electronic_Communication_Systems/screenshots/image_3.png Binary files differnew file mode 100755 index 00000000..882458c8 --- /dev/null +++ b/Principles_Of_Electronic_Communication_Systems/screenshots/image_3.png |