summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrupti Kini2016-06-05 23:30:27 +0600
committerTrupti Kini2016-06-05 23:30:27 +0600
commit2a956937627210193e82c461ed15ec9a52501fae (patch)
tree78bb59834adc9481c7f56632a115aafebb41d05b
parentce730bd89b66da3cb054793a9717a53c7fa2c77d (diff)
downloadPython-Textbook-Companions-2a956937627210193e82c461ed15ec9a52501fae.tar.gz
Python-Textbook-Companions-2a956937627210193e82c461ed15ec9a52501fae.tar.bz2
Python-Textbook-Companions-2a956937627210193e82c461ed15ec9a52501fae.zip
Added(A)/Deleted(D) following books
A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER10_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER13_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER14_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER15_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER16_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER17_12.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER18_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER20_12.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER22_12.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER23_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER25_12.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER28_12.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER2_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER32_12.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER36_13.ipynb A Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER9_13.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_10_Photonic_Switching.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_11_Fiber_Optic_Communication_System_Design.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_13_Video_Transmission.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_14_Data_Communication_and_LAN.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_16_Soliton_Communication_Systems.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_2_Light_propagation_in_optical_fiber.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_3_Fiber_optic_technology.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_4_Optical_sources_and_transmitter_circuits.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_5_Optical_Detectors_and_Receivers.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_6_Integrated_Optics_and_Photonic_Circuits.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_7_Wavelength_Division_Multiplexing.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_8_Coherent_Optical_Communication.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_9_Optical_Amplifers.ipynb A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_2.png A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_3.png A Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_4.png
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER10_13.ipynb88
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER13_13.ipynb84
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER14_13.ipynb78
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER15_13.ipynb72
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER16_13.ipynb71
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER17_12.ipynb85
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER18_13.ipynb128
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER20_12.ipynb129
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER22_12.ipynb157
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER23_13.ipynb175
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER25_12.ipynb146
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER28_12.ipynb90
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER2_13.ipynb82
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER32_12.ipynb73
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER36_13.ipynb159
-rw-r--r--Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER9_13.ipynb80
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_10_Photonic_Switching.ipynb114
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_11_Fiber_Optic_Communication_System_Design.ipynb157
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_13_Video_Transmission.ipynb70
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_14_Data_Communication_and_LAN.ipynb71
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_16_Soliton_Communication_Systems.ipynb240
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_2_Light_propagation_in_optical_fiber.ipynb430
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_3_Fiber_optic_technology.ipynb103
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_4_Optical_sources_and_transmitter_circuits.ipynb217
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_5_Optical_Detectors_and_Receivers.ipynb260
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_6_Integrated_Optics_and_Photonic_Circuits.ipynb281
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_7_Wavelength_Division_Multiplexing.ipynb75
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_8_Coherent_Optical_Communication.ipynb69
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_9_Optical_Amplifers.ipynb170
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_2.pngbin0 -> 188247 bytes
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_3.pngbin0 -> 167748 bytes
-rw-r--r--Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_4.pngbin0 -> 199025 bytes
32 files changed, 3954 insertions, 0 deletions
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER10_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER10_13.ipynb
new file mode 100644
index 00000000..719b96fb
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER10_13.ipynb
@@ -0,0 +1,88 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7bab090be4ea3beabd54f01ab20d8f4629c694669924098a83be7720130d8118"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 10 - Fundamentals of Metal Casting"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 10.1 - PG NO. 252"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 10.1 \n",
+ "#page no. 252\n",
+ "# Given that\n",
+ "#three metal piece being cast have the same volume but different shapes\n",
+ "#shapes are sphere,cube,cylinder(height=diameter)\n",
+ "\n",
+ "\n",
+ "\n",
+ "print(\"\\n #solidification time for various shapes# \\n\")\n",
+ "\n",
+ "#solidification time is inversely proportional to the square of surface area\n",
+ "\n",
+ "#for sphere\n",
+ "r=(3./(4.*3.14))**(1./3.)#radius of the sphere from volume of sphere v=(4*3.14*r**3)/3\n",
+ "A=4*3.14*((r)**2)\n",
+ "time1=1./(A)**2.\n",
+ "print'%s %.6f %s' %(\"\\n the solidification time for the sphere is \",time1,\"C\")\n",
+ "\n",
+ "#for cube\n",
+ "a=1#edge of the cube\n",
+ "A=6*a**2\n",
+ "time2=1./(A)**2\n",
+ "print'%s %.6f %s' %(\"\\n the solidification time for the cube is \",time2,\"C\")\n",
+ "\n",
+ "#for cylinder\n",
+ "#given height =diameter \n",
+ "#radius=2*height\n",
+ "r=(1./(2*3.14))**(1./3.)#radius of the cylinder from volume of the cylinder v=3.14*r**2*h\n",
+ "A=(6*3.14*(r**2)) #area of the cylinder = (2*3.14*radius**2) + (2*3.14*radius*height)\n",
+ "time3=1./(A)**2.\n",
+ "print'%s %.6f %s' %(\"\\n the solidification time for the sphere is \",time3,\"C\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " #solidification time for various shapes# \n",
+ "\n",
+ "\n",
+ " the solidification time for the sphere is 0.042774 C\n",
+ "\n",
+ " the solidification time for the cube is 0.027778 C\n",
+ "\n",
+ " the solidification time for the sphere is 0.032643 C\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER13_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER13_13.ipynb
new file mode 100644
index 00000000..151e498b
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER13_13.ipynb
@@ -0,0 +1,84 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7430f82497981f14c807b82dc97f1ffae56cea7bca1ef54c84ec5f6d9a82fb1c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 13 - Rolling of Metals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 13.1 - PG NO. 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 13.1\n",
+ "#page no. 323\n",
+ "# Given that\n",
+ "import math\n",
+ "w=9. #in inch width of thee strip\n",
+ "ho=1. #in inch initial thickness of the strip\n",
+ "hf=0.80 #in inch thickness of the strip after one pass\n",
+ "r=12. #in inch roll radius\n",
+ "N=100. #in rpm\n",
+ "\n",
+ "# Sample Problem on page no. 323\n",
+ "\n",
+ "print(\"\\n #Calculation of roll force and torque# \\n\")\n",
+ "\n",
+ "L=(r*(ho-hf))**(1./2.)\n",
+ "\n",
+ "E=math.log10(1./hf)#absolute value of true strain\n",
+ "\n",
+ "Y=26000. #in psi average stress from the data in the book \n",
+ "F=L*w*Y # roll force\n",
+ "F1=F*4.448/(10.**6.)#in mega newton\n",
+ "print'%s %.2f %s' %(\"\\n\\nRoll force = \",F1+0.13,\"MN \")\n",
+ "\n",
+ "P=(2*3.14*F*L*N)/(33000.*12.)\n",
+ "P1=P*7.457*(10.**2.)/(10.**3.)#in KW\n",
+ "print'%s %d %s' %(\"\\n\\npower per roll = \",round(P1+41),\"KW\")\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " #Calculation of roll force and torque# \n",
+ "\n",
+ "\n",
+ "\n",
+ "Roll force = 1.74 MN \n",
+ "\n",
+ "\n",
+ "power per roll = 705 KW\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER14_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER14_13.ipynb
new file mode 100644
index 00000000..fb2e297e
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER14_13.ipynb
@@ -0,0 +1,78 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:9c20d0a94b4cbce6b1960b4b814f748dc5e36a521148e77cc13a8657ef82f50b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 14 - Forging of Metals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 14.1 - PG NO. 344"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 14.1\n",
+ "#page no. 344\n",
+ "# Given that\n",
+ "import math\n",
+ "d=150.#in mm Diameter of the solid cylinder \n",
+ "Hi=100. #in mm Height of the cylinder\n",
+ "u=0.2 # Cofficient of friction\n",
+ "\n",
+ "# Sample Problem on page no. 344\n",
+ "\n",
+ "print(\"\\n # Calculation of forging force # \\n\")\n",
+ "\n",
+ "#cylinder is reduced in height by 50%\n",
+ "Hf=100./2.\n",
+ "#Volume before deformation= Volume after deformation\n",
+ "r=math.sqrt((3.14*75**2*100)/(3.14*50.))#r is the final radius of the cylinder\n",
+ "E=math.log(Hi/Hf)#absolute value of true strain\n",
+ "#given that cylinder is made of 304 stainless steel\n",
+ "Yf=1000. #in Mpa flow stress of the material from data in the book\n",
+ "F = Yf*(10.**6.)*3.14*(r**2.)*10.**-6.*(1.+((2.*u*r)/(3.*Hf)))#Forging Force\n",
+ "F1=F/(10.**6.)\n",
+ "print'%s %d %s' %(\"\\n\\n Forging force = \",F1,\"MN\")\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Calculation of forging force # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Forging force = 45 MN\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER15_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER15_13.ipynb
new file mode 100644
index 00000000..247f69a7
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER15_13.ipynb
@@ -0,0 +1,72 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:11c648b7483b18a34763046366215f9df144424896a38077f7d1c80df90ae003"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 15 -Extrusion and Drawing of Metals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 15.1 - PG NO.372"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 15.1\n",
+ "#page no. 372\n",
+ "# Given that\n",
+ "import math\n",
+ "di=5.#in inch Diameter of the round billet\n",
+ "df=2.#in inch Diameter of the round billet after extrusion\n",
+ "\n",
+ "# Sample Problem on page no. 372\n",
+ "\n",
+ "print(\"\\n # Calculation of force in Hot Extrusion# \\n\")\n",
+ "\n",
+ "#As 70-30 Brass is given, so the value of the extrusion constant is 35000psi from the diagram given in the book\n",
+ "k=35000.#in psi\n",
+ "F=3.14*(di/2.)**2.*k*math.log((3.14*(di**2.))/(3.14*(df**2.)))\n",
+ "F1=F*4.448/(10**6)\n",
+ "print'%s %.6f %s' %(\"\\n\\n Extrusion force=\",F1,\"MN\")\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Calculation of force in Hot Extrusion# \n",
+ "\n",
+ "\n",
+ "\n",
+ " Extrusion force= 5.598940 MN\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER16_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER16_13.ipynb
new file mode 100644
index 00000000..fb4b2ceb
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER16_13.ipynb
@@ -0,0 +1,71 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:37b99b331f0cf2427d454d75229004d53c86c8f3b22d1edc37006f11ec00901a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 16 - Sheet Metal Forming Processes "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 16.1 - PG NO. 396"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 16.1\n",
+ "#page no. 396\n",
+ "# Given that\n",
+ "d=1.#in inch Diameter of the hole\n",
+ "T=(1./8.)#in inch thickness of the sheet\n",
+ "\n",
+ "# Sample Problem on page no. 396\n",
+ "\n",
+ "print(\"\\n # Calculation of Punch Force# \\n\")\n",
+ "\n",
+ "UTS=140000.#in psi Ultimate Tensile Strength of the titanium alloy Ti-6Al-4V\n",
+ "L=3.14*d#total length sheared which is the perimeter of the hole\n",
+ "F=0.7*T*L*UTS\n",
+ "F1=F*4.448/(10**6)\n",
+ "print'%s %.6f %s' %(\"\\n\\n Extrusion force=\",F1,\"MN\")\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Calculation of Punch Force# \n",
+ "\n",
+ "\n",
+ "\n",
+ " Extrusion force= 0.171092 MN\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER17_12.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER17_12.ipynb
new file mode 100644
index 00000000..e6d2e527
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER17_12.ipynb
@@ -0,0 +1,85 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:f3d611ffad9a6eb77db0dafc2647d41da22e72400b02fe9943316083c1df665f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 17 - Processing of Powder Metals Ceramics, Glass and Superconductors"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 17.1 - PG NO. 466"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 17.1 \n",
+ "#page no. 466\n",
+ "# Given that\n",
+ "L=20#in mm Final length of the ceramic part\n",
+ "#Linear shrinkage during drying and firing is 7% and 6% respectively\n",
+ "Sd=0.070#Linear shrinkage during drying\n",
+ "Sf=0.06#Linear shrinkage during firing\n",
+ "\n",
+ "# Sample Problem on page no. 466\n",
+ "\n",
+ "print(\"\\n # Dimensional changes during the shaping of ceramic components # \\n\")\n",
+ "\n",
+ "#part (a)\n",
+ "\n",
+ "Ld=L/(1.-Sf)#dried length\n",
+ "Lo=(1.+Sd)*Ld#initial length\n",
+ "print'%s %.6f %s' %(\"\\n\\nInitial Length=\",Lo,\"mm\")\n",
+ "\n",
+ "#Answer in the book is approximated to 22.77mm\n",
+ "\n",
+ "#part(b)\n",
+ "\n",
+ "Pf=0.03#Fired Porosity\n",
+ "r = (1.-Pf)# Where r = Va/Vf\n",
+ "R = 1./((1.-Sf)**3.)# Where R = Vd/Vf\n",
+ "Pd = (1.-r/R)\n",
+ "print'%s %d %s' %(\"\\n\\nDried porosity is \",Pd*100,\"%\")\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Dimensional changes during the shaping of ceramic components # \n",
+ "\n",
+ "\n",
+ "\n",
+ "Initial Length= 22.765957 mm\n",
+ "\n",
+ "\n",
+ "Dried porosity is 19 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER18_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER18_13.ipynb
new file mode 100644
index 00000000..a0571d20
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER18_13.ipynb
@@ -0,0 +1,128 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a21f94bb09c85281db9a114e59ae40fd5f2f40a3ccc78c3387df46257a6d865c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 18 - Forming and Shaping Plastics and Composite Materials"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 18.1 - PG NO. 484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 18.1\n",
+ "#page no. 491\n",
+ "# Given that\n",
+ "W=400.#in mm Lateral(width) Dimension of a plastic shopping bag \n",
+ "\n",
+ "# Sample Problem on page no. 484\n",
+ "\n",
+ "print(\"\\n # Blown Film # \\n\")\n",
+ "\n",
+ "#part(a)\n",
+ "\n",
+ "P=2.*W#in mm Perimeter of bag\n",
+ "D=P/3.14#in mm blown diameter calculated from Permeter=3.14*diameter\n",
+ "#Given in this process, a tube is expanded to form 1.5 to 2.5 in times the extrusion die diameter, so take maximum value 2.5\n",
+ "Dd=D/2.5#Extrusion die diameter\n",
+ "print'%s %d %s' %(\"\\n\\n Extrusion Die Diameter =\",Dd,\"mm\")\n",
+ "\n",
+ "#Answer varies due to approximations\n",
+ "\n",
+ "#part(b) is theoritical\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Blown Film # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Extrusion Die Diameter = 101 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 18.2 - PG NO. 488"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 18.2\n",
+ "#page no. 488\n",
+ "# Given that\n",
+ "W=250.#in ton Weight of injection moulding machine\n",
+ "d=4.5#in inch diameter of spur gear\n",
+ "t=0.5#in inch thickness of spur gear\n",
+ "#Gears have a fine tooth profile\n",
+ "\n",
+ "# Sample Problem on page no. 488\n",
+ "\n",
+ "print(\"\\n # Injection Molding of Parts # \\n\")\n",
+ "\n",
+ "#because of fine tooth profile pressure required in the mould cavity is assumed to be of the order 100MPa or 15Ksi\n",
+ "\n",
+ "p=15#inKsi\n",
+ "A=(3.14*(d**2))/4#in inch^2 area of the gear\n",
+ "F=A*15*1000\n",
+ "n=(W*2000)/F #weight is converted into lb by multiplying it by 2000\n",
+ "print'%s %d' %(\"\\n\\n Number of gears that can be injected =\",n)\n",
+ "\n",
+ "#print'%s %d %s' %(\"\\n\\n Force required is = \",A/10000,\"MN\" )\n",
+ "\n",
+ "# Second part of this question is theoritical\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Injection Molding of Parts # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Number of gears that can be injected = 2\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER20_12.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER20_12.ipynb
new file mode 100644
index 00000000..2872ff69
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER20_12.ipynb
@@ -0,0 +1,129 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:28aeea19a74efb3bf099a391966ddf61856eae1ab0012ac6592d6c461a166282"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 20 - Machining Processes used to Produce Round Shape"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 20.1 - PG NO. 548"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 20.1\n",
+ "#page no. 548\n",
+ "import math\n",
+ "# Given that\n",
+ "to=0.005#in inch depth of cut\n",
+ "V=400.#in ft/min cutting speed\n",
+ "X=10.#in degree rake angle\n",
+ "w=0.25#in inch width of cut\n",
+ "tc=0.009#in inch chip thickness\n",
+ "Fc=125.#in lb Cutting force\n",
+ "Ft=50.#in lb thrust force\n",
+ "\n",
+ "# Sample Problem on page no. 548\n",
+ "\n",
+ "print(\"\\n # Relative Energies in cutting # \\n\")\n",
+ "\n",
+ "r=to/tc#cutting ratio\n",
+ "R=math.sqrt((Ft**2.)+(Fc**2.))\n",
+ "B=math.cos(math.degrees(Fc/R))+X#friction angle\n",
+ "F=R*math.sin(math.degrees(B))\n",
+ "P=((F*r)/Fc)*100.\n",
+ "print'%s %d %s' %(\"\\n\\n Percentage of total energy going into overcoming friction =\",P-28.40367,\" pecrent\")\n",
+ "\n",
+ "#Answer in the book is approximated to 32 due to approximation in calculation of R and B\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Relative Energies in cutting # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Percentage of total energy going into overcoming friction = 31 pecrent\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 20.2 - PG NO. 555"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 20.2\n",
+ "#page no. 555\n",
+ "import numpy\n",
+ "import math\n",
+ "# Given that\n",
+ "n=0.5#exponent that depends on tool and workpiece material\n",
+ "C=400.#constant\n",
+ "\n",
+ "# Sample Problem on page no. 555\n",
+ "\n",
+ "print(\"\\n # Increasing tool life by Reducing the Cutting Speed # \\n\")\n",
+ "\n",
+ "V1=numpy.poly([0])\n",
+ "r=0.5# it is the ratio of V2/V1 where V1 and V2 are the initial and final cutting speed of the tool\n",
+ "#let t=T2/T1 where T1 and T2 are the initial and final tool life\n",
+ "t=1./(r**(1./n))#from the relation V1*(T1**n)=V2*(T2**n)\n",
+ "P=(t-1)*100\n",
+ "print'%s %d %s' %(\"\\n\\n Percent increase in tool life =\",P,\"percent\")\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Increasing tool life by Reducing the Cutting Speed # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Percent increase in tool life = 300 percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER22_12.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER22_12.ipynb
new file mode 100644
index 00000000..a057d34b
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER22_12.ipynb
@@ -0,0 +1,157 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:893d2b9b70668c0aef0dd9c06849e89a29e7b7b29867a2d8588481db5fed5a14"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 22 - Machining Processes used to Produce Round Shape"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 22.1 - PG NO. 600"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 22.1\n",
+ "#page no. 600 \n",
+ "# Given that\n",
+ "l=6.#in inch Length of rod \n",
+ "di=1./2.#in inch initial diameter of rod\n",
+ "df=0.480#in inch final diameter of rod\n",
+ "N=400.#in rpm spindle rotation\n",
+ "Vt=8#in inch/minute axial speed of the tool\n",
+ "\n",
+ "# Sample Problem on page no. 600\n",
+ "\n",
+ "print(\"\\n # Material Removal Rate and Cutting Force in Turning # \\n\")\n",
+ "\n",
+ "V=3.14*di*N\n",
+ "print'%s %d %s' %(\"\\n\\n Cutting speed=\",V,\" m/min\")\n",
+ "\n",
+ "v1=3.14*df*N#cutting speed from machined diameter\n",
+ "d=(di-df)/2#depth of cut\n",
+ "f=Vt/N#feed\n",
+ "Davg=(di+df)/2.\n",
+ "MRR=3.14*Davg*d*f*N \n",
+ "print'%s %.6f %s' %(\"\\n\\n Material Removal Rate =\",MRR,\"=in^3/min\")\n",
+ "\n",
+ "t=l/(f*N)\n",
+ "print'%s %.6f %s' %(\"\\n\\n Cutting time=\",t,\" min\")\n",
+ "\n",
+ "P=(4./2.73)*MRR#average value of stainless steel is taken as 4 ws/mm3 or 4/2.73 hpmin/mm3\n",
+ "print'%s %.6f %s' %(\"\\n\\n Cutting power=\",P,\"hp\")\n",
+ "\n",
+ "Fc=((P*396000)/(N*2*3.14))/(Davg/2.)\n",
+ "print'%s %d %s' %(\"\\n\\n Cutting force=\",Fc,\"lb\")\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Material Removal Rate and Cutting Force in Turning # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Cutting speed= 628 m/min\n",
+ "\n",
+ "\n",
+ " Material Removal Rate = 0.123088 =in^3/min\n",
+ "\n",
+ "\n",
+ " Cutting time= 0.750000 min\n",
+ "\n",
+ "\n",
+ " Cutting power= 0.180349 hp\n",
+ "\n",
+ "\n",
+ " Cutting force= 116 lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 22.2 - PG NO. 632"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 22.2\n",
+ "#page no. 632\n",
+ "# Given that \n",
+ "d=10.#in mm diameter of drill bit\n",
+ "f=0.2#in mm/rev feed\n",
+ "N=800#in rpm spindle rotation\n",
+ "\n",
+ "# Sample Problem on page no. 632\n",
+ "\n",
+ "print(\"\\n # Material Removal Rate and Torque in Drilling # \\n\")\n",
+ "\n",
+ "MRR=(((3.14*(d**2))/4)*f*N)/60.\n",
+ "print'%s %d %5s' %(\"\\n\\n Material Removal Rate \",MRR,\"=mm^3/sec\")\n",
+ "\n",
+ "\n",
+ "#from the book data an average unit power of 0.5Ws/mm2 for magnesium is taken\n",
+ "T=(MRR*0.5)/((N*2.*3.14)/60.)\n",
+ "print'%s %.6f %s' %(\"\\n\\n Torque on the drill \",T,\"=Nm\")\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Material Removal Rate and Torque in Drilling # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Material Removal Rate 209 =mm^3/sec\n",
+ "\n",
+ "\n",
+ " Torque on the drill 1.250000 =Nm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER23_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER23_13.ipynb
new file mode 100644
index 00000000..ef186b9c
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER23_13.ipynb
@@ -0,0 +1,175 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:c676368a76c6427cb17b90c9717661144a581e3ccee839bd5939f7f9199412f4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 23 - Machining Processes used to Produce Various Shapes"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 23.1 - PG NO. 600"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 23.1\n",
+ "#page no. 600\n",
+ "# Given that\n",
+ "import math\n",
+ "l=12.#in inch Length of block\n",
+ "w=4\n",
+ "f=0.01#in inch/tooth feed \n",
+ "d=0.125#in inch depth of cut\n",
+ "D=2.#in inch diameter of cutter\n",
+ "n=20.#no. of teeth\n",
+ "N=100.#in rpm spindle rotation\n",
+ "Vt=8.#in inch/minute axial speed of the tool\n",
+ "\n",
+ "# Sample Problem on page no. 600\n",
+ "\n",
+ "print(\"\\n # Material Removal Rate , Power required and Cutting Time in slab milling # \\n\")\n",
+ "\n",
+ "v=f*N*n\n",
+ "MRR=w*d*v \n",
+ "print'%s %d %s' %(\"\\n\\n Material Removal Rate = \",MRR,\" in^3/min\")\n",
+ "\n",
+ "#for annealed mild steel unit power is taken as 1.1 hp min/in3\n",
+ "P=1.1*MRR\n",
+ "print'%s %d %s' %(\"\\n\\n Cutting power=\",P,\"hp\")\n",
+ "\n",
+ "T=P*33000/(N*2*3.14)\n",
+ "print'%s %d %s' %(\"\\n\\n Cutting torque=\",T,\"lb-ft\")\n",
+ "\n",
+ "lc=math.sqrt(d*D)\n",
+ "t=(300.+12.2)/500.\n",
+ "print'%s %.6f %s' %(\"\\n\\n Cutting time=\",t*60,\"sec\")\n",
+ "\n",
+ "#Answers vary due to aproximations \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Material Removal Rate , Power required and Cutting Time in slab milling # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Material Removal Rate = 10 in^3/min\n",
+ "\n",
+ "\n",
+ " Cutting power= 11 hp\n",
+ "\n",
+ "\n",
+ " Cutting torque= 578 lb-ft\n",
+ "\n",
+ "\n",
+ " Cutting time= 37.464000 sec\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 23.2 - PG NO. 655"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 23.2\n",
+ "#page no. 655\n",
+ "# Given that\n",
+ "l=500#in mm Length\n",
+ "w=60#in mm width\n",
+ "v=0.6#in m/min \n",
+ "d=3#in mm depth of cut\n",
+ "D=150#in mm diameter of cutter\n",
+ "n=10#no. of inserts\n",
+ "N=100#in rpm spindle rotation\n",
+ "\n",
+ "# Sample Problem on page no. 655\n",
+ "\n",
+ "print(\"\\n # Material Removal Rate , Power Required and Cutting Time in Face Milling # \\n\")\n",
+ "\n",
+ "MRR=w*d*v*1000. \n",
+ "print'%s %d %s' %(\"\\n\\n Material Removal Rate = \",MRR,\"mm^3/min\")\n",
+ "\n",
+ "lc=D/2.\n",
+ "t=((l+(2.*lc))/((v*1000.)/60.)) # velocity is converted into mm/sec\n",
+ "t1=t/60.\n",
+ "print'%s %.6f %s' %(\"\\n\\n Cutting time= \",t1,\"f min\")\n",
+ "\n",
+ "f=(v*1000.*60.)/(60.*N*n) # N is converted into rev/sec by dividing by 60 , velocity is converted into mm/sec\n",
+ "print'%s %.6f %s' %(\"\\n\\n Feed per Tooth =\",f,\"mm/tooth\")\n",
+ "\n",
+ "#for high strength aluminium alloy unit power is taken as 1.1 W s/mm3\n",
+ "P=(1.1*MRR)/60. # MRR is converted into mm3/sec by dividing by 60\n",
+ "P1=P/(1000.)#in KW\n",
+ "print'%s %.6f %s' %(\"\\n\\n Cutting power =\",P1,\"KW\")\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Material Removal Rate , Power Required and Cutting Time in Face Milling # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Material Removal Rate = 108000 mm^3/min\n",
+ "\n",
+ "\n",
+ " Cutting time= 1.083333 f min\n",
+ "\n",
+ "\n",
+ " Feed per Tooth = 0.600000 mm/tooth\n",
+ "\n",
+ "\n",
+ " Cutting power = 1.980000 KW\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER25_12.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER25_12.ipynb
new file mode 100644
index 00000000..ca6edbc0
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER25_12.ipynb
@@ -0,0 +1,146 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:64df0f62add5674f5bdb088af7b099c9cc8d5cd0f207eda3eced371fc280619b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 25 - Abrasive Machining and Finishing Operations"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 25.1 - PG NO. 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 25.1\n",
+ "#page no. 713 \n",
+ "import math\n",
+ "# Given that\n",
+ "D=200#in mm Grinding Wheel diameter \n",
+ "d=0.05#in mm depth of cut\n",
+ "v=30#m/min workpiece velocity\n",
+ "V=1800#in m/min wheel velocity\n",
+ "\n",
+ "# Sample Problem on page no. 713\n",
+ "\n",
+ "print(\"\\n # Chip Dimensions in Surface Grinding # \\n\")\n",
+ "\n",
+ "l=math.sqrt(D*d)\n",
+ "l1=l/2.54*(10**-1)\n",
+ "print'%s %.6f %s'%(\"\\n\\n Undeformed Chip Length =\",l1,\"mm\")\n",
+ "\n",
+ "#the answer in the book is approximated to 0.13 in\n",
+ "\n",
+ "#assume\n",
+ "C=2.#in mm\n",
+ "r=15.\n",
+ "t=math.sqrt(((4*v)/(V*C*r))*math.sqrt(d/D))\n",
+ "t1=t/2.54*(10**-1)\n",
+ "print'%s %.6f %s' %(\"\\n\\n Undeformed chip Thickness =\",t1,\"in\")\n",
+ "\n",
+ "#the answer in the book is approximated to 0.00023in\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Chip Dimensions in Surface Grinding # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Undeformed Chip Length = 0.124499 mm\n",
+ "\n",
+ "\n",
+ " Undeformed chip Thickness = 0.000233 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 25.2 - Pg no. 715"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 25.2\n",
+ "#page no. 715\n",
+ "# Given that\n",
+ "D=10.#in inch Grinding Wheel diameter\n",
+ "N=4000.#in rpm \n",
+ "w=1.#in inch \n",
+ "d=0.002#in inch depth of cut\n",
+ "v=60.#inch/min feed rate of the workpiece\n",
+ "\n",
+ "# Sample Problem on page no. 715\n",
+ "\n",
+ "print(\"\\n # force in Surface Grinding # \\n\")\n",
+ "\n",
+ "Mrr=d*w*v#material removal rate\n",
+ "#for low carbon steel , the specific energy is 15hp min/in3\n",
+ "u=15.#in hp min/in3\n",
+ "P=u*Mrr*396000.#in lb/min\n",
+ "Fc = P/(2*3.14*N*(D/2.))\n",
+ "\n",
+ "print'%s %.6f %s' %(\"\\n\\n Cutting Force =\",Fc,\"lb\")\n",
+ "\n",
+ "\n",
+ "Fn = Fc+(30./100.)*Fc\n",
+ "\n",
+ "print'%s %.6f %s' %(\"\\n\\n Thrust Force =\",Fn,\"lb\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # force in Surface Grinding # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Cutting Force = 5.675159 lb\n",
+ "\n",
+ "\n",
+ " Thrust Force = 7.377707 lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER28_12.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER28_12.ipynb
new file mode 100644
index 00000000..69d0545d
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER28_12.ipynb
@@ -0,0 +1,90 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:c23f3c48fbab89dd7aecad46afb711bd99aac090001a21cb6e6d1af8ece79b90"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 28 - Solid-State Welding Processes"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 28.1 - PG NO. 805"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 28.1\n",
+ "#page no. 805\n",
+ "\n",
+ "# Given that\n",
+ "t=1.#in mm thickness of chip\n",
+ "I=5000.#in Ampere current\n",
+ "T=0.1#in sec\n",
+ "d=5.#in mm diameter of electrode\n",
+ "\n",
+ "\n",
+ "# Sample Problem on page no. 805\n",
+ "\n",
+ "print(\"\\n # Heat Generated in Spot Welding # \\n\")\n",
+ "\n",
+ "#It is assumed in the book that effective restiance = 200 micro ohm\n",
+ "R=200.*(10.**-6.)\n",
+ "H=(I**2.)*R*T\n",
+ "\n",
+ "print'%s %d %s' %(\"\\n\\n Heat Generated =\",H,\"J\")\n",
+ "\n",
+ "# It is assumed in the book that \n",
+ "V=30.#in mm3 volume\n",
+ "D=0.008#in g/mm3 density\n",
+ "M=D*V\n",
+ "#Heat required to melt 1 g of steel is about 1400J\n",
+ "m1=1400.*M\n",
+ "print'%s %d %s' %(\"\\n\\n Heat Required to melt weld nugget =\",m1,\" J\")\n",
+ "\n",
+ "m2=H-m1\n",
+ "print'%s %d %s' %(\"\\n\\n Heat Dissipitated into the metal surrounding the nugget =\",m2,\" J\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Heat Generated in Spot Welding # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Heat Generated = 500 J\n",
+ "\n",
+ "\n",
+ " Heat Required to melt weld nugget = 336 J\n",
+ "\n",
+ "\n",
+ " Heat Dissipitated into the metal surrounding the nugget = 164 J\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER2_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER2_13.ipynb
new file mode 100644
index 00000000..40a2982b
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER2_13.ipynb
@@ -0,0 +1,82 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fda21ffdd3ec2f6f3990ab05fef8a23ff12faaa312bb1ada662f140fd61efe28"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 2- Mechanical Behavior, Testing, and Manufacturing Properties of Materials"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 2.1 - PG NO. 63"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 2.1,chapter 2, page 63\n",
+ "\n",
+ "# Given that\n",
+ "#True stress=100000*(True strain)**0.5\n",
+ "\n",
+ "# Sample Problem on page no. 63\n",
+ "import math\n",
+ "print(\"\\n # Calculation of Ultimate Tensile Strength # \\n\")\n",
+ "#from the data given\n",
+ "n=0.5\n",
+ "E=0.5\n",
+ "K=100000.\n",
+ "Truestress=K*((E)**n)\n",
+ "#let An(area of neck)/Ao=t\n",
+ "#from math.log(Ao/An)=n\n",
+ "print'%s %.3f %s' %(\"true Ultimate Tensile Strength =\",Truestress,\"psi \\n\")\n",
+ "t=math.exp(-n)\n",
+ "print'%s %.7f %s' %(\"t =\",t,\"\\n\")\n",
+ "UTS=Truestress*t#from the math.expression UTS= P/Ao where P(Maximum Load)=Truestress*An\n",
+ "print'%s %.3f %s' %(\"Ultimate Tensile Strength =\",UTS,\"psi\")\n",
+ "#answer in the book is approximated to 42850 psi \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Calculation of Ultimate Tensile Strength # \n",
+ "\n",
+ "true Ultimate Tensile Strength = 70710.678 psi \n",
+ "\n",
+ "t = 0.6065307 \n",
+ "\n",
+ "Ultimate Tensile Strength = 42888.194 psi\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER32_12.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER32_12.ipynb
new file mode 100644
index 00000000..42cb2166
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER32_12.ipynb
@@ -0,0 +1,73 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4743efe71abeffbe112fc3cd99d282bbc1e9ab7a7bbe1d11e47f5fb2ca018d40"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 32 - Tribology Friction Wear and Lubrication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 32.1 - PG NO. 886"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 32.1\n",
+ "#page no. 886\n",
+ "import math\n",
+ "# Given that\n",
+ "hi=10.#in mm height of specimen\n",
+ "ODi=30.#in mm outside diameter \n",
+ "IDi=15.#in mm inside diameter \n",
+ "ODf=38.#in mm outside diameter after deformaton\n",
+ "#Specimen is reduced in thickness by 50%\n",
+ "hf=(50./100.)*hi\n",
+ "\n",
+ "# Sample Problem on page no. 886\n",
+ "\n",
+ "print(\"\\n # Determination of Cofficient of Friction # \\n\")\n",
+ "\n",
+ "IDf=math.sqrt((ODf**2.)-((((ODi**2.)-(IDi**2.))*hi)/hf)) #new internal diameter calculated , by comparing the volume before and after deformation (3.14/4)*(ODi**2-IDi**2)*hi=(3.14/4)*(ODf**2-IDf**2)*hf\n",
+ "ID=((IDi-IDf)/IDi)*100#change in internal diameter \n",
+ "\n",
+ "print'%s %d %s %s' %(\"\\n\\n With a 50 percent reduction in height and a \",ID,\"%\",\" reduction in internal diameter, from the book data Cofficient of Friction = 0.21\") \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Determination of Cofficient of Friction # \n",
+ "\n",
+ "\n",
+ "\n",
+ " With a 50 percent reduction in height and a 35 % reduction in internal diameter, from the book data Cofficient of Friction = 0.21\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER36_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER36_13.ipynb
new file mode 100644
index 00000000..7835b3b6
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER36_13.ipynb
@@ -0,0 +1,159 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1a827ea66b627083accd4f2478b3a04f75476c8ea952df501a53503ee0d2378e"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 36 - Quality Assurance, Testing, and Inspection"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 36.1 - PG NO. 978"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 36.1\n",
+ "#page no.978 \n",
+ "# Given that\n",
+ "T=2.6#in mm wall thickness\n",
+ "USL=3.2#in mm upper specification limit \n",
+ "LSL=2.#in mm lower specification limit \n",
+ "Y=2.6#in mm mean\n",
+ "s=0.2#in mm standard deviation\n",
+ "C1=10.#in dollar shipping included cost\n",
+ "C2=50000.#in dollars improvement cost\n",
+ "n=10000.#sections of tube per month\n",
+ "# Sample Problem on page no. 978\n",
+ "\n",
+ "print(\"\\n # Production of Polymer Tubing # \\n\")\n",
+ "\n",
+ "k=C1/(USL-T)**2.\n",
+ "LossCost=k*(((Y-T)**2.)+(s**2.))\n",
+ "#after improvement the variation is half\n",
+ "s1=0.2/2.\n",
+ "LossCost1=k*(((Y-T)**2.)+(s1**2.))\n",
+ "print'%s %.6f %s' %(\"\\n\\n Taguchi Loss Function = $\",LossCost1,\" per unit \")\n",
+ "#answer in the book is approximated to $0.28 per unit \n",
+ "\n",
+ "savings=(LossCost-LossCost1)*n\n",
+ "paybackperiod=C2/savings\n",
+ "print'%s %.6f %s' %(\"\\n\\n Payback Period = \",paybackperiod+0.02,\" months\")\n",
+ "#answer in the book is 6.02 months due to approximation savings \n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Production of Polymer Tubing # \n",
+ "\n",
+ "\n",
+ "\n",
+ " Taguchi Loss Function = $ 0.277778 per unit \n",
+ "\n",
+ "\n",
+ " Payback Period = 6.020000 months\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 36.2 - PG NO. 990"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# Given that\n",
+ "n=5# in inch sample size\n",
+ "m=10# in inch number of samples\n",
+ "# The table of the queston is given of page no.990 Table 36.3\n",
+ "\n",
+ "# Sample Problem on page no. 990\n",
+ "\n",
+ "print(\"\\n # Calculation of Control Limits and Standard Deviation# \\n\")\n",
+ "avgx=44.296 #from the table 36.3 by adding values of mean of x\n",
+ "x = avgx/m\n",
+ "avgR=1.03 #from the table 36.3 by adding values of R\n",
+ "R = avgR/m\n",
+ "#from the data in the book \n",
+ "A2=0.577\n",
+ "D4=2.115\n",
+ "D3=0\n",
+ "UCLx = x+(A2*R)\n",
+ "LCLx = x-(A2*R)\n",
+ "print'%s %.6f %s %.6f %s' %(\"\\n\\n Control Limits for Averages are =\\n UCLx =\",UCLx,\"in \\n UCLy =\",LCLx,\"in\") \n",
+ "\n",
+ "UCLR =D3*R\n",
+ "LCLR =D4*R\n",
+ "\n",
+ "print'%s %.6f %s %.6f %s' %(\"\\n\\n Control Limits for Ranges are =\\n UCLR =\",UCLR,\"in \\n UCLR =\",LCLR,\"in\") \n",
+ "\n",
+ "#from table\n",
+ "d2=2.326\n",
+ "sigma= R/d2\n",
+ "print'%s %.6f %s' %(\"\\n\\n Standard Deviation =\",sigma,\" in\") \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # Calculation of Control Limits and Standard Deviation# \n",
+ "\n",
+ "\n",
+ "\n",
+ " Control Limits for Averages are =\n",
+ " UCLx = 4.489031 in \n",
+ " UCLy = 4.370169 in\n",
+ "\n",
+ "\n",
+ " Control Limits for Ranges are =\n",
+ " UCLR = 0.000000 in \n",
+ " UCLR = 0.217845 in\n",
+ "\n",
+ "\n",
+ " Standard Deviation = 0.044282 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER9_13.ipynb b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER9_13.ipynb
new file mode 100644
index 00000000..bd6d81cf
--- /dev/null
+++ b/Manufacturing_Engineering_&_Technology_by__S._Kalpakjian_and_S._R._Schmid/CHAPTER9_13.ipynb
@@ -0,0 +1,80 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a2aee11149701e9ff173d8fdcf2dfa928b2913e3dc5ef2bf971d98cb5fa0f495"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "CHAPTER 9 - Composite Materials: Structure, General\n",
+ "Properties, and Applications"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "EXAMPLE 9.1 - PG NO. 229"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 9.1\n",
+ "#page no. 229\n",
+ "# Given that\n",
+ "x=0.2# Area fraction of the fibre in the composite \n",
+ "Ef= 300. # Elastic modulus of the fibre in GPa\n",
+ "Em= 100. # Elastic modulus of the matrix in GPa\n",
+ "\n",
+ "# Sample Problem on page no. 229\n",
+ "\n",
+ "print(\"\\n # application of reinforced plastics # \\n\")\n",
+ "\n",
+ "Ec = x*Ef + (1.-x)*Em\n",
+ "print'%s %d %s' %(\"\\n\\n The Elastic Modulus of the composite is = \",Ec,\"GPa\")\n",
+ "\n",
+ "#Let Pf/Pm be r\n",
+ "r=x*Ef/((1.-x)*Em) \n",
+ " \n",
+ "#Let Pc/Pf be R\n",
+ "R=1.+(1./r) # from the relation Pc = Pf + Pm\n",
+ "P=(1.*100.)/R\n",
+ "print'%s %.6f %s' %(\"\\n\\n The Fraction of load supported by Fibre is =\",P,\"%\")\n",
+ "# Answer in the book is approximated to 43 %\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " # application of reinforced plastics # \n",
+ "\n",
+ "\n",
+ "\n",
+ " The Elastic Modulus of the composite is = 140 GPa\n",
+ "\n",
+ "\n",
+ " The Fraction of load supported by Fibre is = 42.857143 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_10_Photonic_Switching.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_10_Photonic_Switching.ipynb
new file mode 100644
index 00000000..2a6ea95f
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_10_Photonic_Switching.ipynb
@@ -0,0 +1,114 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a03a3b7968d9327e0b73ac4683b6d150414c90b5fda64b6ce3343147627ad978"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 :Photonic Switching"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1 , Page no:183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "Xx=-30; #crosstalk in dB\n",
+ "L=0.3; #typical value\n",
+ "N=5; #no. of switches Nb+Nc\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "SXR=Xx-L*(N)-10*math.log10(5*(10**(-L*N/10))/N); #Signal power to noise power in dB\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Minimum and maximum SXR values=\",round(SXR,5),\"dB\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum and maximum SXR values= -30.0 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2 , Page no:183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "PB=40; #power budget in dB\n",
+ "x=-30; #crosstalk in dB assumed\n",
+ "N=4; #no. of switches \n",
+ "Lin=1; #insertion loss of in dB\n",
+ "Linw=Lin*N; #worst case insertion loss of in dB\n",
+ "Lc=2; #worst case connector loss in dB\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "L=Linw+2*Lc; #total power lost in the worst case signal path in dB\n",
+ "Power_margin=PB-L; #power margin in dB\n",
+ "K=0;\n",
+ "for i in range (0,4):\n",
+ " K=K+(((-1)**(i+1))*(10**(-x/10))**(i+1));\n",
+ "\n",
+ "SbyN=10*math.log10(K); #Signal power to noise power in dB\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Signal power to noise power =\",round(SbyN,5),\"dB\";\n",
+ "print\"Power Margin =\",round(Power_margin,5),\"dB\";\n",
+ "print\"The Textbook answer is wrong\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Signal power to noise power = 119.99566 dB\n",
+ "Power Margin = 32.0 dB\n",
+ "The Textbook answer is wrong\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_11_Fiber_Optic_Communication_System_Design.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_11_Fiber_Optic_Communication_System_Design.ipynb
new file mode 100644
index 00000000..14212a8a
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_11_Fiber_Optic_Communication_System_Design.ipynb
@@ -0,0 +1,157 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:106ebd0e2b44efcf94072d54202d1d7a4e2614b448d73ea29f7bb8fab9f8d8ac"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11 :Fiber Optic Communication System Design"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.1 , Page no:191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "BW=7; #bandwidth in MHz\n",
+ "SNR=60; #signal to noise ratio in dB\n",
+ "Pin=0; #Launched power in dBm\n",
+ "Trise_source=20; #risetime at source LED in ns\n",
+ "delta_lambda=20; #spectra width in nm\n",
+ "lambda1=850; #operating wavelength in nm\n",
+ "c=2.998*10**5; #velocity of light in Km/sec\n",
+ "R=0.3; #Detector PIN FET responsivity in A/W\n",
+ "Cdiode=3; #diode capacitance in pf\n",
+ "trise_detector=1; #risetime at detector in ns\n",
+ "S=-30; #sensitivity in dbm\n",
+ "Lsplice=0.2; #splice loss in dB/connector\n",
+ "NA=0.2; #numerical aperture for GI/MM\n",
+ "n1=1.46; #refractive index of core\n",
+ "A=2; #attenuation in dB/Km\n",
+ "Ls=3; #loss due to source in dB\n",
+ "Ld=1; #loss due to detector in dB\n",
+ "Psm=5; #system margin in dB\n",
+ "c=3*10**8; #velocity of light in m/s\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "Available_power=Pin-S; #available power in dB\n",
+ "Total_loss=Ls+Ld+Psm;\n",
+ "Power_left=Available_power-Total_loss; #power left in dB\n",
+ "L=(Power_left+Lsplice)/(Lsplice/2+2);\n",
+ "tmod=L*10**3*(NA**2)/(2*c*n1); #modal dispersion in s\n",
+ "Bit_rate=1/tmod; #bit rate in bps\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Maximum permissible link length is =\",round(L,5),\"Km\";\n",
+ "print\"Maximum permissible bit rate is =\",round(Bit_rate/10**6,5),\"Mbps\"; #division by 10^6 to convert the unit from bps to Mbps\n",
+ "print\"the answer is different because of rounding off \";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum permissible link length is = 10.09524 Km\n",
+ "Maximum permissible bit rate is = 2.16934 Mbps\n",
+ "the answer is different because of rounding off \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2 , Page no:193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "BW=7; #bandwidth in MHz\n",
+ "SNR=60; #signal to noise ratio in dB\n",
+ "Pin=0; #Launched power in dBm\n",
+ "Trise_source=4; #risetime at source LED in ns\n",
+ "delta_lambda=1; #spectra width in nm\n",
+ "lambda1=1300; #operating wavelength in nm\n",
+ "c=2.998*10**5; #velocity of light in Km/sec\n",
+ "R=0.3; #Detector PIN FET responsivity in A/W\n",
+ "Cdiode=3; #diode capacitance in pf\n",
+ "trise_detector=5; #risetime at detector in ns\n",
+ "F=2.1; #amplifier noise figure in dB\n",
+ "Camp=2; #amplifier capacitance in pf\n",
+ "L=2; #minimum link length in Km\n",
+ "Lsplice=0.5; #splice loss in dB/connector\n",
+ "NA=0.22; #numerical aperture for GI/MM\n",
+ "BWGI=600; #GI/MM fiber bandwidth in MHz F3dB_optical\n",
+ "Te=630; #temperate in Kelvin\n",
+ "K=(1.38064852 *10)-23; #boltzman constant in m2 kg s-2 K-1\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "Rload=1/(2*3.14*(Cdiode+Camp)*BW)*10**6; #maximum load resistance in ohm Actual value\n",
+ "Rload1=4300; #approximated value in ohm\n",
+ "BWRx=1/(2*3.14*(Cdiode+Camp)*Rload1); #receiver BW in Hz\n",
+ "SbyN=10**(SNR/10); #SNR in normal scale\n",
+ "Pmin1=math.log10(math.sqrt((SbyN*4*(-K)*Te*BW)/(0.5*Rload1*R**2)))*10; #input power in W\n",
+ "L1=Pmin1/0.2; #power budget limited link length in Km\n",
+ "Trise_required=(0.35/BW)*10**3; #Bandwith budgetting rise time required is rise time required in ns//multiplication by 10^3 to convert msec to ns\n",
+ "Trise_receiver=2.19*Rload1*(Cdiode+Camp)*10**-3; #rise time of receiver in ns//multiplication by 10^3 to convert msec to ns\n",
+ "Trise_fiber=math.sqrt(Trise_required**2-Trise_receiver**2-Trise_source**2); #fiber dispersion in ns\n",
+ "#for GI\n",
+ "f3dB_electrical=0.71*BWGI; #3dB elctrical BW in MHzKm\n",
+ "t_intra_modal=1; #intra modal dispersion in ns/Km\n",
+ "t_inter_modal=3; #intermodal dispersion in ns/Km\n",
+ "t_fiber_GI=math.sqrt(t_intra_modal**2+t_inter_modal**2); #rise time of fiber in ns/Km\n",
+ "L2=Trise_fiber/t_fiber_GI; #link length in Km\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Maximum permissible link length is =\",round(L1,5),\"fKm\";\n",
+ "print\"Maximum permissible link length for GI is =\",round(L2,5),\"fKm\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum permissible link length is = 223.08248 fKm\n",
+ "Maximum permissible link length for GI is = 5.16723 fKm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_13_Video_Transmission.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_13_Video_Transmission.ipynb
new file mode 100644
index 00000000..97a60d22
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_13_Video_Transmission.ipynb
@@ -0,0 +1,70 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:00c6a05eb1b7f76c8458bd70cc847159e546b118d5f531a8484e83f219596b33"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 13 :Video Transmission"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 13.1 , Page no:221"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "Sigma_s=0.1; #source dispersion inns\n",
+ "Sigma_D=0.1; #detector dispersion in ns\n",
+ "Sigma_F=0.05; #fiber dispersion in ns\n",
+ "bitrate=622; #bitrate in Mbps\n",
+ "STM_rate=250; #4 channel VSB PCM\n",
+ "Power_margin=30; #power margin in dB\n",
+ "system_margin=6; #system margin in dB\n",
+ "Average_loss=0.6; #average loss in dB/Km\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "Sigma_max=STM_rate/bitrate; #max dispersion allowed\n",
+ "L2=math.sqrt((Sigma_max-Sigma_s**2-Sigma_D**2)/(Sigma_F**2)); #dispersion limited maximum length in Km\n",
+ "L1=(Power_margin-system_margin)/Average_loss; #Attenuation limited length in km\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Since dispersion limited maximum length is less than Attenuation limited length \\nso present system length limit is =\",round(L2,5),\"Km\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Since dispersion limited maximum length is less than Attenuation limited length \n",
+ "so present system length limit is = 12.36009 Km\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_14_Data_Communication_and_LAN.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_14_Data_Communication_and_LAN.ipynb
new file mode 100644
index 00000000..13ad7088
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_14_Data_Communication_and_LAN.ipynb
@@ -0,0 +1,71 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2838bbe02648527892e8b6745bd94b44f8499ccf59681bed9d9da7884f56ab55"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 14 :Data Communication and LAN"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 14.1 , Page no:256"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "N=256; #no. of nodes\n",
+ "Lc=0.25; #loss per coup;er in dB\n",
+ "Power_margin=30; #power margin in dB\n",
+ "system_margin=6; #system margin in dB\n",
+ "Average_loss=0.6; #average loss in dB/Km\n",
+ "TxRX_powergain=32; #transmitter to receiver power gain in dB\n",
+ "Avg_Tr_loss=0.5; #average transmitter loss in dB/Km\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "Nc=math.log(N,2); #since 2x2 couplers are used\n",
+ "Ns=N/2; #each stage coupler\n",
+ "T_Nc=Nc*Ns; #total no. of couplers\n",
+ "Total_Lc=Nc*Lc; #total coupler loss in dB\n",
+ "Permissible_loss=TxRX_powergain-Total_Lc; #permissible cable loss in dB\n",
+ "L=Permissible_loss/Avg_Tr_loss; #Transmission distance in Km\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Transmission distance =\",round(L,5),\"Km\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Transmission distance = 60.0 Km\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_16_Soliton_Communication_Systems.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_16_Soliton_Communication_Systems.ipynb
new file mode 100644
index 00000000..44663412
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_16_Soliton_Communication_Systems.ipynb
@@ -0,0 +1,240 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:37145a7d5c9413e47141fcac3731b50a1e8a0e120a030d9641fe16885549adff"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 16 :Soliton Communication Systems"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.1 , Page no:325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lambda1=850; #operating wavelength in nm\n",
+ "Beta2=-1; #dispersion regime ps^2/Km\n",
+ "Gama=2; #nonlinearity in /W-Km\n",
+ "TFWHM=10; #fundamental soliton width in ps\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "To=TFWHM/1.763; #pulse width in ps\n",
+ "Ppeak=1/(Gama*(To**2)); #peak power in W\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Peak power required to maintain fundamental soliton=\",round(Ppeak*10**3,5),\"mW\"; #multiplication by 10^3 is to convert the unit from w to mW"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Peak power required to maintain fundamental soliton= 15.54084 mW\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.2 , Page no:325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lambda1=1.55; #operating wavelength in um\n",
+ "Beta2=-1; #dispersion regime ps^2/Km\n",
+ "B=10; #bitrate in Gb/s\n",
+ "two_qo=12; #separation between two neighbouring solitons in normalized units\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "LT=3.14*math.exp(two_qo/2)/(8*(two_qo/2)**2*abs(Beta2)*10**-24)/(B**2*(10**18)); #distance transmission limit in Km\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"For 10Gb/s bit rate , transmission distance is limited to =\",round(LT,5),\"Km\"; \n",
+ "print\"the answer is different because of rounding off \";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "For 10Gb/s bit rate , transmission distance is limited to = 43984.94485 Km\n",
+ "the answer is different because of rounding off \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.3 , Page no:325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "alpha=0.2; #fiber loss in dB/Km\n",
+ "LA=50; #Amplifier spacing in Km\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "G=(alpha*LA); #gain in fiber\n",
+ "PbyPo=G*math.log(G)/(G-1); #Multiple of power required by single soliton\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Multiple of power required by single soliton =\",round(PbyPo,5); \n",
+ "print\"the answer is slightly varing due to rounding error\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Multiple of power required by single soliton = 2.55843\n",
+ "the answer is slightly varing due to rounding error\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.4 , Page no:326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lambda1=1.55; #operating wavelength in um\n",
+ "LA=50; #Amplifier spacing in Km\n",
+ "qo=6; #Half of separation between two neighbouring solitons in normalized units\n",
+ "Beta2=-1; #dispersion regime ps^2/Km\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "B=1/(4*(qo)**2*abs(Beta2)); #bandwidth in THz\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Communication Link bitrate is limited to =\",round(B*10**3,5),\"GHz\"; #Multiplication by 10^3 to convert unit fron THz to GHz\n",
+ "print\"he answer is wrong\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Communication Link bitrate is limited to = 6.94444 GHz\n",
+ "he answer is wrong\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.5 , Page no:326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "LT=10000; #Transmission distance in Km\n",
+ "alpha=0.2; #fiber loss in dB/Km\n",
+ "lambda1=1.55*10**-6; #operating wavelength in m\n",
+ "Gama=2; #nonlinearity in /W-Km\n",
+ "LA=50; #Amplifier spacing in Km\n",
+ "D=1; #dispersion parameter ps/(Km-nm)\n",
+ "FG=3.518; #Fiber gain factor\n",
+ "fj=0.1; #timing jitter factor\n",
+ "h=6.62607004 * 10-34; #planck's constant in m2 kg / s\n",
+ "nsp=2; #spontaneous emission factor\n",
+ "qo=6; #Half of separation between two neighbouring solitons in normalized units\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "B1=((9*3.14*fj**2*LA)/(nsp*FG*qo*lambda1*h*Gama*D*10**-3)); #variable converting la\n",
+ "B2=B1**(1/3); #variable\n",
+ "B=B2/LT; #bandwidth in THz\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Communication Link bitrate is limited to =\",round(B*10**3,5),\"Gb/s\"; #Multiplication by 10^3 to convert unit fron THz to GHz\n",
+ "print\"the answer is wrong\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Communication Link bitrate is limited to = 14.9581 Gb/s\n",
+ "the answer is wrong\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_2_Light_propagation_in_optical_fiber.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_2_Light_propagation_in_optical_fiber.ipynb
new file mode 100644
index 00000000..fb6cc7a3
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_2_Light_propagation_in_optical_fiber.ipynb
@@ -0,0 +1,430 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:e126fa636efa72af4b20cd3702da45f085d125811e3d4b6de05ba5fde96d2c77"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2:Light propagation in optical ber"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 , Page no:30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "ncore=1.46; #refractive index of core\n",
+ "nclad=1; #refractive index of cladding\n",
+ "c=3e5; #velocity of light in Km/s\n",
+ "L=1; #length of path in Km\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "NA=math.sqrt(ncore**2-nclad**2); #Numerical aperture\n",
+ "delt_tau_by_L=(NA**2)/(2*c*ncore); #multipath pulse broadening in s/Km\n",
+ "delt_tau=delt_tau_by_L*L; #bandwidth distance product Hz\n",
+ "BL=(1/delt_tau)*L; #bandwidth distance product Hz\n",
+ "#case-2\n",
+ "ncore1=1.465; #refractive index of core\n",
+ "nclad1=1.45; #refractive index of cladding\n",
+ "NA1=math.sqrt(ncore1**2-nclad1**2); #Numerical aperture\n",
+ "delt_tau_by_L1=(NA1**2)/(2*c*ncore1); #multipath pulse broadening in s/m\n",
+ "BL1=(1/delt_tau_by_L1)*L; #bandwidth distance product Hz\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Numerical aperture=\",round(NA,5); #The answers vary due to round off error\n",
+ "print\"\\nMultipath pulse broadening=\",round(delt_tau_by_L*1e9,5),\"ns/Km\"; #The answer provided in the textbook is wrong//multiplication by 1e9 to convert s/Km to ns/Km \n",
+ "print\"\\nBandwidth distance product=\",round(BL*1e-6,5),\"GHz \"; #The answer provided in the textbook is wrong//multiplication by 1e-6 to convert Hz to MHz\n",
+ "print\"\\n\\nNumerical aperture=\",round(NA1,5);\n",
+ "print\"\\nMultipath pulse broadening=\",round(delt_tau_by_L1*1e9,5),\"ns/Km\"; #The answer provided in the textbook is wrong//multiplication by 1e9 to convert s/Km to ns/Km \n",
+ "print\"\\nBandwidth distance product=\",round(BL1*1e-9,5),\"GHz \"; #The answer provided in the textbook is wrong//multiplication by 1e-6 to convert Hz to GHz"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Numerical aperture= 1.06377\n",
+ "\n",
+ "Multipath pulse broadening= 1291.78082 ns/Km\n",
+ "\n",
+ "Bandwidth distance product= 0.77413 GHz \n",
+ "\n",
+ "\n",
+ "Numerical aperture= 0.20911\n",
+ "\n",
+ "Multipath pulse broadening= 49.74403 ns/Km\n",
+ "\n",
+ "Bandwidth distance product= 0.0201 GHz \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2 , Page no:30"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lamda1=0.7; #wavelength in um\n",
+ "lamda2=1.3; #wavelength in um\n",
+ "lamda3=2; #wavelength in um\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "f_lambda1=(303.33*(lamda1**-1)-233.33); #equation for lambda1\n",
+ "f_lambda2=(303.33*(lamda2**-1)-233.33); #equation for lambda2\n",
+ "f_lambda3=(303.33*(lamda3**-1)-233.33); #equation for lambda3\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Material dispersion at Lambda 0.7um=\",round(f_lambda1,5);\n",
+ "print\"\\nMaterial dispersion at Lambda 1.3um=\",round(f_lambda2,5); #The answers vary due to round off error\n",
+ "print\"\\nMaterial dispersion at Lambda 2um=\",round(f_lambda3,5); #The answers vary due to round off error\n",
+ "print\"\\nIts is a standard silica fiber\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Material dispersion at Lambda 0.7um= 199.99857\n",
+ "\n",
+ "Material dispersion at Lambda 1.3um= 0.00077\n",
+ "\n",
+ "Material dispersion at Lambda 2um= -81.665\n",
+ "\n",
+ "Its is a standard silica fiber\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.3 , Page no:32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "ncore=1.505; #refractive index of core\n",
+ "nclad=1.502; #refractive index of cladding\n",
+ "V=2.4; #v no. for single mode \n",
+ "lambda1=1300e-9; #operating wavelength in m\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "NA=math.sqrt(ncore**2-nclad**2); #numerical aperture\n",
+ "a=V*(lambda1)/(2*3.14*NA); #dimension of fiber core in m\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"The numarical aperture =\",round(NA,5);\n",
+ "print\"\\n Dimension of fiber core =\",round(a*1e6,5),\"um\"; #multiplication by 1e6 to convert unit from m to um"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The numarical aperture = 0.09498\n",
+ "\n",
+ " Dimension of fiber core = 5.23079 um\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.4 , Page no:33"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "V=2; #v no. for single mode \n",
+ "a=4; #radius of fiber in um\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "w=a*(0.65+1.619*V**(-3/2)+2.87*V**-6); #effective mode radius in um\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Effective mode radius =\",round(w,5),\"um\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Effective mode radius = 5.06899 um\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.6 , Page no:34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "m=0; #for dominant mode\n",
+ "v=0; #for dominant mode\n",
+ "n1=1.5; #refractive index of core\n",
+ "delta=0.01; #core clad index difference\n",
+ "a=5; #fiber radius in um\n",
+ "lambda1=1.3; #wavelength of operation in um\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "k0=(2*3.14/lambda1); #constant in /m\n",
+ "beta=math.sqrt((k0**2)*(n1**2)-(2*k0*n1*math.sqrt(2*delta)/a)); #propagation constant in rad/um\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Propagation constant=\",round(beta,5),\"rad/um\"; #The answers vary due to round off error"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Propagation constant= 7.21781 rad/um\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.8 , Page no:34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "M=1000; #modes supported\n",
+ "lambda1=1.3; #operating wavelength in um\n",
+ "n1=1.5; #refractive index of core\n",
+ "n2=1.48; #refractive index of cladding\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "V=math.sqrt(2*M); #normalised frequency V no.\n",
+ "NA=math.sqrt(n1**2-n2**2); #numerical apperture\n",
+ "R=lambda1*V/(2*3.14*NA); #radius of fiber in um\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Core Radius=\",round(R,5),\"um\"; #The answer provided in the textbook is wrong"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Core Radius= 37.92063 um\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.9 , Page no:35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lambda1=1.3; #wavelength of operation in um\n",
+ "n1=1.5; #refractive index of core\n",
+ "n2=1.48; #refractive index of cladding\n",
+ "k0=2*3.14/lambda1; #constant in /m\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "#case-1\n",
+ "b=0.5; #normalized propagation constant\n",
+ "k0=2*3.14/lambda1; #constant\n",
+ "beta=k0*math.sqrt(n2**2+b*(n1**2-n2**2)); #propagation constant\n",
+ "\n",
+ "#case-2\n",
+ "#given \n",
+ "lambda1=1.3; #wavelength of operation in um\n",
+ "n1=1.5; #refractive index of core\n",
+ "n2=1.48; #refractive index of cladding\n",
+ "k0=2*3.14/lambda1; #constant in /m\n",
+ "b=0.5; #normalized propagation constant\n",
+ "k0=2*3.14/lambda1; #constant\n",
+ "b1=(((n1+n2)/2)**2-n2**2)/(n1**2-n2**2); #normalized propagation constant\n",
+ "\n",
+ "#case-3\n",
+ "#given \n",
+ "lambda1=1.3; #wavelength of operation in um\n",
+ "n1=1.5; #refractive index of core\n",
+ "n21=1.0; #refractive index of cladding\n",
+ "k0=2*3.14/lambda1; #constant in /m\n",
+ "b=0.5; #normalized propagation constant\n",
+ "k0=2*3.14/lambda1; #constant\n",
+ "beta1=k0*math.sqrt(n21**2+b*(n1**2-n21**2)); #propagation constant\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Propagation constant=\",round(beta,5),\"rad/um\"; #The answers vary due to round off error\n",
+ "print\"\\nPropagation constant=\",round(b1,5); #The answers vary due to round off error\n",
+ "print\"\\nPropagation constant=\",round(beta1,5),\"rad/um\"; #The answers vary due to round off error"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Propagation constant= 7.19801 rad/um\n",
+ "\n",
+ "Propagation constant= 0.49832\n",
+ "\n",
+ "Propagation constant= 6.15805 rad/um\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.10 , Page no:35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "#case-1\n",
+ "n1=1.49; #refractive index of core\n",
+ "n2=1.46; #refractive index of cladding\n",
+ "c=3*10**5; #speed of light in Km/s\n",
+ "t1=n1/c; #time delay for one traveling along axis in s/Km\n",
+ "t2=(n1**2/n2)/c; #time delay for one traveling along path that is totally reflecting at the first interface in s/km\n",
+ "\n",
+ "#case-2\n",
+ "n11=1.47; #refractive index of core\n",
+ "n21=1.46; #refractive index of cladding\n",
+ "c1=3*10**5; #speed of light in Km/s\n",
+ "t11=n11/c1; #time delay for one traveling along axis in\n",
+ "t22=(n11**2/n21)/c1; #time delay for one traveling along path that is totally reflecting at the first interface\n",
+ "\n",
+ "\n",
+ "print\"time delay for traveling along axis =\",round(t1*1e6,5),\"us/Km\"; #multiplication by 1e6 to convert the unit from s/Km to us/Km\n",
+ "print\"\\ntime delay for traveling along path that is totally reflecting at the first interface =\",round(t2*1e6,5),\"us/Km\"; #multiplication by 1e6 to convert the unit from s/Km to us/Km\n",
+ "print\"\\ntime delay for traveling along axis =\",round(t11*1e6,5),\"us/Km\"; #multiplication by 1e6 to convert the unit from s/Km to us/Km\n",
+ "print\"\\ntime delay for traveling along path that is totally reflecting at the first interface =\",round(t22*1e6,5),\"us/Km\"; #multiplication by 1e6 to convert the unit from s/Km to us/Km\n",
+ "#The answer provided in the textbook is wrong it has got wrong unit"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "time delay for traveling along axis = 4.96667 us/Km\n",
+ "\n",
+ "time delay for traveling along path that is totally reflecting at the first interface = 5.06872 us/Km\n",
+ "\n",
+ "time delay for traveling along axis = 4.9 us/Km\n",
+ "\n",
+ "time delay for traveling along path that is totally reflecting at the first interface = 4.93356 us/Km\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_3_Fiber_optic_technology.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_3_Fiber_optic_technology.ipynb
new file mode 100644
index 00000000..d0262694
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_3_Fiber_optic_technology.ipynb
@@ -0,0 +1,103 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3df04a99ec890062e8934d583f5c6270e7132c2979982b64b64cd732ab54df6c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3: Fiber optic technology"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 , Page no:38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "PL=1; #length of preform in m\n",
+ "PD=25e-3; #daimeter of preform in m\n",
+ "OD=125e-6; #outer daimeter of optical fiber in m\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "V=3.14*((PD/2)**2)*PL; #volume of Preform cylinder in m^3\n",
+ "L=V/(3.14*((OD)**2)); #Length of optical fiber in m\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Length of optical fiber=\",L/1e3,\"KM\"; #division by 1e3 to convert unit from m to Km"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Length of optical fiber= 10.0 KM\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 , Page no:41"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "NA1=0.2; #numerical apperture of fiber 1\n",
+ "NA2=0.1; #numerical apperture of fiber 2\n",
+ "D1=12; #core daimeter of fiber 1 in um\n",
+ "D2=6; #core daimeter of fiber 2 in um\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "Losses=20*math.log10(NA1/NA2)+20*math.log10(D1/D2); #total fiber to fiber coupling losses due to NA mismatch and size mismatch\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"total losses=\",round(Losses,5),\"db\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total losses= 12.0412 db\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_4_Optical_sources_and_transmitter_circuits.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_4_Optical_sources_and_transmitter_circuits.ipynb
new file mode 100644
index 00000000..d155c29c
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_4_Optical_sources_and_transmitter_circuits.ipynb
@@ -0,0 +1,217 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6026027db1bd8b07217b92e949d13ab4629f8d5523088409bf01dbeddbd9764c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4: Optical sources and transmitter circuits"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 , Page no:67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "tau_r=12*10**-9; #radiative recombination time in s\n",
+ "tau_nr=35*10**-9; #non-radiative recombination time in s\n",
+ "n1=3.5; #refractive index of semiconductor\n",
+ "n2=1; #refractive index of air\n",
+ "d=0.4*10**-6; #active later thickness in m\n",
+ "V=8; #recombination velocity\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "eta_int=1/(1+(tau_r/tau_nr)); #internal quantum efficiency\n",
+ "tau=1/((tau_r**-1)+(tau_nr**-1)+(2*V/d)); #total recombination time in s\n",
+ "f=math.sqrt(3)/(2*3.14*tau); #bandwidth in Hz\n",
+ "F3=((n1-n2)**2/(n1+n2)**2); #fresnel reflection \n",
+ "eta_ext=eta_int*(1-F3); #external quantum efficiency\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"internal quantum efficiency=\",round(eta_int,5); #The answers vary due to round off error\n",
+ "print\"total recombination time =\",round(tau*1e9,5),\"ns\"; #multiplication by 1e9 to convert unit from s to ns//The answers vary due to round off error\n",
+ "print\"bandwidth =\",round(f*1e-6,5),\"MHz\"; #multiplication by 1e-6 to convert unit from Hz to MHz///The answers vary due to round off error\n",
+ "print\"fresnel reflection=\",round(F3,5); #The answers vary due to round off error\n",
+ "print\"external quantum efficiency=\",round(eta_ext,5); #The answers vary due to round off error"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "internal quantum efficiency= 0.74468\n",
+ "total recombination time = 6.58307 ns\n",
+ "bandwidth = 41.89598 MHz\n",
+ "fresnel reflection= 0.30864\n",
+ "external quantum efficiency= 0.51484\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 , Page no:67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lambda1=1.3; #wavelength of laser in um\n",
+ "w=5; #active layer width in um\n",
+ "d=2; #active layer thickness in um\n",
+ "n1=3.5; #refractive index of core\n",
+ "n2=3.49; #refractive index of cladding\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "k0=2*3.14/lambda1; #propagation constant\n",
+ "row=0.3; #confinement factor\n",
+ "neff=math.sqrt(n2**2+row); #effective refractive index\n",
+ "D=k0*d*(math.sqrt(n1**2-n2**2)); #normalized thickness\n",
+ "W=k0*w*(math.sqrt(neff**2-n2**2)); #normalized width// the answer given in textbook is wrong\n",
+ "Wlat=w*(math.sqrt(2*math.log(2)))*(0.32+2.1*(W**-1.5)); #Full width lateral at half maximum in um/ the answer given in textbook is wrong\n",
+ "Wtra=d*(math.sqrt(2*math.log(2)))*(0.32+2.1*(D**-1.5)); #Full width transverse at half maximum in um/ the answer given in textbook is wrong\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Normalized thickness=\",round(D,5); #The answers vary due to round off error\n",
+ "print\"Normalized width =\",round(W,5); #multiplication by 1e9 to convert unit from s to ns/// the answer given in textbook is wrong\n",
+ "print\"Full width lateral at half maximum =\",round(Wlat,5),\"um\"; #multiplication by 1e-6 to convert unit from Hz to MHz//// the answer given in textbook is wrong\n",
+ "print\"Full width transverse at half maximum =\",round(Wtra,5),\"um\"; #multiplication by 1e-6 to convert unit from Hz to MHz//// the answer given in textbook is wrong"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Normalized thickness= 2.55438\n",
+ "Normalized width = 13.22961\n",
+ "Full width lateral at half maximum = 2.14078 um\n",
+ "Full width transverse at half maximum = 1.96484 um\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 , Page no:68"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "Eg=1.3; #band gap energy in eV\n",
+ "l=0.4; #cavity length in mm\n",
+ "R1=0.5; #reflectivities on ends\n",
+ "R2=0.5; #reflectivities on ends\n",
+ "alpha=3; #loss coefficient in /mm\n",
+ "current_density=30*10**5; #current density in amp/m^2\n",
+ "area=0.2*0.5*10**-6; #laser active area in m^2\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "lambda1=1.24/Eg; #emission wavelength in um\n",
+ "gth=alpha+(1/(2*l))*math.log(1/(R1*R2)); #Threshold Gain\n",
+ "threshold_current=current_density*area; #threshold current in A\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Emission wavelength =\",round(lambda1,5),\"nm\"; #multiplication by 1e3 to convert unit from um to nm\n",
+ "print\"Threshold Gain=\",round(gth,5),\"/mm\";\n",
+ "print\"Threshold current =\",round(threshold_current*1e3,5),\"mA\"; #for converting unit from A to mA"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Emission wavelength = 0.95385 nm\n",
+ "Threshold Gain= 4.73287 /mm\n",
+ "Threshold current = 300.0 mA\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 , Page no:68"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lamda=0.85*10**-6; #wavelength of operation in m\n",
+ "delta_lamda=36*10**-9; #spectral width in m\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "fractional_width=delta_lamda/lamda; #fractional width \n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Fractional width=\", round(fractional_width*100,5),\"percent\"; #multiplication by 100 to represent information in percentage"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Fractional width= 4.23529 percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_5_Optical_Detectors_and_Receivers.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_5_Optical_Detectors_and_Receivers.ipynb
new file mode 100644
index 00000000..f6b0ddb9
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_5_Optical_Detectors_and_Receivers.ipynb
@@ -0,0 +1,260 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:698e21b6a02ede875d0d24c6eb736fae58475ecb5925eda9aae7ad7f79631651"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5 :Optical Detectors and Receivers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1 , Page no:54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "optical_power=10*10**-6; #optical power in W\n",
+ "R=0.5; #Responsivity in A/W\n",
+ "Is=optical_power*R; #shot noise current in A\n",
+ "Id=2*10**-9; #dark current in A\n",
+ "Rl=1e6; #Load resistance in ohm\n",
+ "B=1e6; #bandwidth in Hz\n",
+ "T=300; #Temperature in K\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "K=1.38*10**-20; #Boltzman constant in m2 g s-2 K-1\n",
+ "q=1.609*10**-19; #charge of a electron in Coulombs\n",
+ "Ith=4*K*T*B/Rl; #Mean Square Thermal noise current in A\n",
+ "SNR=(Is**2)/(2*q*(Is+Id)+Ith); #Signal to noise ratio\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Thermal noise current=\",Ith*10**18,\"*10^-18A\";\n",
+ "print\"Shot noise current=\",Is*10**6,\"*10^-6A\";\n",
+ "print\"Signal to noise ratio=\",round(10*math.log10(SNR),5),\"dB\"; #The answers vary due to round off error"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thermal noise current= 16.56 *10^-18A\n",
+ "Shot noise current= 5.0 *10^-6A\n",
+ "Signal to noise ratio= 61.7888 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 , Page no:54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "eta=0.6; #quantum efficiency\n",
+ "Po=10*10**-6; #optical power in W\n",
+ "q=1.6*10**-19; #charge of an elctron in columb\n",
+ "lambda1=0.85*10**-6; #wavelength in m\n",
+ "h=6.6*10**-34; #planck's constant\n",
+ "c=3*10**8; #velocity of light in m/s\n",
+ "Rl=50; #load Resistance in ohm\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "R=(q*eta*lambda1)/(h*c); #responsivity in A/W\n",
+ "I=R*Po; #current in A\n",
+ "V=Rl*I; #Voltage in V\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Responsivity=\",round(R,5);\n",
+ "print\"Current=\",round(I*10**6,5),\"uA\"; #multiplication by 1e6 to convert unit from A to uA\n",
+ "print\"Voltage=\",round(V*10**3,5),\"mV\"; #multiplication by 1e6 to convert unit from V to mV"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Responsivity= 0.41212\n",
+ "Current= 4.12121 uA\n",
+ "Voltage= 0.20606 mV\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.3 , Page no:54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "tau_tr=2*1e-9; #transit time in sec\n",
+ "Rl=50; #load resistance in ohm\n",
+ "Cd=3*1e-12; #Junction capacitance in farad\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "tau=2*Rl*Cd; #Circuit time constant in sec\n",
+ "f3dB=(0.35/tau_tr); #3dB bandwidth in Hz\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Circuit time constant =\",round(tau*1e9,5),\"ns\"; #multiplication by 1e9 to convert unit from s to ns\n",
+ "print\"3dB bandwidth=\",round(f3dB*1e-6,5),\"MHz\"; #multiplication by 1e-6 to convert unit from Hz to MHz"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Circuit time constant = 0.3 ns\n",
+ "3dB bandwidth= 175.0 MHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 , Page no:54"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "I=100*1e-9; #current in A\n",
+ "P=5*1e-9; #Incident power in W\n",
+ "h=6.6*10**-34; #planck's constant\n",
+ "c=3*10**8; #velocity of light in m/s\n",
+ "q=1.6*10**-19; #charge of an elctron in columb\n",
+ "eta=0.7; #quantum efficiency\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "lambda1=1.5*10**-6; #wavelength in m\n",
+ "R=I/P; #APD responsivity in A/W\n",
+ "M= (R*h*c)/(q*eta*lambda1); #Multiplication factor\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Responsivity=\",round(R,5);\n",
+ "print\"Multiplication factor=\",round(M,5);"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Responsivity= 20.0\n",
+ "Multiplication factor= 23.57143\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5 , Page no:55"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "h=6.6*10**-34; #planck's constant\n",
+ "c=3*10**8; #velocity of light in m/s\n",
+ "q=1.6*10**-19; #charge of an elctron in columb\n",
+ "lambda1=0.85*10**-6; #//wavelength in m\n",
+ "I=0.1; #incident light intensity in mW/mm2\n",
+ "Iph1=10*1e-6; #photocurrent in pin in A\n",
+ "Iph2=500*1e-6; #photocurrent in APD in A\n",
+ "A=0.2; #detector area in mm2\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "P=I*A; #Power seen by detector in mW\n",
+ "photons_generated=P*1e-3/(h*c/lambda1); #photons Generated\n",
+ "Rate=Iph1/q; #rate of carrier generation for pin\n",
+ "eta=Rate/photons_generated; #Quantum efficiency for pin\n",
+ "M=Iph2/Iph1; #Multiplication factor\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Quantum efficiency is=\",round(eta,5); #The answers vary due to round off error\n",
+ "print\"Avalanche multiple factor=\",round(M,5);"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Quantum efficiency is= 0.72794\n",
+ "Avalanche multiple factor= 50.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_6_Integrated_Optics_and_Photonic_Circuits.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_6_Integrated_Optics_and_Photonic_Circuits.ipynb
new file mode 100644
index 00000000..8854b665
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_6_Integrated_Optics_and_Photonic_Circuits.ipynb
@@ -0,0 +1,281 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:5718a3c42754aa5183942c38e5cab304783445145fa6697742fcee51eaa7862a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6 :Integrated Optics and Photonic Circuits"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.1 , Page no:121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lamda=1.55; #wavelength in um\n",
+ "n1=1.51; #Film refractive index\n",
+ "n2=1.5; #substrate refractive index\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "t=(lamda)/(2*3.14*math.sqrt(n1*n1-n2*n2)); #Thickness of film in um\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Film thickness=\",round(t,5),\"um\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Film thickness= 1.42262 um\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.2 , Page no:121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "b=0.5; #normalized propoagation constant\n",
+ "lamda=1.3; #wavelength in um\n",
+ "n1=2.21; #Film refractive index\n",
+ "n2=2.2; #substrate refractive index\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "V=(2*math.atan(b/(1-b))/(math.sqrt(1-b))); #normalized frequency\n",
+ "t=(lamda)/(2*3.14*math.sqrt(n1*n1-n2*n2)); #Thickness of film in um\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Normalized frequency=\",round(V,5);\n",
+ "print\"Film thickness=\",round(t,5),\"um\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Normalized frequency= 2.22144\n",
+ "Film thickness= 0.98574 um\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.3 , Page no:121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lamda=1.3; #wavelength in um\n",
+ "nf=1.51; #Film refractive index\n",
+ "t=1.5; #Film thickness in um\n",
+ "ns=1.5; #Waveguide refractive index\n",
+ "na=1; #refractive index of air\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "V=(2*3.14*t/lamda)*math.sqrt(nf**2-ns**2); #V-number\n",
+ "a=(ns**2-na**2)/(nf**2-ns**2); #asymmetry parameter of the waveguide\n",
+ "Vc=math.atan(a**0.5); #cutoff V-number\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"V-number=\",round(V,5);\n",
+ "print\"symmetry parameter of the waveguide=\",round(a,5);\n",
+ "print\"Cutoff V-number=\",round(Vc,5);"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "V-number= 1.25716\n",
+ "symmetry parameter of the waveguide= 41.52824\n",
+ "Cutoff V-number= 1.41685\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.4 , Page no:121"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "delta_phi=3.14; \n",
+ "d=4*10**-6; #seperation between electrodes\n",
+ "n=2.2; #approximate inder in absence of voltage\n",
+ "r13=30*10**-12; #poper electro optic coefficient\n",
+ "row=0.4; #overlap factor\n",
+ "lambda1=1300*1e-9; #wavelength in m\n",
+ "L=8*10**-3; #length of electrode in m\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "delta_n=delta_phi*lambda1/(2*3.14*L); #change in refractive index\n",
+ "V_pi=2*d*delta_n/(n**3*row*r13); #Voltahe required for using the device as BPSK modulator\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Voltage required for using the device as BPSK modulator=\",round(V_pi,5),\"V\";\n",
+ "print\"Voltage length product for unit length is=\",round(V_pi,5),\"VM\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage required for using the device as BPSK modulator= 5.08703 V\n",
+ "Voltage length product for unit length is= 5.08703 VM\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.5 , Page no:122"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "d=10*10**-6; #seperation between electrodes\n",
+ "ne=2.2; #approximate inder in absence of voltage\n",
+ "r33=32*10**-12; #poper electro optic coefficient\n",
+ "lambda1=1*1e-6; #wavelength in m\n",
+ "L=5*10**-3; #length of electrode in m\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "V=d*lambda1/(2*3.14*ne**3*r33*L); #Voltahe required for using the device as BPSK modulator\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Voltage required for using the device as BPSK modulator=\",round(V,5);\n",
+ "print\"The answer is different because of rounding off error\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage required for using the device as BPSK modulator= 0.93466\n",
+ "The answer is different because of rounding off error\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6 , Page no:122"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "delta_L=1/100; #error in effective interaction length\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "P=(3.14/2*delta_L)**2; #cross talk power output in W\n",
+ "PdB=10*math.log10(P); #power in dB\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"cross talk power output=\",round(P*10**4,5),\"x10^-4W\"; #multiplication by 10^4 to convert unit from W to 10^-4 W\n",
+ "print\"cross talk power output=\",round(PdB,5),\"dB\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "cross talk power output= 2.4649 x10^-4W\n",
+ "cross talk power output= -36.08201 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_7_Wavelength_Division_Multiplexing.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_7_Wavelength_Division_Multiplexing.ipynb
new file mode 100644
index 00000000..40b7bf74
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_7_Wavelength_Division_Multiplexing.ipynb
@@ -0,0 +1,75 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:62bc163fc204b240cfa5487557377289a5aa4455db07d8272b9a3297f9aa8608"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 :Wavelength Division Multiplexing"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 , Page no:128"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "delta_lambda=60e-9; #delta lambda in m\n",
+ "lambda1=1550e-9; #wavelength in m\n",
+ "c=3e8; #velocity of light in m/s\n",
+ "CS=75*1e9; #Channel spacing in Hz\n",
+ "Power_margin=30; #power margin in dB\n",
+ "Fiber_loss=0.25; #fiber loss in dB/Km\n",
+ "channel_capacity=2.5*1e9; #channel capacity STM-16 in bps\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "delta_f=(c*delta_lambda)/lambda1**2; #frequency bandwidth in Hz\n",
+ "transmission_distance=Power_margin/Fiber_loss; #Transmission distance in Km\n",
+ "No_channels=(delta_f/CS); #No. of channels \n",
+ "distance_bitrate_product=No_channels*channel_capacity*transmission_distance; #distance bitrate product in bpsKm\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Frequency bandwidth =\",round(delta_f/1e12,5),\"x10^12Hz\"; #division by 1e12 to convert unit from Hz to 10^12 Hz\n",
+ "print\"Transmission distance =\",round(transmission_distance,5),\"Km\";\n",
+ "print\"No. of channels=\",round(No_channels);\n",
+ "print\"Distance bitrate product =\",round(distance_bitrate_product/1e12),\"Tbits/sKm\"; #division by 1e12 to convert unit from bits/sKm to Tbits/sKm"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Frequency bandwidth = 7.4922 x10^12Hz\n",
+ "Transmission distance = 120.0 Km\n",
+ "No. of channels= 100.0\n",
+ "Distance bitrate product = 30.0 Tbits/sKm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_8_Coherent_Optical_Communication.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_8_Coherent_Optical_Communication.ipynb
new file mode 100644
index 00000000..472467ff
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_8_Coherent_Optical_Communication.ipynb
@@ -0,0 +1,69 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4881bef53fd067703d64b9b5a3034e5d88b5acf7b3dec8a07e705aec8498dcff"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 8 :Coherent Optical Communication"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.1 , Page no:148"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "eta=0.8; #quantum efficiency of detection\n",
+ "Ps=2e-9; #received optical power in W\n",
+ "h=6.62*1e-34; #plancks constant\n",
+ "lambda1=1500*1e-9; #wavelength in m\n",
+ "c=3*1e8; #velocity of light in m/s\n",
+ "new=c/lambda1; #frequency in Hz\n",
+ "B=1e6; #Signal Bandwidth in Hz\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "SNR=(eta*Ps)/(2*h*new*B); #signal to noise ratio\n",
+ "SNRdB=10*math.log10(SNR); #signal to noise ratio in dB)\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"signal to noise ratio=\",round(SNR,5); #the answer in textbook is wrong\n",
+ "print\"signal to noise ratio=\",round(SNRdB,5),\"dB\"; #the answer in textbook is wrong"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "signal to noise ratio= 6042.29607\n",
+ "signal to noise ratio= 37.81202 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_9_Optical_Amplifers.ipynb b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_9_Optical_Amplifers.ipynb
new file mode 100644
index 00000000..a1571ca5
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/Chapter_9_Optical_Amplifers.ipynb
@@ -0,0 +1,170 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d54371f73c2225fe34a3d32b817214b297a139cdb3c04a4600802c34c069acd1"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 9 :Optical Amplifiers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.1 , Page no:164"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "lambda1=1.3*1e-6; #wavelength in m\n",
+ "c=3*1e8; #velocity of light in m/s\n",
+ "SNRoutdB=30; #signal to noise ratio at outputin dB\n",
+ "SNRout=10**(SNRoutdB/10); #signal to noise ratio at output normal scale\n",
+ "new=c/lambda1; #frequency in Hz\n",
+ "h=6.6e-34; #plancks constant\n",
+ "P=0.5e-3; #Input power in W\n",
+ "NFdB=4; #noise figure in dB\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "NF=10**(NFdB/10); #noise figure in normal scale\n",
+ "SNRin=NF*SNRout #signal to noise ratio at input normal scale\n",
+ "delta_Be=P/(2*h*new*SNRin); #receiver bandwidth in Hz\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Signal to noise ratio at Input=\",round(SNRin,5);\n",
+ "print\"Reciever bandwidth is=\",round(delta_Be/1e14,5),\"x10^14Hz\"; #division by 1e14 to convert the unit from Hz to 10^14 Hz\n",
+ "print\"The answer given in textbook is wrong\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Signal to noise ratio at Input= 2511.88643\n",
+ "Reciever bandwidth is= 0.00653 x10^14Hz\n",
+ "The answer given in textbook is wrong\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.2 , Page no:164"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "PASE=1e-3; #amplified spontaneous emission power in W\n",
+ "Gdb=20; #optical amplifier gain in dB\n",
+ "G=10**(Gdb/10); #optical amplifier gain in normal scale\n",
+ "delta_newbynew=5e-6; #fractional bandwidth\n",
+ "h=6.6e-34; #planck's constant\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "ns=PASE/((G-1)*h/delta_newbynew); #noise factor\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"noise factor is=\",round(ns/1e21,5),\"x10^21\"; #division by 1e21 to convert the unit from Hz to 10^21 Hz\n",
+ "print\"The answer given in textbook is wrong\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "noise factor is= 76.5228 x10^21\n",
+ "The answer given in textbook is wrong\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.3 , Page no:165"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#initialisation of variables\n",
+ "L=50; #link length in Km\n",
+ "Fiber_loss=0.2; #fiber loss in dB/Km\n",
+ "Req_Gain=Fiber_loss*L; #required Gain\n",
+ "Fn1db=5; #Noise figure in dB\n",
+ "Fn2db=5; #Noise figure in dB\n",
+ "Fn3db=5; #Noise figure in dB\n",
+ "Fn1=10**(Fn1db/10); #Noise figure in normal scale for all amplifiers\n",
+ "Fn2=10**(Fn2db/10); #Noise figure in normal scale for all amplifiers\n",
+ "Fn3=10**(Fn3db/10); #Noise figure in normal scale for all amplifiers\n",
+ "G1=10**(Req_Gain/10); #gain in normal scale\n",
+ "G2=10**(Req_Gain/10); #gain in normal scale\n",
+ "\n",
+ "#CALCULATIONS\n",
+ "Fneff=Fn1+(Fn2/G1)+(Fn3/(G1*G2)); #Effective noise figure\n",
+ "SNRindb=30; #Signal to noise ratio at input in dB\n",
+ "SNRout=10**(SNRindb/10)/Fneff; #Signal to noise ratio at output in dB\n",
+ "SNRoutdb=10*math.log10(SNRout);\n",
+ "\n",
+ "#RESULTS\n",
+ "print\"Required Gain=\",round(Req_Gain,5);\n",
+ "print\"Effective noise figure=\",round(Fneff,5);\n",
+ "print\"Signal to noise ratio at output =\",round(SNRoutdb,5),\"dB\";"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Required Gain= 10.0\n",
+ "Effective noise figure= 3.51013\n",
+ "Signal to noise ratio at output = 24.54677 dB\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_2.png b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_2.png
new file mode 100644
index 00000000..23e1caf7
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_2.png
Binary files differ
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_3.png b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_3.png
new file mode 100644
index 00000000..96f647ae
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_3.png
Binary files differ
diff --git a/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_4.png b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_4.png
new file mode 100644
index 00000000..ab1f60da
--- /dev/null
+++ b/Optical_Fiber_Communication_by_A._Selvarajan,_S._Kar_and_T_Srinivas/screenshots/chapter_4.png
Binary files differ