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 /1271/CH5/EX5.7/example5_7.sce | |
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 '1271/CH5/EX5.7/example5_7.sce')
-rwxr-xr-x | 1271/CH5/EX5.7/example5_7.sce | 11 |
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) |