summaryrefslogtreecommitdiff
path: root/1271/CH3/EX3.5
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.5
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.5')
-rwxr-xr-x1271/CH3/EX3.5/5.txt1
-rwxr-xr-x1271/CH3/EX3.5/example3_5.sce10
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH3/EX3.5/5.txt b/1271/CH3/EX3.5/5.txt
new file mode 100755
index 000000000..3e97aa3cd
--- /dev/null
+++ b/1271/CH3/EX3.5/5.txt
@@ -0,0 +1 @@
+ Brewster angle = 48.437665 degree \ No newline at end of file
diff --git a/1271/CH3/EX3.5/example3_5.sce b/1271/CH3/EX3.5/example3_5.sce
new file mode 100755
index 000000000..0a615e557
--- /dev/null
+++ b/1271/CH3/EX3.5/example3_5.sce
@@ -0,0 +1,10 @@
+clc
+// Given that
+mu_w = 1.33 // refractive index of water
+mu_g = 1.5 // refractive index of glass
+// Sample Problem 5 on page no. 3.25
+printf("\n # PROBLEM 5 # \n")
+Ip = atan(mu_g / mu_w) * (180 / %pi) // calculation for Brewster angle
+printf("\n Standard formula used \n Ip = atan(mu_g / mu_w) * (180 / pi). \n")
+printf("\n Brewster angle = %f degree",Ip)
+