summaryrefslogtreecommitdiff
path: root/1619/CH2/EX2.5.3/Example2_5_3.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.5.3/Example2_5_3.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.5.3/Example2_5_3.sce')
-rwxr-xr-x1619/CH2/EX2.5.3/Example2_5_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1619/CH2/EX2.5.3/Example2_5_3.sce b/1619/CH2/EX2.5.3/Example2_5_3.sce
new file mode 100755
index 000000000..9bae1250c
--- /dev/null
+++ b/1619/CH2/EX2.5.3/Example2_5_3.sce
@@ -0,0 +1,12 @@
+//Example 2.5.3 page 2.26
+
+clc;
+clear;
+ lamda = 850;
+ sigma= 20;
+ D_mat = 0.055/(3*10^5*lamda);
+sigma_m= sigma*1*D_mat;
+D_mat=D_mat*10^12; // in Ps...
+sigma_m=sigma_m*10^9; //in ns////
+ printf("The material Dispersion is %.2f Ps/nm-Km",D_mat);
+ printf("\n\nThe Pulse spreading is %.4f ns/Km",sigma_m);