Formulas you need when working with AMMs

a collection of formuals you need when working with AMMs; please let us know if we missed some