written formulas