summaryrefslogtreecommitdiff
path: root/1871/CH6/EX6.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH6/EX6.14
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 '1871/CH6/EX6.14')
-rwxr-xr-x1871/CH6/EX6.14/Ch06Ex14.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1871/CH6/EX6.14/Ch06Ex14.sce b/1871/CH6/EX6.14/Ch06Ex14.sce
new file mode 100755
index 000000000..9063d379d
--- /dev/null
+++ b/1871/CH6/EX6.14/Ch06Ex14.sce
@@ -0,0 +1,12 @@
+// Scilab code Ex6.14: Pg:262 (2008)
+clc;clear;
+mu_O = 1.544; // Refractive index for an ordinary beam
+mu_E = 1.553; // Refractive index for an extra-ordinary beam
+lambda = 6000e-08; // Wavelength of light, cm
+t = lambda/(2*(mu_E - mu_O)); // Thickness of doubly refracting crystal, cm
+printf("\nThe thinnest possible quartz = %4.2e cm", t);
+printf("\nThe thicknesses which would give the same result are %4.2e cm, %4.2e cm, %4.2e cm,...", t, 3*t, 5*t);
+
+// Result
+// The thinnest possible quartz = 3.33e-003 cm
+// The thicknesses which would give the same result are 3.33e-003 cm, 1.00e-002 cm, 1.67e-002 cm,...