blob: d214dfd8951f388f9468e4e78e0d5dd6bc35952b (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialization of varaibles
T1=50+460 //R
T2=150+460 //R
m=1
cp=0.240
//calculations
ds=m*cp*(log(T2) - log(T1))
//results
printf("Change in entropy = %.4f B/ F abs",ds)
|