[Maxima] Why not replace q with zero?

Dotan Cohen dotancohen at gmail.com
Thu Dec 11 12:42:34 CST 2008


I found this odd:

(%i13) sum(i,i,q,n), simpsum;
Is  q  positive, negative, or zero?

z;
                            2                  2
                           n  + n   q + (q - 1)  - 1
(%o13)                     ------ - ----------------
                             2             2
(%i14)


Why is q part of the equation if it is known to be zero? Why doesn't
Maxima simply output this:

                                     2
                                    n  + n
                                    ------
                                      2


-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü



More information about the Maxima mailing list