From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3869/CH5/EX5.19/Ex5_19.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3869/CH5/EX5.19/Ex5_19.sce (limited to '3869/CH5/EX5.19') diff --git a/3869/CH5/EX5.19/Ex5_19.sce b/3869/CH5/EX5.19/Ex5_19.sce new file mode 100644 index 000000000..3c36c6741 --- /dev/null +++ b/3869/CH5/EX5.19/Ex5_19.sce @@ -0,0 +1,14 @@ +clear +// +// +// + +//Variable declaration +n1=1.5 //Core refractive index +n2=1.3 //Cladding refractive index + +//Calculation +delta=(n1-n2)/n1 //fractional index change + +//Result +printf("\n fractional index change is %0.3f ",delta) -- cgit