MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: simplify problem


"Tomasz B." wrote in article "[mg5137] simplify problem"
> How can I revers the above Operation, in this example from 
> a^2+2ab+b^2+c^2+2cd+d^2
> I want to have (a+b)^2 + (c+d)^2.  

You can use a replace repeated operator "//." as 

a^2 + 2 a b + b^2 + c^2 + 2 c d + d^2 //.

try it!
========================================================
T.Inoue 		e-mail: tatsu at ms.kagu.sut.ac.jp


  • Prev by Date: Mathematica3.0 question
  • Next by Date: Re: Break a List into Individual Elements?
  • Previous by thread: simplify problem
  • Next by thread: Re: 3.0 = Rip Roaring Resource Hog :-(