summaryrefslogtreecommitdiff
path: root/551/CH14/EX14.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /551/CH14/EX14.4
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 '551/CH14/EX14.4')
-rwxr-xr-x551/CH14/EX14.4/4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/551/CH14/EX14.4/4.sce b/551/CH14/EX14.4/4.sce
new file mode 100755
index 000000000..ae0563c4d
--- /dev/null
+++ b/551/CH14/EX14.4/4.sce
@@ -0,0 +1,13 @@
+clc
+T1=293; //K
+T2=265; //K
+T0=273; //K
+L=335; //Latent heat of ice in kJ/kg
+cpw=4.18;
+
+COP=T2/(T1-T2);
+Rn=cpw*(T1-T0)+L;
+m_ice=COP*3600/Rn;
+disp("ice formed per kWh =")
+disp(m_ice)
+disp("kg") \ No newline at end of file