diff options
Diffstat (limited to '3638/CH21/EX21.4/Ex21_4.sce')
-rw-r--r-- | 3638/CH21/EX21.4/Ex21_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3638/CH21/EX21.4/Ex21_4.sce b/3638/CH21/EX21.4/Ex21_4.sce new file mode 100644 index 000000000..eb99462b7 --- /dev/null +++ b/3638/CH21/EX21.4/Ex21_4.sce @@ -0,0 +1,12 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 21.4
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+va=5.96e3;//Velocity of the acoustic wave
+Lb=2e-3;//Beat length in m
+
+f=va/Lb;//Acoustic frequency in Hz for Theta=0 degrees
+mprintf("\n f=%.2f MHz",f/1e6);//Division by 10^6 to convert into MHz
|