summaryrefslogtreecommitdiff
path: root/2175/CH4/EX4.4/4_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2175/CH4/EX4.4/4_4.sce
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 '2175/CH4/EX4.4/4_4.sce')
-rwxr-xr-x2175/CH4/EX4.4/4_4.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2175/CH4/EX4.4/4_4.sce b/2175/CH4/EX4.4/4_4.sce
new file mode 100755
index 000000000..023586ada
--- /dev/null
+++ b/2175/CH4/EX4.4/4_4.sce
@@ -0,0 +1,18 @@
+clc;
+s1=5.615;//kJ/kg K
+t1=311;//C
+t2=300;//C
+t3=350;//C
+s2=7.124+(t1-t2)/(t3-t2)*(7.301-7.124);
+
+T=t1+273;//K
+Q=T*(s2-s1);
+disp("heat supplied is:");
+disp("kJ/kg",Q)
+
+u1=2545;//kJ/kg
+u2=2794+(t1-t2)/(t3-t2)*(2875-2794);
+
+W=(u2-u1)-Q
+disp("work done by the steam is:");
+disp("kJ/kg",-W)