blob: eb99462b781d464c463035fe8159ac02d588c9bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
|