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.4 | |
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.4')
-rwxr-xr-x | 1871/CH6/EX6.4/Ch06Ex4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1871/CH6/EX6.4/Ch06Ex4.sce b/1871/CH6/EX6.4/Ch06Ex4.sce new file mode 100755 index 000000000..0460dda47 --- /dev/null +++ b/1871/CH6/EX6.4/Ch06Ex4.sce @@ -0,0 +1,12 @@ +// Scilab code Ex6.4: Pg:248 (2008)
+clc;clear;
+A = 60; // Angle of prism, degree
+i_p = 60; // Polarizing angle, degree
+mu = tand(i_p); // Refractive index of glass
+// Since mu = sind((A + d_m)/2)/sind(A/2), solving for d_m
+d_m = 2*asind(mu*sind(A/2)) - A; // Angle of minimum deviation, degree
+printf("\nThe angle of minimum deviation = %2d degree", ceil(d_m));
+
+// Result
+// The angle of minimum deviation = 60 degree
+// The answer is given wrongly in the textbook
\ No newline at end of file |