diff options
Diffstat (limited to '1271/CH3/EX3.4/example3_4.sce')
-rwxr-xr-x | 1271/CH3/EX3.4/example3_4.sce | 10 |
1 files changed, 10 insertions, 0 deletions
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) |