summaryrefslogtreecommitdiff
path: root/Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-05-08 23:30:29 +0600
committerTrupti Kini2016-05-08 23:30:29 +0600
commit319b3ab10ce7ba40b7854a5630f317e318f3721b (patch)
tree18e365c95a9401c576eb4029c00eeee1c8f29387 /Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb
parentcf1d6e42383334d18a21bc297720bf52fca2f488 (diff)
downloadPython-Textbook-Companions-319b3ab10ce7ba40b7854a5630f317e318f3721b.tar.gz
Python-Textbook-Companions-319b3ab10ce7ba40b7854a5630f317e318f3721b.tar.bz2
Python-Textbook-Companions-319b3ab10ce7ba40b7854a5630f317e318f3721b.zip
Added(A)/Deleted(D) following books
A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap10.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap2.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap3.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap4.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap5.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap7.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap8.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap9.ipynb A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/screenshots/Sc1.png A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/screenshots/sc2.png A Optical_Fiber_Communication_System_by_Dr._M.K._Raina/screenshots/sc3.png
Diffstat (limited to 'Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb')
-rw-r--r--Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb102
1 files changed, 102 insertions, 0 deletions
diff --git a/Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb b/Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb
new file mode 100644
index 00000000..064e42e5
--- /dev/null
+++ b/Optical_Fiber_Communication_System_by_Dr._M.K._Raina/chap6.ipynb
@@ -0,0 +1,102 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch-6 : Preparation of Optical Fibers and Cables"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:6.1 Pg: 287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The percentage of strain =0.16 %\n",
+ "\n",
+ " If this condition is maintained the fiber will maintain without any break\n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "r=125*10**-6## cladding radius in meter\n",
+ "R=8*10**-2## curve of radius in meter\n",
+ "s=((R+2*r)/(R+r))-1#\n",
+ "s_p=s*100## percentage of strain\n",
+ "print \"The percentage of strain =%0.2f %%\"%( s_p)#\n",
+ "print \"\\n If this condition is maintained the fiber will maintain without any break\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Ex:6.2 Pg: 287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The puttling tension at the exit of an optical cable =49.17 kg\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import asinh,sinh\n",
+ "from __future__ import division\n",
+ "w=40*10**-3## cable weighing in kg/m\n",
+ "R=20*10**-2## radius of curvature in meter\n",
+ "n=0.19## co-efficient of friction\n",
+ "x=(3.14/4)## angle in rad\n",
+ "si=42.36## pulling tension at the entrance in kg\n",
+ "X=(si/(w*R))##\n",
+ "Y=asinh(si/(w*R))#\n",
+ "Z=w*R*sinh(n*x+Y)##puttling tension at the exit of an optical cable\n",
+ "print \"The puttling tension at the exit of an optical cable =%0.2f kg\"%( Z)"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}