diff options
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)
|