summaryrefslogtreecommitdiff
path: root/1775/CH6/EX6.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1775/CH6/EX6.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1775/CH6/EX6.2')
-rwxr-xr-x1775/CH6/EX6.2/Chapter6_Example2.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1775/CH6/EX6.2/Chapter6_Example2.sce b/1775/CH6/EX6.2/Chapter6_Example2.sce
new file mode 100755
index 000000000..014616dfc
--- /dev/null
+++ b/1775/CH6/EX6.2/Chapter6_Example2.sce
@@ -0,0 +1,30 @@
+//Chapter-6, Illustration 2, Page 309
+//Title: Refrigeration cycles
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+TL=268;//Low temperature in K
+TH=293;//High temperature in K
+t=24;//time in hrs
+C=2100;//Capacity of refrigerator in kJ/s
+Tw=10;//Water temperature in oC
+L=335;//Latent heat of ice in kJ/kg
+
+//CALCULATIONS
+COP=TL/(TH-TL);//Co-efficient of performance
+Pmin=C/COP;//Minimum power required in kW
+Qr=(4.187*(Tw-0))+L;//Heat removed from water in kJ/kg
+m=C/Qr;//mass of ice formed in kg/s
+W=(m*t*3600)/1000;//Weight of ice formed in tons
+
+//OUTPUT
+mprintf('Minimum power required is %3.2f kW \n Weight of ice formed in 24 hours is %3.2f tons',Pmin,W)
+
+
+
+
+
+
+//==============================END OF PROGRAM=================================