From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 848/CH3/EX3.4/Example3_4.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 848/CH3/EX3.4/Example3_4.sce (limited to '848/CH3/EX3.4/Example3_4.sce') diff --git a/848/CH3/EX3.4/Example3_4.sce b/848/CH3/EX3.4/Example3_4.sce new file mode 100755 index 000000000..0813895d0 --- /dev/null +++ b/848/CH3/EX3.4/Example3_4.sce @@ -0,0 +1,21 @@ +//clear// +//Caption:Program to calculate percent in decrease of number of modes +//Example 3.4 +//page 99 +clear; +clc; +alpha = 2; //graded index profile +n2 = 1.5; //cladding +Lamda = 1.3e-06; //wavelength +R = 0.01; //bend radius of curvature +a = 25e-06;// core radius +delta = 0.01; //core-cladding index profile +k = 4.83e06; //propagation constant +disp(k,'k = ') +part1 = (2*a/R)+floor((3/(2*n2*k*R))^(2/3)); +part2 = (alpha+2)/(2*alpha*delta); +Neff_Ninf = 1-part1*part2; +disp('number of modes decreased by') +disp('Percent in graded-index fiber',Neff_Ninf*100) +//RESULTS +//number of modes decreased by 50 Percent in graded-index fiber -- cgit