summaryrefslogtreecommitdiff
path: root/3537/CH8/EX8.3/Ex8_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH8/EX8.3/Ex8_3.sce')
-rw-r--r--3537/CH8/EX8.3/Ex8_3.sce11
1 files changed, 11 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)