diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /555/CH6/EX6.2/2.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '555/CH6/EX6.2/2.sce')
-rw-r--r-- | 555/CH6/EX6.2/2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/555/CH6/EX6.2/2.sce b/555/CH6/EX6.2/2.sce new file mode 100644 index 000000000..a9e4917f1 --- /dev/null +++ b/555/CH6/EX6.2/2.sce @@ -0,0 +1,15 @@ +// Implementation of example 6.2
+// Basic and Applied Thermodynamics by P.K.Nag
+
+clc
+clear
+
+//Temperature T, Rate of heat transfer Q, Power W
+T1 = 30+273;//K
+T2 = -15+273;//K
+Q2 = 1.75;//kJ/s
+//For minimum power requirement
+Q1 = Q2*T1/T2;
+W = Q1 - Q2;
+printf('Least power necessary to pump the heat continuously is %0.2f kW',W);
+// end
\ No newline at end of file |