Program Design Using Metabolic Equations