summaryrefslogtreecommitdiff
path: root/1472/CH3/EX3.5/3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1472/CH3/EX3.5/3_5.sce')
-rwxr-xr-x1472/CH3/EX3.5/3_5.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1472/CH3/EX3.5/3_5.sce b/1472/CH3/EX3.5/3_5.sce
new file mode 100755
index 000000000..e66c380f3
--- /dev/null
+++ b/1472/CH3/EX3.5/3_5.sce
@@ -0,0 +1,21 @@
+clc
+//Initialization of variables
+T1=22 //F
+T2=32 //F
+T3=40 //F
+T4=70 //F
+cps=0.501 //B/lb F
+cpw=1 //B/lb F
+Lf=143.3 //B/lb
+m=40 //lb
+cp=0.092
+mc=10
+//calculations
+Qa=cps*(T2-T1)
+Qb=Lf
+Qc=cpw*(T3-T2)
+Qe=mc*cp*(T3-T4)
+mi=-Qe/(Qa+Qb+Qc)
+//results
+printf("Extra Mass of ice required = %.3f lb ice",mi)
+