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.4/example5_4.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.4/example5_4.sce')
-rwxr-xr-x | 1271/CH5/EX5.4/example5_4.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1271/CH5/EX5.4/example5_4.sce b/1271/CH5/EX5.4/example5_4.sce new file mode 100755 index 000000000..017688d16 --- /dev/null +++ b/1271/CH5/EX5.4/example5_4.sce @@ -0,0 +1,10 @@ +clc +// Given that +mu1 = 1.62 // refractive index for core +mu2 = 1.52 // refractive index for cladding +// Sample Problem 4 on page no. 5.17 +printf("\n # PROBLEM 4 # \n") +NA = sqrt(mu1^2 - mu2^2) +theta_0 = asin(NA) * (180 / %pi) +printf("\n Standard formula used \n NA = sqrt(mu1^2 - mu2^2). \n theta_0 = asin(NA) * (180 / pi). \n") +printf("\n Numerical aperture = %f. \n Maximum incidence angle = %f degree.",NA,theta_0) |