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 /1271/CH3/EX3.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 '1271/CH3/EX3.4')
-rwxr-xr-x | 1271/CH3/EX3.4/4.txt | 1 | ||||
-rwxr-xr-x | 1271/CH3/EX3.4/example3_4.sce | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH3/EX3.4/4.txt b/1271/CH3/EX3.4/4.txt new file mode 100755 index 000000000..1ee8d542a --- /dev/null +++ b/1271/CH3/EX3.4/4.txt @@ -0,0 +1 @@ + Angle of minimum deviation = 60.000000 degree
\ No newline at end of file diff --git a/1271/CH3/EX3.4/example3_4.sce b/1271/CH3/EX3.4/example3_4.sce new file mode 100755 index 000000000..a12540212 --- /dev/null +++ b/1271/CH3/EX3.4/example3_4.sce @@ -0,0 +1,10 @@ +clc +// Given that +Ip = %pi / 3 // polarizing angle of piece of glass for green light in radian +a = %pi / 3 // angle of prism in radian +// Sample Problem 4 on page no. 3.24 +printf("\n # PROBLEM 4 # \n") +mu = tan(Ip) // calculation for refractive index +delta_m = 2 * (asin(mu * sin(a / 2)) - (a / 2)) * (180 / %pi) // calculation for angle of minimum deviation +printf("\n Standard formula used \n mu = tan(Ip). \n delta_m = 2 * (asin(mu * sin(a / 2)) - (a / 2)) * (180 / pi). \n") +printf("\n Angle of minimum deviation = %f degree",delta_m) |