summaryrefslogtreecommitdiff
path: root/3543/CH8
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3543/CH8
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3543/CH8')
-rw-r--r--3543/CH8/EX8.45/EX8_45.pngbin0 -> 37165 bytes
-rw-r--r--3543/CH8/EX8.45/EX8_45.sce28
-rw-r--r--3543/CH8/EX8.46/EX8_46.pngbin0 -> 47268 bytes
-rw-r--r--3543/CH8/EX8.46/EX8_46.sce43
-rw-r--r--3543/CH8/EX8.47/EX8_47.pngbin0 -> 34433 bytes
-rw-r--r--3543/CH8/EX8.47/EX8_47.sce25
-rw-r--r--3543/CH8/EX8.48/EX8_48.pngbin0 -> 33550 bytes
-rw-r--r--3543/CH8/EX8.48/EX8_48.sce33
-rw-r--r--3543/CH8/EX8.49/EX8_49.pngbin0 -> 33251 bytes
-rw-r--r--3543/CH8/EX8.49/EX8_49.sce33
-rw-r--r--3543/CH8/EX8.50/EX8_50.pngbin0 -> 134128 bytes
-rw-r--r--3543/CH8/EX8.50/EX8_50.sce26
-rw-r--r--3543/CH8/EX8.51/EX8_51.pngbin0 -> 35023 bytes
-rw-r--r--3543/CH8/EX8.51/EX8_51.sce35
14 files changed, 223 insertions, 0 deletions
diff --git a/3543/CH8/EX8.45/EX8_45.png b/3543/CH8/EX8.45/EX8_45.png
new file mode 100644
index 000000000..4c7ba388f
--- /dev/null
+++ b/3543/CH8/EX8.45/EX8_45.png
Binary files differ
diff --git a/3543/CH8/EX8.45/EX8_45.sce b/3543/CH8/EX8.45/EX8_45.sce
new file mode 100644
index 000000000..9933c707b
--- /dev/null
+++ b/3543/CH8/EX8.45/EX8_45.sce
@@ -0,0 +1,28 @@
+// Example 8.45
+// Calculation of incident optical power.
+// Page no 499
+
+clc;
+clear;
+close;
+
+//Given data
+lambda=1.3*10^-6; // Wavelength
+B=6*10^6; // Bandwidth
+S=10^5; // Total system margin
+n=1; // Efficiency
+v=3*10^14;
+h=6.62*10^-34; // Planck constant
+
+
+
+// Incident optical power
+P=(2*S*v*h*B)/n;
+
+P1=10*log10(P/10^-3);
+
+//Displaying results in the command window
+printf("\n Incident optical power(in nW) = %0.1f ",P1);
+
+
+// The answers vary due to round off error
diff --git a/3543/CH8/EX8.46/EX8_46.png b/3543/CH8/EX8.46/EX8_46.png
new file mode 100644
index 000000000..361fd64db
--- /dev/null
+++ b/3543/CH8/EX8.46/EX8_46.png
Binary files differ
diff --git a/3543/CH8/EX8.46/EX8_46.sce b/3543/CH8/EX8.46/EX8_46.sce
new file mode 100644
index 000000000..cdfb757e3
--- /dev/null
+++ b/3543/CH8/EX8.46/EX8_46.sce
@@ -0,0 +1,43 @@
+// Example 8.46
+// Calculation of maximum repeater spacing of a)ASK hetrodyne b)PSK homodyne
+// Page no 500
+
+clc;
+clear;
+close;
+
+//Given data
+
+S=0.2; // Split loss
+c=3*10^8; // velocity of light
+lambda=1.55*10^-6; // Wavelength
+B1=50*10^6; // Speed of communication
+h=6.63*10^-34 // Planck constant
+B2=1*10^9; // Speed of communication
+
+
+// a)Maximum repeater spacing for ASK hetrodyne
+P1=(36*h*c*B1)/lambda;
+P1=10*log10(P1/10^-3);
+s1=4-P1;
+R1=s1/S;
+P2= (36*h*c*B2)/lambda;
+P2=10*log10(P2/10^-3);
+s2=4-P2;
+R2=s2/S;
+//b)Maximum repeater spacing for PSK homodyne
+K1= (9*h*c*B1)/lambda;
+K1=10*log10(K1/10^-3);
+K1=4-K1;
+R3=K1/S;
+K2= (9*h*c*B2)/lambda;
+K2=10*log10(K2/10^-3);
+K2=4-K2;
+R4=K2/S;
+
+//Displaying results in the command window
+printf("\n Maximum repeater spacing(in Km) = %0.3f ",R1);
+printf("\n Maximum repeater spacing(in Km) = %0.3f ",R2);
+printf("\n Maximum repeater spacing(in Km) = %0.3f ",R3);
+printf("\n Maximum repeater spacing(in Km) = %0.3f ",R4);
+// The answers vary due to round off error
diff --git a/3543/CH8/EX8.47/EX8_47.png b/3543/CH8/EX8.47/EX8_47.png
new file mode 100644
index 000000000..7a2a836b5
--- /dev/null
+++ b/3543/CH8/EX8.47/EX8_47.png
Binary files differ
diff --git a/3543/CH8/EX8.47/EX8_47.sce b/3543/CH8/EX8.47/EX8_47.sce
new file mode 100644
index 000000000..8956f3596
--- /dev/null
+++ b/3543/CH8/EX8.47/EX8_47.sce
@@ -0,0 +1,25 @@
+// Example 8.47
+// Calculation of incident optical power.
+// Page no 499
+
+clc;
+clear;
+close;
+
+//Given data
+
+h=6.62*10^-34; // Planck constant
+c=3*10^8; // velocity of light
+lambda=1.55*10^-6; // Wavelength
+B=400*10^6; // Speed of communication
+
+// Maximum repeater spacing
+P=(36*h*c*B)/lambda;
+P=10*log10(P/10^-3);
+
+
+//Displaying results in the command window
+printf("\n Incident optical power(in nW) = %0.3f ",P);
+
+
+// The answers vary due to round off error
diff --git a/3543/CH8/EX8.48/EX8_48.png b/3543/CH8/EX8.48/EX8_48.png
new file mode 100644
index 000000000..ef643f433
--- /dev/null
+++ b/3543/CH8/EX8.48/EX8_48.png
Binary files differ
diff --git a/3543/CH8/EX8.48/EX8_48.sce b/3543/CH8/EX8.48/EX8_48.sce
new file mode 100644
index 000000000..100d5efb2
--- /dev/null
+++ b/3543/CH8/EX8.48/EX8_48.sce
@@ -0,0 +1,33 @@
+// Example 8.48
+// Calculation of optical power budget.
+// Page no 502
+
+clc;
+clear;
+close;
+
+//Given data
+M=-10; // Mean optical power
+S=-25; // Split loss
+TS=7; // Total system margin
+SP=1.4; // Split loss
+C=1.6; // Connector loss
+SM=4; // Safety margin
+
+
+// Net margin between LED and receiver
+N=M-S;
+
+// Total system loss
+T=TS+SP+C+SM;
+// Excess power margin
+E=N-T;
+
+
+
+
+//Displaying results in the command window
+printf("\n Excess power margin(in dB) = %0.0f ",E);
+
+
+// The answers vary due to round off error
diff --git a/3543/CH8/EX8.49/EX8_49.png b/3543/CH8/EX8.49/EX8_49.png
new file mode 100644
index 000000000..dc910950a
--- /dev/null
+++ b/3543/CH8/EX8.49/EX8_49.png
Binary files differ
diff --git a/3543/CH8/EX8.49/EX8_49.sce b/3543/CH8/EX8.49/EX8_49.sce
new file mode 100644
index 000000000..6ca8c9fb3
--- /dev/null
+++ b/3543/CH8/EX8.49/EX8_49.sce
@@ -0,0 +1,33 @@
+// Example 8.49
+// Calculation of viability of digital link.
+// Page no 503
+
+clc;
+clear;
+close;
+
+//Given data
+M=-10; // Mean optical power
+S=-41; // Receiver sensitivity
+TS=18.2; // Total system margin
+SP=3; // Split loss
+C=1.5; // Connector loss
+SM=6; // Safety margin
+
+
+// Net margin between LED and receiver
+N=M-S;
+
+// Total system loss
+T=TS+SP+C+SM;
+// Excess power margin
+E=N-T;
+
+
+
+
+//Displaying results in the command window
+printf("\n Excess power margin(in dB) = %0.1f ",E);
+
+
+// The answers vary due to round off error
diff --git a/3543/CH8/EX8.50/EX8_50.png b/3543/CH8/EX8.50/EX8_50.png
new file mode 100644
index 000000000..54f580cd0
--- /dev/null
+++ b/3543/CH8/EX8.50/EX8_50.png
Binary files differ
diff --git a/3543/CH8/EX8.50/EX8_50.sce b/3543/CH8/EX8.50/EX8_50.sce
new file mode 100644
index 000000000..35a110c19
--- /dev/null
+++ b/3543/CH8/EX8.50/EX8_50.sce
@@ -0,0 +1,26 @@
+// Example 8.50
+// Calculation of signal to noise ratio.
+// Page no 499
+
+clc;
+clear;
+close;
+
+//Given data
+
+h=6.62*10^-34; // Planck constant
+c=3*10^8; // velocity of light
+lambda=1.55*10^-6; // Wavelength
+B=400*10^6; // Speed of communication
+s=2;
+// S/N ratio
+
+sn=(s*4.24)/(2^(1/2));
+i=(sn)^2;
+
+//Displaying results in the command window
+printf("\n Incident optical power(in nW) = %0.20f ",i);
+
+
+// The answer is wrong in the book
+
diff --git a/3543/CH8/EX8.51/EX8_51.png b/3543/CH8/EX8.51/EX8_51.png
new file mode 100644
index 000000000..6d87810b2
--- /dev/null
+++ b/3543/CH8/EX8.51/EX8_51.png
Binary files differ
diff --git a/3543/CH8/EX8.51/EX8_51.sce b/3543/CH8/EX8.51/EX8_51.sce
new file mode 100644
index 000000000..666ef6886
--- /dev/null
+++ b/3543/CH8/EX8.51/EX8_51.sce
@@ -0,0 +1,35 @@
+// Example 7.42
+// Calculation of a)Bit rate of communication system b)Bit duration c)Time period
+// Page no 504
+
+clc;
+clear;
+close;
+
+//Given data
+f=8*10^3; // Power launched in port 1
+P2=0.082*10^-6; // Power launched in port 2
+P3=47*10^-6; // Power launched in port 3
+P4=52*10^-6; // Power launched in port 4
+
+// a)Bit rate of communication system
+c=32*8;
+B=f*c;
+B=B*10^-6;
+// b)Bit duration
+D=1/B;
+D=D*10*10^2;
+P=8*D;
+
+
+// c)Time period
+T=32*P;
+T=T*10^-3;
+
+
+//Displaying results in the command window
+printf("\n Bit rate of communication system(in Mb/s) = %0.3f ",B);
+printf("\n Bit duration(in ns) = %0.0f ",D);
+printf("\n Time period(in micro sec)= %0.0f ",T);
+
+// The answers vary due to round off error