diff options
Diffstat (limited to '1847/CH2/EX2.26/Ch02Ex26.sce')
-rwxr-xr-x | 1847/CH2/EX2.26/Ch02Ex26.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1847/CH2/EX2.26/Ch02Ex26.sce b/1847/CH2/EX2.26/Ch02Ex26.sce new file mode 100755 index 000000000..fa9bdac11 --- /dev/null +++ b/1847/CH2/EX2.26/Ch02Ex26.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex2.26:: Page-2.20 (2009)
+clc; clear;
+lambda = 5400e-008; // Wavelength of light used, cm
+mu = 1.7; // Refractive index of material sheet convering the first slit
+mu_prime = 1.5; // Refractive index of material sheet convering the seecond slit
+// As shift, S = D/d*(mu - mu_prime)*t = b/lambda*(mu - mu_prime)*t, solving for t
+t = 8*lambda/(mu-mu_prime) // Thickness of the glass sheet, cm
+
+printf("\nThe thickness of the glass sheet = %4.2e cm", t);
+
+// Result
+// The thickness of the glass sheet = 2.16e-003 cm
|