summaryrefslogtreecommitdiff
path: root/3753/CH5/EX5.9/Ex5_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH5/EX5.9/Ex5_9.sce')
-rw-r--r--3753/CH5/EX5.9/Ex5_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3753/CH5/EX5.9/Ex5_9.sce b/3753/CH5/EX5.9/Ex5_9.sce
new file mode 100644
index 000000000..e49074771
--- /dev/null
+++ b/3753/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,16 @@
+//Example 5.9, Page number 5.30
+
+clc;clear;close
+
+// variable declaration
+N_a=0.3 // numerical aperture
+Gamma=45 // coefficient
+
+// Calculations
+theta_a=asin(N_a) // degree
+theta_as=asin((N_a)/cos(Gamma)) // degree
+
+// Results
+printf("Acceptance angle, theta_a = %.2f degrees",(theta_a*180/%pi))
+printf("\nFor skew rays,theta_as = %.2f degrees",(theta_as*180/%pi))
+// Answer given in the textbook is wrong