Problem to be solved

*To*: mathgroup at smc.vnet.net*Subject*: [mg14097] Problem to be solved*From*: "Andre' David" <l42549 at alfa.ist.utl.pt>*Date*: Fri, 25 Sep 1998 03:15:22 -0400*Organization*: Instituto Superior Tecnico*Sender*: owner-wri-mathgroup at wolfram.com

Hi! I have been in battle for the last few days in trying to make Mathematica (3.0) do the following: Imagine I have something like ax^2+bx+c. Now I want to know how to make Mathematica return me something in the form (x+d)^2, where d depends on a, b and c. This is the simple form. In reality I am trying to determine the sigma and mu of a product of the form f_i=1/(sqrt(2 pi) sigma_i) Exp( -(x-mu_i)^2/(2 sigma_i^2) ) So I want to know what is the sigma and mu of f_1 times f_2. Now that you know it, I can also add that I tried Collect in every way, and some substituion rules. All help thanked Andre David Tinoco Mendes