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 /572/CH5/EX5.3/c5_3.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 '572/CH5/EX5.3/c5_3.sce')
-rwxr-xr-x | 572/CH5/EX5.3/c5_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
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 |