summaryrefslogtreecommitdiff
path: root/3638/CH18/EX18.3/Ex18_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3638/CH18/EX18.3/Ex18_3.sce')
-rw-r--r--3638/CH18/EX18.3/Ex18_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3638/CH18/EX18.3/Ex18_3.sce b/3638/CH18/EX18.3/Ex18_3.sce
new file mode 100644
index 000000000..be96f1e77
--- /dev/null
+++ b/3638/CH18/EX18.3/Ex18_3.sce
@@ -0,0 +1,13 @@
+//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 18.3
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+L=100;//Length of sensing element in m
+DeltaP=2e-5;//Threshold of hearing in Pa
+S=3.4e-4;//Sensitivity of element in rad/Pa/m
+
+DeltaPhi=S*DeltaP*L;//Corresponding change in phase in rad
+mprintf("\n DeltaPhi=%.1e rad",DeltaPhi);