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 --- 617/CH9/EX9.10/Example9_10.sci | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 617/CH9/EX9.10/Example9_10.sci (limited to '617/CH9/EX9.10') diff --git a/617/CH9/EX9.10/Example9_10.sci b/617/CH9/EX9.10/Example9_10.sci new file mode 100755 index 000000000..7713dbf7b --- /dev/null +++ b/617/CH9/EX9.10/Example9_10.sci @@ -0,0 +1,27 @@ +clc(); +clear; + +// To calculate the terminal temperature of oil and water + +To1=160; // inlet temperature of oil in degF +Cpo=0.5; // Specific heat capacity in Btu/lb-degf +Tw1=60; // Inlet temperature of water in degF +mo=1000; // Mass flow rate of oil in lb/hr +mw=2500; // Mass flow rate of water in lb/hr +Cpw=1; // Heat capacity of water in Btu/hr +X=mo*Cpo/(mw*Cpw); // Ratio of flow rates +UA=1.15*mo*Cpo; +B=UA/mo*Cpo; + +// from the graph, we can locate the point of A and B And corresponding effectiveness ratio +E=0.86; // Effectiveness ratio +To2=To1-E*(To1-Tw1); // Outlet temperature of oil in degF +printf("The outlet temperature of oil is %d degF \n",To2); + +q=mo*Cpo*(To1-To2); // Heat transferred in Btu/hr +Tw2=Tw1+(q/(mw*Cpw)); // Outlet temperature of oil in degF +printf(" The outlet tempearture of water is %.1f degF",Tw2); + + + + \ No newline at end of file -- cgit