summaryrefslogtreecommitdiff
path: root/3537/CH8/EX8.3
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH8/EX8.3')
-rw-r--r--3537/CH8/EX8.3/Ex8_3.sce11
-rw-r--r--3537/CH8/EX8.3/Ex8_3.txt3
2 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH8/EX8.3/Ex8_3.sce b/3537/CH8/EX8.3/Ex8_3.sce
new file mode 100644
index 000000000..24a93811e
--- /dev/null
+++ b/3537/CH8/EX8.3/Ex8_3.sce
@@ -0,0 +1,11 @@
+//Example 8_3
+clc();
+clear;
+//To calculate the depth of the sea and the wavelength of pulse
+v=1700 //units in meter per second
+f=0.07*10^6 //units in Hz
+t=0.65 //units in seconds
+l=(v*t)/2
+printf("The depth of the sea is %.2f meters",l)
+lemda=v/f
+printf("\n\nThe wavelength of pulse is %.3f meters",lemda)
diff --git a/3537/CH8/EX8.3/Ex8_3.txt b/3537/CH8/EX8.3/Ex8_3.txt
new file mode 100644
index 000000000..4ea8d9a39
--- /dev/null
+++ b/3537/CH8/EX8.3/Ex8_3.txt
@@ -0,0 +1,3 @@
+The depth of the sea is 552.50 meters
+
+The wavelength of pulse is 0.024 meters \ No newline at end of file