summaryrefslogtreecommitdiff
path: root/1061/CH2/EX2.14/Ex2_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1061/CH2/EX2.14/Ex2_14.sce')
-rwxr-xr-x1061/CH2/EX2.14/Ex2_14.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1061/CH2/EX2.14/Ex2_14.sce b/1061/CH2/EX2.14/Ex2_14.sce
new file mode 100755
index 000000000..74d89cac9
--- /dev/null
+++ b/1061/CH2/EX2.14/Ex2_14.sce
@@ -0,0 +1,11 @@
+//Ex:2.14
+clc;
+clear;
+close;
+n1=1.46;// core refractive index
+dl=0.01;// index difference
+n_2=n1-(n1*dl);// cladding refractive index
+x_c=(asin(n_2/n1))*180/%pi;// critical angle in degree
+n_m=sqrt(n1^2-n_2^2);// numerical aperture
+printf("critical angle = %f degree",x_c);
+printf("\n numerical aperture = %f",n_m); \ No newline at end of file