MathGroup Archive 2000

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

Search the Archive

Re: Evaluating expression: help


Marco de Innocentis wrote:
> 
> I need to evaluate expressions like the following
> 
> Sum (from n = -5 to +5) q^(6*(n + 1/3)^2)*y^(12*(n + 1/3))
> 
> Is it possible to do this from Mathematica? If not,
> which other programs can be used?

Hi Marco,

Mathematica can do that:
In[]:=
Sum[ q^(6*(n + 1/3)^2)*y^(12*(n + 1/3)), {n, -5, 5}]

Out[]=
q^(392/3)/y^56 + q^(242/3)/y^44 + 
  q^(128/3)/y^32 + q^(50/3)/y^20 + q^(8/3)/y^8 + 
  q^(2/3)*y^4 + q^(32/3)*y^16 + q^(98/3)*y^28 + 
  q^(200/3)*y^40 + q^(338/3)*y^52 + q^(512/3)*y^64

Regards,
/Harald


  • Prev by Date: J/Link Examples ??
  • Next by Date: Global Optimization with Mathematica
  • Previous by thread: Evaluating expression: help
  • Next by thread: Re: Evaluating expression: help