diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2216/CH2/EX2.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2216/CH2/EX2.1')
-rwxr-xr-x | 2216/CH2/EX2.1/ex_2_1.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2216/CH2/EX2.1/ex_2_1.sce b/2216/CH2/EX2.1/ex_2_1.sce new file mode 100755 index 000000000..cc514fbbe --- /dev/null +++ b/2216/CH2/EX2.1/ex_2_1.sce @@ -0,0 +1,23 @@ +//Example 2.1 // NA ,angles and pulse broadning +clc; +clear; +close; +format('v',9 ) +disp("part (a)") +n1=1.5;//core refrative index +n2=1.48;//claddin refractive index +a=100/2;//radius in micro meter +na=1;//air refrative index +NA=sqrt(n1^2-n2^2);//numerical aperture +disp(NA,"numerical aperture is") +disp("part (b)") +am=(asind(NA));// +tm=asind(NA/n1);// +tc=asind(n2/n1);// +disp(am,"angle in degree is (αm)") +disp(tm,"angle in degree is (Om)") +disp(tc,"angle in degree is(Φc)") +disp("part (c)") +c=3*10^8;//speed of light in m/s +dtl=((n1/n2)*(n1-n2)/c);//pulse broadning per unit length +disp(dtl,"pulse broadning per unit length in sm^-1") |