From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2837/CH10/EX10.6/Ex10_6.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2837/CH10/EX10.6/Ex10_6.sce (limited to '2837/CH10/EX10.6') 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) -- cgit