summaryrefslogtreecommitdiff
path: root/2175/CH4/EX4.6
diff options
context:
space:
mode:
Diffstat (limited to '2175/CH4/EX4.6')
-rwxr-xr-x2175/CH4/EX4.6/4_6.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2175/CH4/EX4.6/4_6.sce b/2175/CH4/EX4.6/4_6.sce
new file mode 100755
index 000000000..0b2861a68
--- /dev/null
+++ b/2175/CH4/EX4.6/4_6.sce
@@ -0,0 +1,19 @@
+clc;
+s1=6.091;//kJ/kg K
+s2=s1;
+sf=2.138;//kJ/kg K
+sfg2=4.448;
+x2=(s2-sf)/sfg2;
+
+uf=762;
+ug=2584;
+u2=(1-x2)*uf+x2*ug;
+
+h1=3017;
+p1=100;//bar
+v1=0.02453;//m^3
+u1=h1-p1*v1*10^5/10^3;
+
+W=u2-u1;
+disp("Work done is;")
+disp("kJ",-W)