summaryrefslogtreecommitdiff
path: root/374/CH5/EX5.4.a
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /374/CH5/EX5.4.a
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 '374/CH5/EX5.4.a')
-rw-r--r--374/CH5/EX5.4.a/54a.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/374/CH5/EX5.4.a/54a.sci b/374/CH5/EX5.4.a/54a.sci
new file mode 100644
index 000000000..85612bfc9
--- /dev/null
+++ b/374/CH5/EX5.4.a/54a.sci
@@ -0,0 +1,11 @@
+//chapter 5 exmaple 4a//
+clc
+clear
+//number of longitudnal modes=K,refractive index=n1,length of the cavity in the laser=L,wavelength of the device=l,seperation wavelength between two modes=dl//
+K=1700;
+n1=3.6;
+l=0.85*(10^-6);//in mts//
+L=((K*l)/(2*n1))*(10^6);
+printf("\n length of the cavity in the laser=%f micro meters\n",L)
+dl=((l^2)/(2*n1*L))*(10^15);//seperation wavelength between modes//
+printf("\n seperation wavelength between modes=%f micro meters\n",dl) \ No newline at end of file