summaryrefslogtreecommitdiff
path: root/3834/CH2/EX2.2.3/Ex2_2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3834/CH2/EX2.2.3/Ex2_2_3.sce')
-rw-r--r--3834/CH2/EX2.2.3/Ex2_2_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3834/CH2/EX2.2.3/Ex2_2_3.sce b/3834/CH2/EX2.2.3/Ex2_2_3.sce
new file mode 100644
index 000000000..1a62904ff
--- /dev/null
+++ b/3834/CH2/EX2.2.3/Ex2_2_3.sce
@@ -0,0 +1,15 @@
+//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 2.2.3
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+n1=1.6;//refractive index in glass rod
+n2=1;//refractive index of air
+thetha2=90;//angle of refraction in degrees
+
+v=n2/n1;
+thethac=asind(v);//critical incident angle in degrees
+mprintf("the critical incident angle=%.2f degrees ",thethac);