blob: da866f6c6d08a22ab82a6ab98ef8688cabcabe06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation
T=5+273//k
v=10^-6//m3
a=15*10^-6//k^-1
cp=1005//cal/kg/k
dp=(1000-0)*10^5//N/m2
//CALCULATIONS
q=(T*a*v*dp)/4.2
//results
printf(' \n quantity of heat given= % 1f cal',q)
|