summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.30/Ex1_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '3014/CH1/EX1.30/Ex1_30.sce')
-rwxr-xr-x3014/CH1/EX1.30/Ex1_30.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3014/CH1/EX1.30/Ex1_30.sce b/3014/CH1/EX1.30/Ex1_30.sce
new file mode 100755
index 000000000..d1d38596d
--- /dev/null
+++ b/3014/CH1/EX1.30/Ex1_30.sce
@@ -0,0 +1,8 @@
+clc
+//Given that
+lambda = 680 // Wavelength in m
+g = 9.8 //Acceleration due to gravity
+printf("Example 1.30")
+v_g = 1/2*sqrt(g*lambda/(2*%pi)) // Calculation of group velocity
+printf("\n Group velocity of seawater waves is %f m/s.\n\n\n",v_g)
+// Answer in book is 16.29 m/s