From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 374/CH5/EX5.4.a/54a.sci | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 374/CH5/EX5.4.a/54a.sci (limited to '374/CH5/EX5.4.a') 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 -- cgit