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.4/Ex10_4.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.4/Ex10_4.sce')
-rwxr-xr-x | 2417/CH10/EX10.4/Ex10_4.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2417/CH10/EX10.4/Ex10_4.sce b/2417/CH10/EX10.4/Ex10_4.sce new file mode 100755 index 000000000..8849350a7 --- /dev/null +++ b/2417/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,20 @@ +//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 10.4\n\n\n");
+// Chapter 10 : Refrigeration
+// Problem 10.4 (page no. 506)
+// Solution
+
+COP=4.5; //Coefficient of performance //From problem 10.1
+HPperTOR=4.717/COP; //Horsepower per ton of refrigeration //Unit:hp/ton
+Qremoved=1000; //Unit:Btu/min //From problem 10.1
+//1000 Btu/min /200 Btu/min ton = 5 tons of refrigeration
+HPrequired=HPperTOR*5; //The horsepower required //unit:hp
+printf("The horsepower required is %f hp\n",HPrequired);
+//In problem 10.1, 77.2 Btu/min was required
+printf("The power required is %f hp\n",77.2*778*inv(33000)); //1 Btu=778 ft*lbf //1 min*hp = 33000 ft*lbf
+//The ratio of the power required in each problem is the same as the inverse ratio of the COP value
+//Therefore,
+printf("The power required is %f hp\n",(COP/12.95)*HPrequired); //COP(in problem 10.1)=12.95
+printf("This checks our results")
|