summaryrefslogtreecommitdiff
path: root/174/CH14/EX14.4
diff options
context:
space:
mode:
Diffstat (limited to '174/CH14/EX14.4')
-rwxr-xr-x174/CH14/EX14.4/example14_4.sce26
-rwxr-xr-x174/CH14/EX14.4/example14_4.txt3
2 files changed, 29 insertions, 0 deletions
diff --git a/174/CH14/EX14.4/example14_4.sce b/174/CH14/EX14.4/example14_4.sce
new file mode 100755
index 000000000..54a10c137
--- /dev/null
+++ b/174/CH14/EX14.4/example14_4.sce
@@ -0,0 +1,26 @@
+// To find elapsed time
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 14-4 in Page 401
+
+
+clear; clc; close;
+
+// Given data
+n = 1.55; //index of refraction
+c = 3*10^8; //speed of light in m/s
+d = 1.4*10^3; //Distance in m
+
+//Calculations
+v = c/n;
+t = d/v;
+printf("t = %0.1e s",t);
+disp('Since twice the time to reach the break is required for the reflection to arrive at the reflectometer,' )
+printf("Hence the total elapsed time = %0.3e s",2*t);
+
+//Result
+// t = 7.2e-006 s
+// Since twice the time to reach the break is required for the reflection to arrive at the reflectometer,
+// Hence the total elapsed time = 1.447e-005 s
diff --git a/174/CH14/EX14.4/example14_4.txt b/174/CH14/EX14.4/example14_4.txt
new file mode 100755
index 000000000..df1db212a
--- /dev/null
+++ b/174/CH14/EX14.4/example14_4.txt
@@ -0,0 +1,3 @@
+t = 7.2e-006 s
+ Since twice the time to reach the break is required for the reflection to arrive at the reflectometer,
+Hence the total elapsed time = 1.447e-005 s