summaryrefslogtreecommitdiff
path: root/1619/CH2/EX2.6.1/Example2_6_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1619/CH2/EX2.6.1/Example2_6_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1619/CH2/EX2.6.1/Example2_6_1.sce')
-rwxr-xr-x1619/CH2/EX2.6.1/Example2_6_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1619/CH2/EX2.6.1/Example2_6_1.sce b/1619/CH2/EX2.6.1/Example2_6_1.sce
new file mode 100755
index 000000000..303fb677c
--- /dev/null
+++ b/1619/CH2/EX2.6.1/Example2_6_1.sce
@@ -0,0 +1,15 @@
+//Example 2.6.1 page 2.34
+
+clc;
+clear;
+
+t= 0.1*10^-6;
+L= 12;
+B_opt= 1/(2*t);
+B_opt=B_opt/1000000; //converting from Hz to MHz
+printf("The maximum optical bandwidth is %d MHz.",B_opt);
+del= t/L; //Pulse broadening
+del=del*10^9; // converting in ns...
+printf("\n\nThe pulse broadening per unit length is %.2f ns/Km",del);
+BLP= B_opt*L; //BW length product
+printf("\n\nThe Bandwidth-Length Product is %d MHz.Km",BLP);