blob: e1db0b1bd3acd3497ff189645a4e0a92e0e8fa74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//initialisation
p1=1
p2=0.8
t1=25//c
t2=10//c
p=0.4
t3=61//c
t4=12//c
//calculations
p1=p*(t3-t4)
m=(t1-t2)
c=m/p1
//results
printf(' specific heat of liquid= % 1f cal/gm*c',c)
|