blob: 313acafd0ce3bf8a2e1604dfe6b4ebf840ead73b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|