summaryrefslogtreecommitdiff
path: root/3755/CH13/EX13.9/Ex13_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH13/EX13.9/Ex13_9.sce')
-rw-r--r--3755/CH13/EX13.9/Ex13_9.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH13/EX13.9/Ex13_9.sce b/3755/CH13/EX13.9/Ex13_9.sce
new file mode 100644
index 000000000..a292d534a
--- /dev/null
+++ b/3755/CH13/EX13.9/Ex13_9.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+delta=0.03; //relative difference
+i0=22*%pi/180; //acceptance angle(radians)
+
+//Calculations
+NA=sin(i0); //numerical aperture
+N=1-delta;
+thetac=asin(N); //critical angle(radians)
+theta_c=thetac*180/%pi ; //critical angle(degrees)
+
+//Result
+printf("\n numerical aperture is %0.3f ",NA)
+printf("\n critical angle is %0.2f degrees",theta_c)