summaryrefslogtreecommitdiff
path: root/3651/CH8/EX8.9
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH8/EX8.9')
-rw-r--r--3651/CH8/EX8.9/9.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3651/CH8/EX8.9/9.sce b/3651/CH8/EX8.9/9.sce
new file mode 100644
index 000000000..63b255e22
--- /dev/null
+++ b/3651/CH8/EX8.9/9.sce
@@ -0,0 +1,12 @@
+//variable declaration
+N_a=0.3
+gamma=45
+
+//Calculations
+theta_a=asin(N_a)
+theta_as=asin((N_a)/cos(gamma))
+
+//Results
+printf('Acceptance angle, theta_a =%0.3f degrees\n',(theta_a*180/%pi))
+printf('For skew rays,theta_as %0.3f degrees\n',(theta_as*180/%pi))
+printf('//Answer given in the textbook is wrong')