MathGroup Archive 2009

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

Search the Archive

Re: re-grouping expressions in mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102996] Re: [mg102978] re-grouping expressions in mathematica
  • From: "David Park" <djmpark at comcast.net>
  • Date: Thu, 3 Sep 2009 07:32:39 -0400 (EDT)
  • References: <30476892.1251971462962.JavaMail.root@n11>

Use Expand or Collect[q1, {a, b}] but there is also a constant term so
strictly speaking you can't get the q2 form.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Peter Schreiber [mailto:schreiber.peter15 at gmail.com] 

Hi guys,
How can I tell mathematica to re-write following expression q1 in the form
of q2?

q1=3(2+4a+5b)+5(a-0.4b)


q2=(...)a + (...)b

Best Regards,
Peter




  • Prev by Date: Re: BoxWhiskerPlot - BoxLabels and FrameTicks won't work together
  • Next by Date: Re: Bug in Solve?
  • Previous by thread: Re: re-grouping expressions in mathematica
  • Next by thread: Can I do this faster?