diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /551/CH4/EX4.55/55.sce | |
download | Scilab-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.55/55.sce')
-rwxr-xr-x | 551/CH4/EX4.55/55.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/551/CH4/EX4.55/55.sce b/551/CH4/EX4.55/55.sce new file mode 100755 index 000000000..a6e182780 --- /dev/null +++ b/551/CH4/EX4.55/55.sce @@ -0,0 +1,21 @@ +clc
+p1=5.5*10^5; //Pa
+x1=1;
+p2=0.75*10^5; //Pa
+v1=0.3427; //m^3/kg
+v2=p1*v1/p2;
+// Since v2 > vg (at 0.75 bar), therefore, the steam is superheated at state 2.
+u2=2567.25; //kJ/kg
+u1=2565; //kJ/kg
+du=u2-u1; //kJ/kg
+C=p1*v1;
+
+disp("Work done = ")
+W=integrate('C/v', 'v', v1,v2)
+disp("N-m/kg")
+
+
+disp("Heat supplied = ")
+Q=du+W/10^3;
+disp(Q)
+disp("kJ/kg")
\ No newline at end of file |