summaryrefslogtreecommitdiff
path: root/1061/CH2/EX2.10/Ex2_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1061/CH2/EX2.10/Ex2_10.sce')
-rwxr-xr-x1061/CH2/EX2.10/Ex2_10.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1061/CH2/EX2.10/Ex2_10.sce b/1061/CH2/EX2.10/Ex2_10.sce
new file mode 100755
index 000000000..3fd8be472
--- /dev/null
+++ b/1061/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,10 @@
+//Ex:2.10
+clc;
+clear;
+close;
+n1=1.50;// core refractive index
+n2=(99/100)*1.50;// cladding refractive index
+x_c=(asin(n2/n1))*180/%pi;// critical angle in degree
+n_m=sqrt(n1^2-n2^2);// numerical aperture
+printf("critical angle = %f degree",x_c);
+printf("\n numerical aperture = %f",n_m); \ No newline at end of file