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 /2420/CH13/EX13.2 | |
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 '2420/CH13/EX13.2')
-rwxr-xr-x | 2420/CH13/EX13.2/13_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2420/CH13/EX13.2/13_2.sce b/2420/CH13/EX13.2/13_2.sce new file mode 100755 index 000000000..8f92bcb03 --- /dev/null +++ b/2420/CH13/EX13.2/13_2.sce @@ -0,0 +1,17 @@ +clc
+clear
+//Initialization of variables
+mr=3 //lb
+mj=5 //lb
+t2=67 //F
+t1=60 //lb
+ihp=7.25
+//calculations
+disp("From mollier charts,")
+h4=709 //Btu/b
+h3=618 //Btu/lb
+energyin=ihp*2545/60
+energyout=mr*(h4-h3) + mj*(t2-t1)
+//results
+printf("Energy in = %.1f Btu/min",energyin)
+printf("\n Energy out = %.1f Btu/min",energyout)
|