summaryrefslogtreecommitdiff
path: root/2183/CH3/EX3.3.a/Ex_3_3_a.sce
blob: de47f9c92d19c3ab71d2bc9513b31e7c8a27af21 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Example 3.3.a:insertion loss
clc;
clear;
close;
n12=1.5;//refractive index
y=5;//lateral misalignment in micro meter
a2=50;//dia in micro meter
nlat=((16*n12^2)/(%pi*(1+n12)^4))*((2*acos(y/a2))-(y/a2)*sqrt(1-(y/a2)^2));//
loss=-10*log10(nlat);//loss in dB
disp(loss,"insertion loss in dB is")
//answer is wrong in the textbook