Simplifying a sum of exponentials in Maxima

  • Thread starter Thread starter aihaike
  • Start date Start date
  • Tags Tags
    Maxima Sum
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
aihaike
Messages
52
Reaction score
0
Dear all,

In order to develop in cos in sin terms and then simplify the expression

[tex] S=\left(q_{j}\cos\mathbf{k}\centerdot\mathbf{r}_{j}\right)\left(\sum_{j}^{N}q_{j}exp\mathbf{-k}\centerdot\mathbf{r}_{j}\right)-\left(q_{j}\cos\mathbf{-k}\centerdot\mathbf{r}_{j}\right)\left(\sum_{j}^{N}q_{j}exp\mathbf{k}\centerdot\mathbf{r}_{j}\right)[/tex]

I'd like to put the expression

[tex] Q=\sum_{j}^{N}q_{j}exp\mathbf{-k}\centerdot\mathbf{r}_{j}[/tex]

in a variable.

Does anyone know how to proceed ?
Thanks,

Éric.
 
Physics news on Phys.org