summaryrefslogtreecommitdiff
path: root/1655/CH2/EX2.5.1/Example_2_5_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1655/CH2/EX2.5.1/Example_2_5_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1655/CH2/EX2.5.1/Example_2_5_1.sce')
-rwxr-xr-x1655/CH2/EX2.5.1/Example_2_5_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1655/CH2/EX2.5.1/Example_2_5_1.sce b/1655/CH2/EX2.5.1/Example_2_5_1.sce
new file mode 100755
index 000000000..37160c0bf
--- /dev/null
+++ b/1655/CH2/EX2.5.1/Example_2_5_1.sce
@@ -0,0 +1,12 @@
+// Example 2.5.1 page 2.17
+
+clc;
+clear;
+
+NA = 0.45 //Numerical aperture
+betaB = 45 // Skew ray change direction by 90 degree at each reflection
+
+Meridional_theta = asind(NA); //computing acceptacne angle for meridoinal ray
+Skew_theta = asind(NA/cosd(betaB)); //computing acceptacne angle for skew ray
+
+printf("\nAcceptacne angle for Meridoinal ray is %.2f degree.\nAcceptance angle for Skew ray %.1f degree.",Meridional_theta,Skew_theta);