summaryrefslogtreecommitdiff
path: root/1535/CH3/EX3.3/Ch03Ex3.sci
diff options
context:
space:
mode:
Diffstat (limited to '1535/CH3/EX3.3/Ch03Ex3.sci')
-rwxr-xr-x1535/CH3/EX3.3/Ch03Ex3.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/1535/CH3/EX3.3/Ch03Ex3.sci b/1535/CH3/EX3.3/Ch03Ex3.sci
new file mode 100755
index 000000000..723d34c3f
--- /dev/null
+++ b/1535/CH3/EX3.3/Ch03Ex3.sci
@@ -0,0 +1,9 @@
+// Scilab Code Ex3.3 : Page-71 (2010)
+lambda = 5.5e-05; // Wavelength emitted by source of light, cm
+n = 4; // Number of fringes shifted
+t = 3.9e-04; // Thickness of the thin glass sheet, cm
+mu = n*lambda/t+1; // Refractive index of the sheet of glass
+printf("\nThe refractive index of the sheet of glass = %6.4f", mu);
+
+// Result
+// The refractive index of the sheet of glass = 1.5641 \ No newline at end of file