Eutectic point and the Shreder equation

Melting of solid phases in a binary system can be described using Shreder equation (also known as Le Chatelier-Shreder equation). It is assumed that below the eutectic point the solid phases do not mix while in the liquid state the mixing of the two components is ideal. The following script calulates a binary eutectic phase diagram from temperatures and enthalpies of melting of pure components.

T2, K:
H2, kJ/mol:
T1, K:
H1, kJ/mol:

(C) V.Kocherbitov, 2015