Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Easy simplification with Mathematica?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111133] Easy simplification with Mathematica?
  • From: fajar <fajar96te at yahoo.com>
  • Date: Wed, 21 Jul 2010 07:14:11 -0400 (EDT)

Hi all,

I'm new to symbolic computation.

I have this coming from previous computation:

a + b -2*c

How can I convert that expression, with Mathematica, into:

(a - c) + (b - c) ?


Another example: Given

a*b + a*c - 2*a*d + b*c - 2*b*d - 2*c*d + 3*d^2

How can I convert that expression, with Mathematica, into:

(a-d)*(b-d) + (a-d)*(c-d) + (b-d)*(c-d) ?



Thanks

Fajar


  • Prev by Date: FDTD Code or Example? (2D wave eqn, rect grid, coords x,y,t)
  • Next by Date: Re: Kolmogorov-Smirnov 2-sample test
  • Previous by thread: Re: FDTD Code or Example? (2D wave eqn, rect grid, coords x,y,t)
  • Next by thread: Re: Easy simplification with Mathematica?