diff options
Diffstat (limited to '1571/CH3/EX3.5')
-rwxr-xr-x | 1571/CH3/EX3.5/Chapter3_Example5.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1571/CH3/EX3.5/Chapter3_Example5.sce b/1571/CH3/EX3.5/Chapter3_Example5.sce new file mode 100755 index 000000000..313acafd0 --- /dev/null +++ b/1571/CH3/EX3.5/Chapter3_Example5.sce @@ -0,0 +1,17 @@ +clc
+clear
+
+//INPUT DATA
+h=150;//height froom which ball fallen in ft
+cp=0.03;//specific heat of lead in kj/kg-K
+J=778;//mechanical equivalent of heat in ft lb/B.Th.U
+
+//CALCULATIONS
+//assume m be the mass of the lead
+//work done in falling through 160 feet in ft-lb w=160*m
+//heat absorbed by the ball in B.Th.U h=m*cp*T
+//work done in falling is equal to heat absorbed by the ball
+T=160/(J*cp)*(5/9);//the raise in temperature in T
+
+//OUTPUT
+mprintf('the raise in temperature is %3.1f deg.C',T)
|