summaryrefslogtreecommitdiff
path: root/2175/CH2/EX2.1/2_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2175/CH2/EX2.1/2_1.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/CH2/EX2.1/2_1.sce')
-rwxr-xr-x2175/CH2/EX2.1/2_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2175/CH2/EX2.1/2_1.sce b/2175/CH2/EX2.1/2_1.sce
new file mode 100755
index 000000000..9a128ac7a
--- /dev/null
+++ b/2175/CH2/EX2.1/2_1.sce
@@ -0,0 +1,19 @@
+clc;
+
+x=0.9;
+vg=0.1104;
+v=x*vg;
+disp("specific volume is:");
+disp("m^3/kg",v)
+
+hf=885;
+h_fg=1912;
+h=hf+x*h_fg;
+disp("specific enthalpy is:");
+disp("kJ/kg",h);
+
+uf=883;
+ug=2598;
+u=(1-x)*uf+x*ug;
+disp("specific internal energy is:");
+disp("kJ/kg",u);