Take the tour ×  So I'm not sure if I'm right here but I can
try:  So we are having a statistics class at uni. The question
is:  $x_{1}= 5$, $x_{2}= 3$, $x_{3}= 7$  $y_{1}= 6$, $y_{2}= 4$,
$y_{3}= 12$  Calculate following:  $\sum_{i=2}^{3}(x_{i}+y_{i})
=$  I know it's actually quit trivial to calculate this by hand
but I would really like to know how I can calculate such stuff
using wxmaxima.  Can anybody help me?  share|improve this
question add comment  1 Answer  up vote 2 down vote accepted
(Give a man a fish)    sum(x[i]+y[i], i, 2, 3);  (Teach a man to
fish ;)  At the wxmaxima command line, type describe(sum) or
example(sum)  (The parenthetical remarks refer to an old saying,
my favorite version of which is, "Build a man a fire and he'll
be warm for a night. Set a man on fire and he'll be warm for the
rest of his life.")  share|improve this answer Cool, thanks
alot! I just couldn't figure out how to save the values.
(x:[5,3,7];) Did figure out this part though: sum(x[i]+y[i], i,
2, 3); but wasn't sure i