summaryrefslogtreecommitdiff
path: root/3411/CH7/EX7.4.u1/Ex7_4_u1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3411/CH7/EX7.4.u1/Ex7_4_u1.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 '3411/CH7/EX7.4.u1/Ex7_4_u1.sce')
-rw-r--r--3411/CH7/EX7.4.u1/Ex7_4_u1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3411/CH7/EX7.4.u1/Ex7_4_u1.sce b/3411/CH7/EX7.4.u1/Ex7_4_u1.sce
new file mode 100644
index 000000000..dfde2872d
--- /dev/null
+++ b/3411/CH7/EX7.4.u1/Ex7_4_u1.sce
@@ -0,0 +1,10 @@
+//Example 7_4_u1
+clc();
+clear;
+//To calculate the numerical apperture and angle of acceptance
+n1=1.45
+n2=1.40
+NA=sqrt(n1^2-n2^2)
+printf("Numerical apperture is NA=%.3f\n",NA)
+ia=asin(NA)*180/%pi //units in degrees
+printf("Angle of acceptance is ia=%.2f Degrees",ia)