diff options
Diffstat (limited to '3840/CH11/EX11.12/Ex11_12.sce')
-rw-r--r-- | 3840/CH11/EX11.12/Ex11_12.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3840/CH11/EX11.12/Ex11_12.sce b/3840/CH11/EX11.12/Ex11_12.sce new file mode 100644 index 000000000..6cc9f641d --- /dev/null +++ b/3840/CH11/EX11.12/Ex11_12.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +n1=1.563 //Core refractive index +n2=1.498 //Cladding refractive index + +//Calculation +NA=sqrt(n1**2-n2**2) //numerical aperture +theta0=asin(NA) //acceptance angle(radian) +theta0=theta0*180/%pi //acceptance angle(degrees) +theta0m=60*(theta0-int(theta0)) //acceptance angle(minutes) + +//Result +printf("\n numerical aperture is %0.3f ",NA) +printf("\n acceptance angle is %0.3f degrees %0.0f minutes",theta0,theta0m) +printf("\n answer for angle in minutes given in the book varies due to rounding off errors") |