summaryrefslogtreecommitdiff
path: root/3753/CH2/EX2.10/Ex2_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH2/EX2.10/Ex2_10.sce')
-rw-r--r--3753/CH2/EX2.10/Ex2_10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3753/CH2/EX2.10/Ex2_10.sce b/3753/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..9034dad22
--- /dev/null
+++ b/3753/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,14 @@
+//Example number 2.10, Page number 2.35
+
+
+clc;clear;close
+
+// Variable declaration
+v=1500 // in m/s
+t=1.33 // in s
+
+// Calculation
+d=(v*t)/2 // in m
+
+// Result
+printf("The depth of the sea = %.1f m",d)