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 --- 572/CH5/EX5.3/c5_3.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 572/CH5/EX5.3/c5_3.sce (limited to '572/CH5/EX5.3') diff --git a/572/CH5/EX5.3/c5_3.sce b/572/CH5/EX5.3/c5_3.sce new file mode 100755 index 000000000..c9bf4c61e --- /dev/null +++ b/572/CH5/EX5.3/c5_3.sce @@ -0,0 +1,12 @@ +//(5.3) A dwelling requires 5 * 10^5 kJ per day to maintain its temperature at 22C when the outside temperature is 10C. (a) If an electric heat pump is used to supply this energy, determine the minimum theoretical work input for one day of operation, in kJ. + + +//solution + +//variable initialization +Tc = 283 //in kelvin +TH = 295 //in kelvin +QH = 5*10^5 //in kj per day + +Wcyclemin = (1-Tc/TH)*QH +printf('minimum theoretical work input for one day of operation in kj is:\n\tWmin = %e',Wcyclemin) \ No newline at end of file -- cgit