summaryrefslogtreecommitdiff
path: root/Electronic_Communication_Systems/Chapter17.ipynb
diff options
context:
space:
mode:
authorhardythe12014-08-13 11:41:01 +0530
committerhardythe12014-08-13 11:41:01 +0530
commit7e82f054d405211e1e8760524da8ad7c9fd75286 (patch)
tree1790cf5a7460b48582da6c35417a85f3a1389a81 /Electronic_Communication_Systems/Chapter17.ipynb
parent98bff1c301dd3b8b14983037a8a483e3eae1796d (diff)
downloadPython-Textbook-Companions-7e82f054d405211e1e8760524da8ad7c9fd75286.tar.gz
Python-Textbook-Companions-7e82f054d405211e1e8760524da8ad7c9fd75286.tar.bz2
Python-Textbook-Companions-7e82f054d405211e1e8760524da8ad7c9fd75286.zip
adding book
Diffstat (limited to 'Electronic_Communication_Systems/Chapter17.ipynb')
-rwxr-xr-xElectronic_Communication_Systems/Chapter17.ipynb140
1 files changed, 140 insertions, 0 deletions
diff --git a/Electronic_Communication_Systems/Chapter17.ipynb b/Electronic_Communication_Systems/Chapter17.ipynb
new file mode 100755
index 00000000..d337b75e
--- /dev/null
+++ b/Electronic_Communication_Systems/Chapter17.ipynb
@@ -0,0 +1,140 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a213742fda8c74130f9501f7775b062f79302454ea874815627cdc7db481bf9e"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 17: Introduction To Fiber Optic Technology"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.1, page no. 557"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "# Variable Declaration\n",
+ "n1 = 1.50 # Refractive Index of Substance 1\n",
+ "n2 = 1.46 # Refractive Index of Substance 2\n",
+ "\n",
+ "# Calculation\n",
+ "import math # Math Library\n",
+ "THEETA_c = math.asin(n2/n1) # Critical angle of incidence (degrees)\n",
+ "\n",
+ "# Result\n",
+ "print \"The critical angle of incidence between two given substances is THEETA_c =\",round(THEETA_c*180/math.pi,1),\"degrees.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The critical angle of incidence between two given substances is THEETA_c = 76.7 degrees.\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.2, page no. 566"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "# Variable Declaration\n",
+ "tr = 2.00*pow(10,-9) # Rise Time (s)\n",
+ "Cd = 3.00*pow(10,-12) # Capacitance (F)\n",
+ "Cdh = 2.00*pow(10,-12) # Assumed Capacitance (F)\n",
+ "\n",
+ "# Calculation\n",
+ "import math # Math Library\n",
+ "BW = 0.35/tr # Bandwidth (Hz)\n",
+ "Rl = 1/(2*math.pi*BW*Cdh) # Resistance (Ohms)\n",
+ "\n",
+ "# Result\n",
+ "print \"BW =\",round(BW/pow(10,6)),\"MHz\"\n",
+ "print \"Rl =\",round(Rl),\"Ohms\"\n",
+ "print \"In practice, a value approximately 25 percent of this calculated value will be used.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "BW = 175.0 MHz\n",
+ "Rl = 455.0 Ohms\n",
+ "In practice, a value approximately 25 percent of this calculated value will be used.\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ "Example 17.3, page no. 569"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "# Variable Declaration\n",
+ "Mu_A = 40.00 # Diode Current (uW)\n",
+ "Mu_W = 80.00 # Incident Light (uW)\n",
+ "\n",
+ "# Calculation\n",
+ "import math # Math Library\n",
+ "R = Mu_A/Mu_W # Responsivity (A/W)\n",
+ "\n",
+ "# Result\n",
+ "print \"The Responsivity of the light detector is R =\",round(R,1),\"A/W.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Responsivity of the light detector is R = 0.5 A/W.\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file