summaryrefslogtreecommitdiff
path: root/632/CH11/EX11.35/example11_35.sce
diff options
context:
space:
mode:
Diffstat (limited to '632/CH11/EX11.35/example11_35.sce')
-rwxr-xr-x632/CH11/EX11.35/example11_35.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/632/CH11/EX11.35/example11_35.sce b/632/CH11/EX11.35/example11_35.sce
new file mode 100755
index 000000000..e7844aba1
--- /dev/null
+++ b/632/CH11/EX11.35/example11_35.sce
@@ -0,0 +1,15 @@
+//clc()
+m = 1;//kg
+u2 = 0.5;//m/s
+u1 = 60;//m/s
+H = -3000;//kJ/kg
+//KE = (u^2)/2
+KE = ((u2 ^ 2) - (u1^2))/2000;
+g = 9.81;//m/s^2
+Z1 = 7.5;//m
+Z2 = 2;//m
+//PE = g * (Z)
+PE = g * (Z2 - Z1)/1000;
+W = 800;//kJ/kg
+Q = H + PE + KE + W;
+disp("kJ/kg",Q,"Heat removed from the fluid = ") \ No newline at end of file