summaryrefslogtreecommitdiff
path: root/3878/CH18/EX18.2/Ex18_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3878/CH18/EX18.2/Ex18_2.sce')
-rw-r--r--3878/CH18/EX18.2/Ex18_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3878/CH18/EX18.2/Ex18_2.sce b/3878/CH18/EX18.2/Ex18_2.sce
new file mode 100644
index 000000000..0f0408181
--- /dev/null
+++ b/3878/CH18/EX18.2/Ex18_2.sce
@@ -0,0 +1,12 @@
+clear
+// Variable declaration
+T_1=22// °C
+T_2=1// °C
+C_p=3.1// The specific heat capacity of meat in kJ/kg.K
+m=8*10**3// The mass of meat in kg
+t=14*3600// The time available for cooling in s
+
+// Calculation
+Q=(m*((C_p*(T_1-T_2))))/t// The cooling load in kW
+printf("\n The cooling load,Q=%2.1f kW.",Q)
+