No BSD License  

Highlights from
Pressure-volume isotherms for a Bragg-Williams lattice gas

image thumbnail
from Pressure-volume isotherms for a Bragg-Williams lattice gas by Housam Binous
Computes pressure-volume isotherms for a Bragg-Williams lattice gas

f=zeroBragg(x)
% Author: Housam Binous

% Pressure-volume isotherms for a Bragg-Williams lattice gas

% National Institute of Applied Sciences and Technology, Tunis, TUNISIA

% Email: binoushousam@yahoo.com

% Reference: T. L. Hill, An Introduction to Statistical Thermodynamics,
% Dover, New York, 1986.

function f=zeroBragg(x)

kTovercw=-0.2;

f(1)=1/x(1)+1/x(2)-1;
f(2)=log((x(2)-1)/(x(1)-1))-1/kTovercw*(1/x(2)-1/x(1));

end

Contact us at files@mathworks.com