summaryrefslogtreecommitdiff
path: root/Optical_Fiber_Communication_Principles_and_Practice/Chapter4.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Optical_Fiber_Communication_Principles_and_Practice/Chapter4.ipynb')
-rwxr-xr-xOptical_Fiber_Communication_Principles_and_Practice/Chapter4.ipynb35
1 files changed, 35 insertions, 0 deletions
diff --git a/Optical_Fiber_Communication_Principles_and_Practice/Chapter4.ipynb b/Optical_Fiber_Communication_Principles_and_Practice/Chapter4.ipynb
new file mode 100755
index 00000000..7a8733a2
--- /dev/null
+++ b/Optical_Fiber_Communication_Principles_and_Practice/Chapter4.ipynb
@@ -0,0 +1,35 @@
+{
+ "metadata": {
+ "name": "Chapter_4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": "Chapter 4 : Optical fibers and cables"
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": "Example 4.1, page 196"
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": "import math\n\n#Variable declaration\nl=0.16*10**-9 #bond distance\nSt=2.6*10**6 #cohesive strength\npsi=6894.76\nE=9*10**10 #Young modulus of silica\nC=10**-8\n\n#Calculation\nYp=4*l*St**2/E\nSf=math.sqrt((2*E*Yp)/(math.pi*C)) #Fracture stress for elliptical crack\nStr=Sf/E #Strain\n\n#Result\nprint'Fracture stress for elliptical crack = %.2f x 10^5 psi'%(Sf*10**-5)\nprint'Strain in percentage = %d percent'%(Str*6894.76*100)",
+ "language": "python",
+ "metadata": {},
+ "outputs": [],
+ "prompt_number": "*"
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file