Re: Help on Collecting Integers
- To: mathgroup at smc.vnet.net
- Subject: [mg91804] Re: Help on Collecting Integers
- From: dh <dh at metrohm.ch>
- Date: Mon, 8 Sep 2008 05:04:00 -0400 (EDT)
- References: <g9qi9p$49e$1@smc.vnet.net>
Hi Sergio, you simply need to use "Expand": Expand[ b[4] ] hope this helps, Daniel sergio_r at mail.com wrote: > Hello Mathematica users, > > (***** > After an iterative process, I am obtaining the following expression > > a0 + b0 > ------- + c0 > a0 + b0 a0 + b0 2 > ------- + c0 ------- + ------------ > 2 2 2 > ------------ + ---------------------- > 2 2 > Out[69]= ------------------------------------- > 2 > or in its InputForm: > *********) > > b[4]=(((a0 + b0)/2 + c0)/2 + ((a0 + b0)/2 + ((a0 + b0)/2 + c0)/2)/ > 2)/2 > > (**** > In order to analyze the fractional sequence of the symbols a0, b0, and > c0 (for instance to see if the iterative process leads to a convergent > sum), I am wondering if I could use Mathematica to > Collect the terms corresponding to a0, b0, and c0 in the > form (I did this by hand from the previous expression): > > 1 1 1 1 1 1 1 1 > a0 (- + - + --) + b0 (- + - + --) + c0 (- + -) > 8 8 16 8 8 16 4 8 > > ****) > > Thanks in advance, > > Sergio > sergio_r at mail.com@mail.com > -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh at metrohm.com> Internet:<http://www.metrohm.com>