From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3537/CH7/EX7.14/Ex7_14.sce | 8 ++++++++ 3537/CH7/EX7.14/Ex7_14.txt | 1 + 2 files changed, 9 insertions(+) create mode 100644 3537/CH7/EX7.14/Ex7_14.sce create mode 100644 3537/CH7/EX7.14/Ex7_14.txt (limited to '3537/CH7/EX7.14') diff --git a/3537/CH7/EX7.14/Ex7_14.sce b/3537/CH7/EX7.14/Ex7_14.sce new file mode 100644 index 000000000..491e6939d --- /dev/null +++ b/3537/CH7/EX7.14/Ex7_14.sce @@ -0,0 +1,8 @@ +//Example 7_14 +clc(); +clear; +//To calculate the fractional index +n1=1.563 +n2=1.498 +delta=(n1-n2)/n1 +printf("The fractional index is %.4f",delta) diff --git a/3537/CH7/EX7.14/Ex7_14.txt b/3537/CH7/EX7.14/Ex7_14.txt new file mode 100644 index 000000000..5eb312e66 --- /dev/null +++ b/3537/CH7/EX7.14/Ex7_14.txt @@ -0,0 +1 @@ +The fractional index is 0.0416 \ No newline at end of file -- cgit