summaryrefslogtreecommitdiff
path: root/3828/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3828/CH5/EX5.2/Ex5_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3828/CH5/EX5.2/Ex5_2.sce b/3828/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..2497c94de
--- /dev/null
+++ b/3828/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,13 @@
+//Chapter 5 : Fibre Optics
+
+clear;
+
+//Variable declaration
+n1=1.6 //core refractive index
+NA=0.2 //Numerical aperture
+
+//Calculations
+NA=(n1**2-NA**2)**0.5
+
+//Result
+mprintf("Refractive index of cladding= %f",NA)