summaryrefslogtreecommitdiff
path: root/1286/CH5/EX5.4/5_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH5/EX5.4/5_4.sce')
-rwxr-xr-x1286/CH5/EX5.4/5_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1286/CH5/EX5.4/5_4.sce b/1286/CH5/EX5.4/5_4.sce
new file mode 100755
index 000000000..3836b8385
--- /dev/null
+++ b/1286/CH5/EX5.4/5_4.sce
@@ -0,0 +1,13 @@
+clc
+//initialisations
+c=1000
+t=1//c
+f=1//f
+J=4.18//j/cal
+g=9.8//m/sec2
+//CALCULATIONS
+h=c*t*J/g
+h1=h*f*5/9
+//results
+printf(' height pf waterfall to rasie 1 c= % 1f m',h)
+printf(' height of waterfall to raise 1 f= % 1f m',h1)