summaryrefslogtreecommitdiff
path: root/401/CH6/EX6.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /401/CH6/EX6.2
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 '401/CH6/EX6.2')
-rwxr-xr-x401/CH6/EX6.2/Example6_2.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/401/CH6/EX6.2/Example6_2.sce b/401/CH6/EX6.2/Example6_2.sce
new file mode 100755
index 000000000..70fe2d8c1
--- /dev/null
+++ b/401/CH6/EX6.2/Example6_2.sce
@@ -0,0 +1,23 @@
+//Example 6.2
+//Program to determine the number of longitudinal modes and their
+//frequency separation in a ruby laser
+
+clear;
+clc ;
+close ;
+
+//Given data
+Lambda=0.55*10^-6; //metres - PEAK EMISSION WAVELENGTH
+n=1.78; //REFRACTIVE INDEX
+c= 2.998*10^8; //m/s - SPEED OF LIGHT
+L=4*10^(-2); //metres - CRYSTAL LENGTH
+
+//Number of Longitudinal modes
+q=2*n*L/Lambda;
+
+//Frequency separation of the modes
+del_f=c/(2*n*L);
+
+//Displaying the Results in Command Window
+printf("\n\n\t Number of Longitudinal modes is %0.1f X 10^5.",q/10^5);
+printf("\n\n\t Frequency separation of the modes is %0.1f GHz.",del_f/10^9); \ No newline at end of file