From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1871/CH6/EX6.7/Ch06Ex7.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 1871/CH6/EX6.7/Ch06Ex7.sce (limited to '1871/CH6/EX6.7') diff --git a/1871/CH6/EX6.7/Ch06Ex7.sce b/1871/CH6/EX6.7/Ch06Ex7.sce new file mode 100755 index 000000000..3e751452e --- /dev/null +++ b/1871/CH6/EX6.7/Ch06Ex7.sce @@ -0,0 +1,11 @@ +// Scilab code Ex6.7: Pg:249 (2008) +clc;clear; +I_0 = 1; // For simplicity assume maximum intensity to be unity, unit +theta_A = 60; // Angle between the plane of polarizer and plane of the analyzer for beam A, degree +theta_B = 30; // Angle between the plane of polarizer and plane of the analyzer for beam B, degree +I_A = I_0*cosd(theta_A)^2; // Malus' Law for beam A +I_B = I_0*cosd(theta_B)^2; // Malus' Law for beam A +printf("\nThe intensity ratio of two emerging beams = %4.2f ", I_A/I_B); + +// Result +// The intensity ratio of two emerging beams = 0.33 -- cgit