Some mathematica help please? - MathOverflow [closed] most recent 30 from http://mathoverflow.net 2013-05-20T18:01:11Z http://mathoverflow.net/feeds/question/39649 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/39649/some-mathematica-help-please Some mathematica help please? aukm 2010-09-22T19:58:45Z 2010-09-22T20:31:09Z <p>Hello</p> <p>The output to my mathematica cell is just a long algebraic equation produced from $Solve[\%, u_{i,1+j}]$.</p> <p>{{$u_{i,1+j}\to \frac{1}{2 h^2} (-2 h^2 k f_{i,j}+2 h^2 u_{i,j}+2 b h^2 k u_{i,j}-h k u_{-1+i,j} \mu _{i,j}+h k ) $}}</p> <p>I want to collect the terms $u_{i,j}$ on the right side of this expression, but I dont know how to get a handle on the output of Solve[]. i.e I want to do something like</p> <p>$\text{Collect}\left[\%,u_{i,j}\right]$</p> <p>But here % doesn't quite do the trick. Any ideas on how I might achieve this?</p>