summaryrefslogtreecommitdiff
path: root/3822/CH9/EX9.5/Ex9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3822/CH9/EX9.5/Ex9_5.sce')
-rw-r--r--3822/CH9/EX9.5/Ex9_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3822/CH9/EX9.5/Ex9_5.sce b/3822/CH9/EX9.5/Ex9_5.sce
new file mode 100644
index 000000000..44dca193c
--- /dev/null
+++ b/3822/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,17 @@
+
+//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 9.5
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+A=6.0;//measured output pattern size in cm
+D=10.0;//distance between the screen and fibre face in cm
+
+q=(A)^2;
+w=4*D^2;
+u=sqrt(q+w);
+NA=A/u;//numerical aperture
+mprintf("The numerical aperture is=%.2f",NA);