Maxima Discret Sum: Develop & Simplify Expression

  • Thread starter Thread starter aihaike
  • Start date Start date
  • Tags Tags
    Maxima Sum
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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