summaryrefslogtreecommitdiff
path: root/3753/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3753/CH5/EX5.2/Ex5_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3753/CH5/EX5.2/Ex5_2.sce b/3753/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..129fe58a0
--- /dev/null
+++ b/3753/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,16 @@
+//Example 5.2, Page number 5.28
+
+clc;clear;close
+
+//variable declaration
+d=50 //diameter
+N_a=0.2 //Numerical aperture
+lamda=1 //wavelength
+
+//Calculations
+N=4.9*(((d*10**-6*N_a)/(lamda*10**-6))**2)// unitless
+
+//Result
+printf("N = %.f ",N)
+printf("\nFiber can support: %d guided modes",N)
+printf("\nIn graded index fiber, No.of modes propagated inside the fiber = %.f only",(N/2))