summaryrefslogtreecommitdiff
path: root/2183/CH3/EX3.3.a/Ex_3_3_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '2183/CH3/EX3.3.a/Ex_3_3_a.sce')
-rwxr-xr-x2183/CH3/EX3.3.a/Ex_3_3_a.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2183/CH3/EX3.3.a/Ex_3_3_a.sce b/2183/CH3/EX3.3.a/Ex_3_3_a.sce
new file mode 100755
index 000000000..de47f9c92
--- /dev/null
+++ b/2183/CH3/EX3.3.a/Ex_3_3_a.sce
@@ -0,0 +1,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