diff options
author | Trupti Kini | 2016-03-06 23:30:10 +0600 |
---|---|---|
committer | Trupti Kini | 2016-03-06 23:30:10 +0600 |
commit | 92319e166bf1863f52f12a4b538671231b88b68d (patch) | |
tree | 6cf8e5ae4d17f36ffd4c7f7a8d5b17fa1dfac10f /Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb | |
parent | 2afe55befddb39c05a5bc4008d6ecd72c6c98253 (diff) | |
download | Python-Textbook-Companions-92319e166bf1863f52f12a4b538671231b88b68d.tar.gz Python-Textbook-Companions-92319e166bf1863f52f12a4b538671231b88b68d.tar.bz2 Python-Textbook-Companions-92319e166bf1863f52f12a4b538671231b88b68d.zip |
Added(A)/Deleted(D) following books
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter10.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter12.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter13.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter14.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter2.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter3.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter4.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter5.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter6.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter7.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter8.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter9.ipynb
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/screenshots/1.png
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/screenshots/2.png
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/screenshots/3.png
A sample_notebooks/LalitKumar/Ch3.ipynb
Diffstat (limited to 'Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb')
-rw-r--r-- | Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb b/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb new file mode 100644 index 00000000..613347fe --- /dev/null +++ b/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb @@ -0,0 +1,143 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter11 - Wavelength-division multiplexing" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 11.1 : Page 277" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "interaction length = 0.785 \n" + ] + } + ], + "source": [ + "from __future__ import division\n", + "from math import sqrt, pi, asin\n", + "#interaction length \n", + "po=1##assume\n", + "p1=po/2##\n", + "p2=p1##\n", + "kl=asin(sqrt(p1))##in degree\n", + "print \"interaction length = %0.3f \"%kl\n", + "#answer is in the form of pi in the textbook" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 11.2 : Page 279" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "output port positioned at 0.7492 mm with respect to the input port will gather signals at h1=1310nm\n", + "output port positioned at 0.6117 mm with respect to the input port will gather signals at h1=1550nm\n" + ] + } + ], + "source": [ + "#position \n", + "a=8.2##in micro meter\n", + "n1=1.45##\n", + "n2=1.446##\n", + "h1=1.31##in micro meter\n", + "h2=1.55##/in micro meter\n", + "v1=((2*pi*a*sqrt(n1**2-n2**2))/h1)##\n", + "v2=((2*pi*a*sqrt(n1**2-n2**2))/h2)##\n", + "db=2.439##\n", + "Del=5.5096*10**-3##\n", + "k1=1.0483##mm**-1##\n", + "k2=1.2839#/m**-1\n", + "l1=((pi)/(4*k1))##in mm\n", + "l2=((pi)/(4*k2))##in mm\n", + "print \"output port positioned at %0.4f\"%(l1),\" mm with respect to the input port will gather signals at h1=1310nm\"\n", + "print \"output port positioned at %0.4f\"%(l2),\" mm with respect to the input port will gather signals at h1=1550nm\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 11.4 : Page 286" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "required order of the arrayed waveguide, = 121.0\n" + ] + } + ], + "source": [ + "# ARRAYED GUIDE\n", + "#given data\n", + "c=3*10**8#\n", + "lamda_c=1.55*10**-6## in m\n", + "vc=c/lamda_c#\n", + "n=16## number of channel\n", + "f=100*10**9## in Hz\n", + "delV_FSR=n*f#\n", + "m=round(vc/delV_FSR)#\n", + "print \"required order of the arrayed waveguide, = \",m" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 2", + "language": "python", + "name": "python2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.9" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |