summaryrefslogtreecommitdiff
path: root/3755/CH13/EX13.6/Ex13_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH13/EX13.6/Ex13_6.sce')
-rw-r--r--3755/CH13/EX13.6/Ex13_6.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3755/CH13/EX13.6/Ex13_6.sce b/3755/CH13/EX13.6/Ex13_6.sce
new file mode 100644
index 000000000..0568b1b53
--- /dev/null
+++ b/3755/CH13/EX13.6/Ex13_6.sce
@@ -0,0 +1,19 @@
+clear
+//
+//
+//
+
+//Variable declaration
+NA=0.40; //numerical aperture
+delta=1/100; //relative difference
+
+//Calculations
+i0=asin(NA); //acceptance angle(radians)
+i0=i0*180/%pi ; //acceptance angle(degrees)
+N=1-delta;
+thetac=asin(N); //critical angle(radians)
+thetac=thetac*180/%pi ; //critical angle(degrees)
+
+//Result
+printf("\n acceptance angle is %0.1f degrees",i0)
+printf("\n critical angle is %0.1f degrees",thetac)