From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3411/CH7/EX7.4.u1/Ex7_4_u1.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3411/CH7/EX7.4.u1/Ex7_4_u1.sce (limited to '3411/CH7/EX7.4.u1/Ex7_4_u1.sce') diff --git a/3411/CH7/EX7.4.u1/Ex7_4_u1.sce b/3411/CH7/EX7.4.u1/Ex7_4_u1.sce new file mode 100644 index 000000000..dfde2872d --- /dev/null +++ b/3411/CH7/EX7.4.u1/Ex7_4_u1.sce @@ -0,0 +1,10 @@ +//Example 7_4_u1 +clc(); +clear; +//To calculate the numerical apperture and angle of acceptance +n1=1.45 +n2=1.40 +NA=sqrt(n1^2-n2^2) +printf("Numerical apperture is NA=%.3f\n",NA) +ia=asin(NA)*180/%pi //units in degrees +printf("Angle of acceptance is ia=%.2f Degrees",ia) -- cgit