diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH6/EX6.3/Ch06Ex3.sce | |
download | Scilab-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.3/Ch06Ex3.sce')
-rwxr-xr-x | 1871/CH6/EX6.3/Ch06Ex3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1871/CH6/EX6.3/Ch06Ex3.sce b/1871/CH6/EX6.3/Ch06Ex3.sce new file mode 100755 index 000000000..f181e2709 --- /dev/null +++ b/1871/CH6/EX6.3/Ch06Ex3.sce @@ -0,0 +1,13 @@ +// Scilab code Ex6.3: Pg:248 (2008)
+clc;clear;
+mu_glass = 1.54; // Refractive index of the glass
+mu_water = 1.33; // Refractive index of the water
+mu_1 = mu_glass/mu_water; // Refractive index for a water to glass interface
+mu_2 = mu_water/mu_glass; // Refractive index for a glass to water interface
+// Since mu = tan i_p, solving for i_p
+i_p_1 = atand(mu_1); // Angle of polarization for water to glass interface, degree
+i_p_2 = atand(mu_2); // Angle of polarization for glass to water interface, degree
+printf("\nThe polarizing angle for the water to glass interface is larger than that of glass to water inteface by %3.1f degree", i_p_1 - i_p_2);
+
+// Result
+// The polarizing angle for the water to glass interface is larger than that of glass to water inteface by 8.4 degree
\ No newline at end of file |