summaryrefslogtreecommitdiff
path: root/1847/CH4/EX4.1/Ch04Ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1847/CH4/EX4.1/Ch04Ex1.sce')
-rwxr-xr-x1847/CH4/EX4.1/Ch04Ex1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1847/CH4/EX4.1/Ch04Ex1.sce b/1847/CH4/EX4.1/Ch04Ex1.sce
new file mode 100755
index 000000000..c014233b2
--- /dev/null
+++ b/1847/CH4/EX4.1/Ch04Ex1.sce
@@ -0,0 +1,8 @@
+// Scilab Code Ex4.1:: Page-4.5 (2009)
+clc; clear;
+ip = 60; // Polarizing angle, degrees
+mu = tand(ip); // Refractive index of the material from Brewster's law
+printf("\nThe refractive index of the material = %5.3f", mu);
+
+// Result
+// The refractive index of the material = 1.732