Re: re-grouping expressions in mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg102993] Re: [mg102978] re-grouping expressions in mathematica
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 3 Sep 2009 07:27:17 -0400 (EDT)
- Reply-to: hanlonr at cox.net
q1 = 3 (2 + 4 a + 5 b) + 5 (a - 0.4 b); Collect[q1, a] 17 a+13. b+6 Collect[q1, b] 17 a+13. b+6 Collect[q1, {a, b}] 17 a+13. b+6 Bob Hanlon ---- Peter Schreiber <schreiber.peter15 at gmail.com> wrote: ============= 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