diff options
Diffstat (limited to '3869/CH5/EX5.17/Ex5_17.sce')
-rw-r--r-- | 3869/CH5/EX5.17/Ex5_17.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3869/CH5/EX5.17/Ex5_17.sce b/3869/CH5/EX5.17/Ex5_17.sce new file mode 100644 index 000000000..8b5f29fa0 --- /dev/null +++ b/3869/CH5/EX5.17/Ex5_17.sce @@ -0,0 +1,14 @@ +clear +// +// +// + +//Variable declaration +n1=1.53 //Core refractive index +n2=1.42 //Cladding refractive index + +//Calculation +thetac=asin(n2/n1)*180/%pi //critical angle(degrees) + +//Result +printf("\n critical angle is %0.2f degrees",thetac) |