crystalequation