diff options
Diffstat (limited to '1061/CH2/EX2.15')
-rwxr-xr-x | 1061/CH2/EX2.15/Ex2_15.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1061/CH2/EX2.15/Ex2_15.sce b/1061/CH2/EX2.15/Ex2_15.sce new file mode 100755 index 000000000..eeca7fb38 --- /dev/null +++ b/1061/CH2/EX2.15/Ex2_15.sce @@ -0,0 +1,14 @@ +//Ex:2.15
+clc;
+clear;
+close;
+n1=1.50;// core refractive index
+n2=1.45;// cladding refractive index
+x_c=(asin(n2/n1))*180/%pi;// critical angle in degree
+n_m=sqrt(n1^2-n2^2);// numerical aperture
+x_a=(asin(n_m))*180/%pi;// acceptance angle in degree
+n_c=(n_m)^2*100;// percentage of light
+printf("critical angle=%f degree",x_c);
+printf("\n acceptance angle=%f degree",x_a);
+printf("\n numerical aperture=%f",n_m);
+printf("\n percentage of light=%f%%",n_c);
\ No newline at end of file |