summaryrefslogtreecommitdiff
path: root/2175/CH2/EX2.3/2_3.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.3/2_3.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.3/2_3.sce')
-rwxr-xr-x2175/CH2/EX2.3/2_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2175/CH2/EX2.3/2_3.sce b/2175/CH2/EX2.3/2_3.sce
new file mode 100755
index 000000000..fa1f5f19f
--- /dev/null
+++ b/2175/CH2/EX2.3/2_3.sce
@@ -0,0 +1,17 @@
+clc;
+
+//at 110 bar, vg=0.01598m^3/kg which is less than the actual specific volume of 0.0196m^3/kg
+//hence it is superheated
+
+v=0.0196;//m^3/kg
+p=110;//bar
+//from tables
+h=2889;//kJ/kg
+t=350;//C
+disp("temperature is:");
+disp("C",t);
+u=h-(p*10^5)*(v/1000);
+disp("enthalpy is:");
+disp("kJ/kg",u);
+disp("specific internal energy is:");
+disp("kJ/kg",u);