[math-fun] Mathematica help: formula manipulation