diff options
Diffstat (limited to '2411/CH3/EX3.b.107/Ex3b_7.sce')
-rwxr-xr-x | 2411/CH3/EX3.b.107/Ex3b_7.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2411/CH3/EX3.b.107/Ex3b_7.sce b/2411/CH3/EX3.b.107/Ex3b_7.sce new file mode 100755 index 000000000..2e9cfc41f --- /dev/null +++ b/2411/CH3/EX3.b.107/Ex3b_7.sce @@ -0,0 +1,14 @@ +// Scilab Code Ex3b.7: Page-165 (2008)
+clc; clear;
+// For half reduction in intensity
+I_ratio = 1/2; // Intensity ratio
+theta = acosd(sqrt(I_ratio)); // Angle of rotation of polaroid, degree
+printf("\nFor half reduction in intensity, the angle of rotation = %d degree", theta);
+// For one-fourth reduction in intensity
+I_ratio = 1/4; // Intensity ratio
+theta = acosd(sqrt(I_ratio)); // Angle of rotation of polaroid, degree
+printf("\nFor one-fourth reduction in intensity, the angle of rotation = %d degree", theta);
+
+// Result
+// For half reduction in intensity, the angle of rotation = 45 degree
+// For one-fourth reduction in intensity, the angle of rotation = 60 degree
|