I have a question about using maxima. Supposing I have the following sum:
sum (i^2, i, 0, n);
\[\sum_{i=0}^{n}{i}^{2}\]
and say I use it to sum up to 4:
sum (i^2, i, 0, 4);
= 61
If I want to list all the sum terms
1 + 4 + 9 + 16
how can I do this?
makelist(i^2,i,0,4). – achille hui Jan 09 '15 at 17:51genmatrixto generate a matrix on screen. e.g$$ \begin{array}{lc} \verb/M[i,j] := i^2 + j^2;/\ \verb/genmatrix(M,3,3);/ \end{array} \quad\text{ returns }; \begin{bmatrix}2 & 5 & 10\5 & 8 & 13\10 & 13 & 18\end{bmatrix} ;\text{ on screen. } $$
– achille hui Jan 09 '15 at 19:58