summaryrefslogtreecommitdiff
path: root/551/CH4/EX4.38
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /551/CH4/EX4.38
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '551/CH4/EX4.38')
-rwxr-xr-x551/CH4/EX4.38/38.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/551/CH4/EX4.38/38.sce b/551/CH4/EX4.38/38.sce
new file mode 100755
index 000000000..0d979f9e2
--- /dev/null
+++ b/551/CH4/EX4.38/38.sce
@@ -0,0 +1,12 @@
+clc
+h1=800; //kJ/kg
+C1=5; //m/s
+h2=2520; //kJ/kg
+C2=50; //m/s
+dZ=4; //m
+g=9.81; //m/s^2
+Q=2180; //kJ/kg
+W=h1-h2+(C1^2 - C2^2)/2/1000 +dZ*g/1000+Q;
+disp("Power developed = ")
+disp(W)
+disp("kW") \ No newline at end of file