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.4/Ch06Ex4.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1871/CH6/EX6.4/Ch06Ex4.sce (limited to '1871/CH6/EX6.4') 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 -- cgit