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 --- 1619/CH1/EX1.9.3/Example1_9_3.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1619/CH1/EX1.9.3/Example1_9_3.sce (limited to '1619/CH1/EX1.9.3') diff --git a/1619/CH1/EX1.9.3/Example1_9_3.sce b/1619/CH1/EX1.9.3/Example1_9_3.sce new file mode 100755 index 000000000..9688ade5f --- /dev/null +++ b/1619/CH1/EX1.9.3/Example1_9_3.sce @@ -0,0 +1,16 @@ +//Example 1.9.3 page 1.23 +// To calculate RI of core and cladding.. + +clc; +clear; + +NA = 0.35; //Numerical Aperture +del = 0.01; +//NA= n1*(sqrt(2*del) n1 is RI of core +n1 = 0.35/(sqrt(2*del)); +printf('The RI of core is %.4f',n1); + +// Numerical Aperture is also given by +// NA = sqrt(n1^2 - n2^2) // n2 is RI of cladding +n2 = sqrt((n1^2-NA^2)); +printf('\n\nThe RI of Cladding %.3f',n2); -- cgit