summaryrefslogtreecommitdiff
path: root/1271/CH5/EX5.7/example5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH5/EX5.7/example5_7.sce')
-rwxr-xr-x1271/CH5/EX5.7/example5_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH5/EX5.7/example5_7.sce b/1271/CH5/EX5.7/example5_7.sce
new file mode 100755
index 000000000..697820c95
--- /dev/null
+++ b/1271/CH5/EX5.7/example5_7.sce
@@ -0,0 +1,11 @@
+clc
+// Given that
+d = 0.05 // diameter of fiber in mm
+NA = 0.22 // numerical aperture
+lambda = 8.5e-4 // wavelength of light in mm
+// Sample Problem 7 on page no. 5.18
+printf("\n # PROBLEM 7 # \n")
+Vn = (%pi * d * NA) / lambda
+Mm = 0.5 * (Vn)^2
+printf("\n Standard formula used \n Vn = (pi * d * NA) / lambda. \n Mm = 0.5 * (Vn)^2. \n")
+printf("\n The normalized frequency = %f,\n number of guided in the core = %f",Vn,Mm)