summaryrefslogtreecommitdiff
path: root/1271/CH3/EX3.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH3/EX3.6
downloadScilab-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.6')
-rwxr-xr-x1271/CH3/EX3.6/6.txt2
-rwxr-xr-x1271/CH3/EX3.6/example3_6.sce9
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH3/EX3.6/6.txt b/1271/CH3/EX3.6/6.txt
new file mode 100755
index 000000000..a8a74c30a
--- /dev/null
+++ b/1271/CH3/EX3.6/6.txt
@@ -0,0 +1,2 @@
+ Angle of incidence = 59.999272 degree
+ Angle of refraction = 30.000728 degree
diff --git a/1271/CH3/EX3.6/example3_6.sce b/1271/CH3/EX3.6/example3_6.sce
new file mode 100755
index 000000000..337c39d9f
--- /dev/null
+++ b/1271/CH3/EX3.6/example3_6.sce
@@ -0,0 +1,9 @@
+clc
+// Given that
+mu = 1.732 // refractive index of glass
+// Sample Problem 6 on page no. 3.25
+printf("\n # PROBLEM 6 # \n")
+Ip = atan(mu) * (180 / %pi) // by Brewster's law
+r = 90 - Ip// calculation for angle of refraction
+printf("Standard formula used \n mu=tan(Ip)\n")
+printf("\n Angle of incidence = %f degree\n Angle of refraction = %f degree",Ip,r)