summaryrefslogtreecommitdiff
path: root/1457/CH4/EX4.44/4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1457/CH4/EX4.44/4_4.sce')
-rwxr-xr-x1457/CH4/EX4.44/4_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1457/CH4/EX4.44/4_4.sce b/1457/CH4/EX4.44/4_4.sce
new file mode 100755
index 000000000..7f3378b35
--- /dev/null
+++ b/1457/CH4/EX4.44/4_4.sce
@@ -0,0 +1,9 @@
+clc
+//Initialization of variables
+g=9810 //N/m^3
+Q=10 //m^3/s
+H=20 //m
+//calculations
+Rate=g*Q*H/1000
+//results
+printf("Rate of energy loss = %d kW",Rate-2)