summaryrefslogtreecommitdiff
path: root/2216/CH4/EX4.4/ex_4_4.sce
blob: 5d3d4104cb59b6fe49369a379c01099ca5c96adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Example 4.4:core diameter
clc;
clear;
close;
format('v',4)
d=0.02;//difference
n1=1.5;//core refrative index
m=1000;// number of modes
h= 1.3;// Wavelenght in micrometers
a=((h/(%pi*n1))*(m/d)^(1/2));//core diamter in micro meter
disp(a,"core diameter in micro meter")