summaryrefslogtreecommitdiff
path: root/2175/CH2/EX2.4
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.4
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.4')
-rwxr-xr-x2175/CH2/EX2.4/2_4.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2175/CH2/EX2.4/2_4.sce b/2175/CH2/EX2.4/2_4.sce
new file mode 100755
index 000000000..4c7af3b75
--- /dev/null
+++ b/2175/CH2/EX2.4/2_4.sce
@@ -0,0 +1,20 @@
+clc;
+
+p=150;//bar
+h=3309;//kJ/kg
+
+//from tables
+hg=2611;//kJ/kg
+//hence the steam is superheated.
+
+//from table
+t=500;//C
+v=0.02078;//m^3/kg
+disp("temperature is:");
+disp("C",t);
+disp("specific volume is:");
+disp("m^3/kg",v);
+
+u=h-(p*10^5)*(v/1000);
+disp("specific internal energy is:")
+disp("kJ/kg",u)