blob: 1e0354360ddc234b0230ea75411bc678453b33ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Chapter 13 Thermodynamics Entropy and Free Energy
clc;
clear;
//Initialisation of Variables
m= 14 //gms
M= 28 //gms
R= 1.99 // cal per mole per degree
V= 30 //lit
v1= 10 //lit
//CALCULATIONS
S1= (m/M)*R*2.303*log10(V/v1)
//RESULTS
mprintf("Entropy change = %.2f E.U",S1)
|