Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1328

Re: Series holding the final sum

From Peter Pein <petsie@dordos.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Series holding the final sum
Date 2011-03-31 09:02 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <in1fuf$4ik$1@smc.vnet.net> (permalink)
References <imus1f$hu9$1@smc.vnet.net>

Show all headers | View raw


Am 30.03.2011 11:10, schrieb Jon Joseph:
> All:  Given the following sum:
>
> Sum[(-1)^(n + 2) x^(2 n + 1)/(2 n + 1), {n, 0, 5}]
>
> which generates:
>
> x - x^3/3 + x^5/5 - x^7/7 + x^9/9 - x^11/11
>
> I would like to replace x with -1 (%/.x->-1) without the sum being evaluated so I end up with
>
> -1+1/3-1/5+1/7-1/9+1/11
>
> So far I have not been able to find a way to Hold, HoldForm, Unevaluate, or Defer and keep getting -2578/3465.  Thanks. Jon=
>
  For Printing purposes
Infix[Sum[(-1)^(n(* + 2*)) x^(2 n + 1)/(2 n + 1), {n, 0, 5}] /.
    Plus -> List /. x -> -1, "+"]//TraditionalForm
might do what you want.

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Series holding the final sum Jon Joseph <josco.jon@gmail.com> - 2011-03-30 09:10 +0000
  Re: Series holding the final sum Peter Pein <petsie@dordos.net> - 2011-03-31 09:02 +0000

csiph-web