summaryrefslogtreecommitdiff
path: root/3638/CH21/EX21.3/Ex21_3.sce
blob: 5482ad427cae76b737cf64e35c636d23d49cb03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 21.3
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
lambdac=0.6e-6;//Wavelength in m
//Let A be perturbation of length in m
A=149.3e-6;
L=2.63e-2;//Length of the periodic waveguide in m

DeltaLambda=0.8*A*lambdac/L;//Bandwidth of the wavelength filter in m
mprintf("\n DeltaLambda= %.1f nm",DeltaLambda/1e-9);//Division by 10^(-9) to convert into nm