blob: 077284ffd3bb653c9da5b8c4230ab29b7f15b966 (
plain)
1
2
3
4
5
6
7
8
9
|
clc
//initialisation of variables
p= 4/3 //atm
p1= 1 //atm
R= 1.9872 //cal /mole K
//CALCULATIONS
S= 2*R*log(p/p1)
//RESULTS
printf (' increase in entropy= %.4f cal deg^-1',S)
|