Re: Evaluating a sum from terms generated by the Array
- To: mathgroup at smc.vnet.net
- Subject: [mg109525] Re: Evaluating a sum from terms generated by the Array
- From: Laszlo Sturmann <lschara at sonic.net>
- Date: Mon, 3 May 2010 06:12:36 -0400 (EDT)
davef wrote: > I want to evaluate a sum from a series I created using the Array > function. > > For example; I specify > > Array[((-1)^(# + 1) (x)^#)/# ! &, 3, 1 ] > > which gives me the following 3 terms of output: > > {x, -(x^2/2), x^3/6} > > Can anyone tell if and how I can turn these 3 terms into a sum to be > evaluated? > > > Apply[Plus, Array[((-1)^(# + 1) (x)^#)/#! &, 3, 1]] LS