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 /2417/CH10/EX10.1/Ex10_1.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 '2417/CH10/EX10.1/Ex10_1.sce')
-rwxr-xr-x | 2417/CH10/EX10.1/Ex10_1.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2417/CH10/EX10.1/Ex10_1.sce b/2417/CH10/EX10.1/Ex10_1.sce new file mode 100755 index 000000000..0d57bcd9f --- /dev/null +++ b/2417/CH10/EX10.1/Ex10_1.sce @@ -0,0 +1,20 @@ +//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 10.1\n\n\n");
+// Chapter 10 : Refrigeration
+// Problem 10.1 (page no. 503)
+// Solution
+
+T1=70+460; //70F=70+460 R //Energy flows into the system at reservoir at constant temperature T1(unit:R)
+T2=32+460; //32F=32+460 R //Heat is rejected to the constant temperature T2(Unit:R)
+printf("Solution for (a),\n");
+COP=T2/(T1-T2); //Coefficient of performance
+printf("Coefficient of performance(COP) of the cycle is %f\n\n",COP);
+printf("Solution for (b),\n");
+Qremoved=1000; //Unit:Btu/min //heat removal
+WbyJ=Qremoved/COP; //The power required //Unit:Btu/min
+printf("The power required is %f Btu/min\n\n",WbyJ);
+printf("Solution for (c),\n");
+Qrej=Qremoved+WbyJ; //The rate of heat rejected to the room //Unit:Btu/min
+printf("The rate of heat rejected to the room is %f Btu/min",Qrej);
|