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 /2175/CH4/EX4.6/4_6.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 '2175/CH4/EX4.6/4_6.sce')
-rwxr-xr-x | 2175/CH4/EX4.6/4_6.sce | 19 |
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)
|