XLFRAC: a program for the interactive testing of magmatic differentiation models

Abstract
XLFRAC is a simple program which solves linear least-squares mass-balance equations, makes “subtraction diagram” calculations and can trace the composition of derivative magmas as phases are added or subtracted from an initial magma. Because the program is designed for interactive use, these calculations can be run in any order selecting the necessary data from a terminal using the results of one calculation to guide the selection of the next problem. Because of its relative simplicity and low cost to run, it has been determined useful for computer-assisted instruction as well as research projects in petrology.