1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
{
"metadata": {
"name": "",
"signature": "sha256:bbbebe541ba21d9bbb4d54500aef67ec9a094ac72f21cf0a19a14aa93b9c61ce"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 19 Optical communication"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 19.1 Page no 760"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Given\n",
"NA = 0.29\n",
"\n",
"#Calculation\n",
"import math\n",
"critical_angle = math.asin(0.29)*180/3.14\n",
"\n",
"print\"The critical angle is \",round(critical_angle,2),\"degree\"\n",
" \n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The critical angle is 16.87 degree\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 19.2 Page no 767"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Given\n",
"B_rating_Mhzkm =600*10**6\n",
"len_ft=500\n",
"\n",
"#Calculation\n",
"bandwidth = B_rating_Mhzkm/(len_ft/3274.0)\n",
"\n",
"#Result\n",
"print\"The bandwidth of the 500 feetr segment of the cable is \",bandwidth/10**6,\"MHz\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The bandwidth of the 500 feetr segment of the ccable is 3928.8 MHz\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 19.3 Page no 780"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Given\n",
"R=43*10**6\n",
"D=1200/3274.0\n",
"\n",
"#Calculation\n",
"d=1/(5.0*R*D)\n",
"\n",
"#Result\n",
"print\"The dispersion factor is \",round(d*10**9,1),\"ns/km\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The dispersion factor is 12.7 ns/km\n"
]
}
],
"prompt_number": 4
}
],
"metadata": {}
}
]
}
|