summaryrefslogtreecommitdiff
path: root/3740/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--3740/CH1/EX1.1/Ex1_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3740/CH1/EX1.1/Ex1_1.sce b/3740/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..b60946236
--- /dev/null
+++ b/3740/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,13 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 1.1
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+n1=1;//refractive index of air medium
+n2=1.5;//refractive index of glass medium
+
+thetaB=atand(n2/n1);//brewster angle for glass in degrees
+mprintf("Brewster Angle = %.1f degrees",thetaB);