MathGroup Archive 2011

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

Search the Archive

Sum of powers of multiplied terms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117740] Sum of powers of multiplied terms
  • From: Chelly <chelly85086 at gmail.com>
  • Date: Wed, 30 Mar 2011 04:17:18 -0500 (EST)

I am new to Mathematica and need some help on the following:

I have a variable which has a sum of many sine terms as shown below:

x = k1^2 k2^2 e^2 Sin(phi) + k3^2 e k4^2 Sin(theta) +....

I'd like to create a table where the first element is the index of the list and the second element is the sum of the powers of the amplitude terms. In this case, I'd like it to be

{1,6},{2,5}

where the sum of powers of the first amplitude term is 2+2+2=6, and similarly for the second term it is 2+1+2=5

Thanks
Chelly


  • Prev by Date: Re: Install 8.0.1 without installing 8.0.0 first?
  • Next by Date: New lines in InputField
  • Previous by thread: Re: Filling Plots to the X-Axis for a Range of X Values
  • Next by thread: Re: Sum of powers of multiplied terms