Maxima Discret Sum: Develop & Simplify Expression

  • Thread starter Thread starter aihaike
  • Start date Start date
  • Tags Tags
    Maxima Sum
Click For Summary
SUMMARY

The discussion focuses on simplifying the expression involving cosine and sine terms in the context of a discrete sum using Maxima, a computer algebra system. Éric seeks assistance in developing the expression S, which includes terms like \( q_{j} \cos(\mathbf{k} \cdot \mathbf{r}_{j}) \) and \( Q = \sum_{j}^{N} q_{j} \exp(-\mathbf{k} \cdot \mathbf{r}_{j}) \). The goal is to store the expression for Q in a variable for further manipulation. The conversation concludes with Éric confirming that he has resolved his query.

PREREQUISITES
  • Familiarity with Maxima 5.45.0 for symbolic computation
  • Understanding of vector calculus, specifically dot products
  • Knowledge of exponential functions and their properties
  • Basic experience with algebraic manipulation of expressions
NEXT STEPS
  • Explore Maxima's variable assignment features to store expressions
  • Learn about simplifying expressions in Maxima using the 'ratsimp' function
  • Investigate the use of trigonometric identities in Maxima for further simplification
  • Study the implementation of discrete sums in Maxima for complex expressions
USEFUL FOR

Mathematicians, physicists, and engineers who are working with symbolic computation in Maxima, particularly those involved in simplifying complex expressions and performing algebraic manipulations.

aihaike
Messages
52
Reaction score
0
Dear all,

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

<br /> 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)<br />

I'd like to put the expression

<br /> Q=\sum_{j}^{N}q_{j}exp\mathbf{-k}\centerdot\mathbf{r}_{j}<br />

in a variable.

Does anyone know how to proceed ?
Thanks,

Éric.
 
Physics news on Phys.org
I got it.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
0
Views
893
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K