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 /2510/CH16/EX16.22/Ex16_22.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 '2510/CH16/EX16.22/Ex16_22.sce')
-rwxr-xr-x | 2510/CH16/EX16.22/Ex16_22.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2510/CH16/EX16.22/Ex16_22.sce b/2510/CH16/EX16.22/Ex16_22.sce new file mode 100755 index 000000000..5c289d40d --- /dev/null +++ b/2510/CH16/EX16.22/Ex16_22.sce @@ -0,0 +1,19 @@ +//Variable declaration: +//From example 16.22: +t2 = 75.0 //Temperature of water leaving the shell ( F) +t1 = 35.0 //Temperature of water entering the shell ( F) +T2 = 75.0 //Temperature of oil leaving the tube ( F) +T1 = 110.0 //Temperature of oil entering the tube ( F) +U = 320.0 //Overall heat transfer coefficient (W/m^2.K) +A = 19.5 //Required heat transfer area (m^2) +Cmin = 4736.0 //Minimum capacitance rate (W/K) + +//Calculation: +DT1 = t2-t1 //Actual water temperature change ( F) +DT2 = T1 - t1 //Maximum water temperature change ( F) +E = DT1/DT2 //Effectiveness +NTU = (U*A)/Cmin //Number of transfer units + +//Result: +printf("The effectiveness is : %.3f .",E) +printf("The NTU is : %.3f",NTU) |