blob: c9bf4c61ef976caadb5a5004f7d0cdb49446a8d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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)
|