summaryrefslogtreecommitdiff
path: root/3753/CH5/EX5.5/Ex5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH5/EX5.5/Ex5_5.sce')
-rw-r--r--3753/CH5/EX5.5/Ex5_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3753/CH5/EX5.5/Ex5_5.sce b/3753/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..084842ed0
--- /dev/null
+++ b/3753/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,17 @@
+//Example 5.5, Page number 5.29
+
+clc;clear;close
+
+// variable declaration
+a=50 //unitless
+n1=1.53 //unitless
+n2=1.50 //unitless
+lamda=1 // wavelength
+
+// Calculations
+N_a=(n1**2-n2**2) // Numerical aperture
+V=((2*%pi*a)/lamda)*N_a**(1/2) // V number
+
+// Result
+printf("V number = %.2f",V)
+printf("\nmaximum no.of modes propagating through fiber = %.f",V)