Rewriting Equations in Function Form