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 /2837/CH10/EX10.6/Ex10_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 '2837/CH10/EX10.6/Ex10_6.sce')
-rwxr-xr-x | 2837/CH10/EX10.6/Ex10_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2837/CH10/EX10.6/Ex10_6.sce b/2837/CH10/EX10.6/Ex10_6.sce new file mode 100755 index 000000000..14e556b3f --- /dev/null +++ b/2837/CH10/EX10.6/Ex10_6.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Initialization of variables
+disp("From table 1 of keenan and keynes,")
+h1=1204.8 //Btu/lb
+q=174 //Btu/lb
+//calculations
+h2=h1+q
+p2=30 //psia
+t2=720 //F
+//results
+printf("Final state of steam is %d psia and %d F",p2,t2)
+printf("\n Final enthalpy is %.1f Btu/lb",h2)
|