Wolfram Alpha != HP Prime CAS result: who is wrong?
|
06-04-2024, 01:08 AM
(This post was last modified: 06-04-2024 01:56 AM by robve.)
Post: #1
|
|||
|
|||
Wolfram Alpha != HP Prime CAS result: who is wrong?
On Wolfram Alpha:
\( \sum_{k=0}^n k=\frac12n(n+1) \) but it also says that: \( \sum_{k=0}^{-10} k=0 \) which surprised me, because the sign of \( n \) should not matter. What am I doing wrong here? HP Prime CAS: \( \sum_{k=0}^{-10}k=45 \) which checks out \( \frac12(-10)(-10+1)=45 \) So Wolfram Alpha thinks that \( \sum_{k=0}^{-10}k=0 \) is a so-called zero-trip loop? s=0; for (k=0; k<-10; ++k) s += k; A couple of years ago, I spoke with a founder of Maple at a conference about similar problems and differences with program code as we were translating algebraic formulas in Prolog notation to FORTRAN to implement and run numerical solutions, and we knew these things can bite you. Their explanations of algebraic identities made sense back then and still do. - Rob "I count on old friends to remain rational" |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Wolfram Alpha != HP Prime CAS result: who is wrong? - robve - 06-04-2024 01:08 AM
RE: Wolfram Alpha != HP Prime CAS result: who is wrong? - Thomas Klemm - 06-04-2024, 01:45 AM
RE: Wolfram Alpha != HP Prime CAS result: who is wrong? - robve - 06-04-2024, 01:56 AM
RE: Wolfram Alpha != HP Prime CAS result: who is wrong? - Albert Chan - 06-04-2024, 11:48 AM
RE: Wolfram Alpha != HP Prime CAS result: who is wrong? - robve - 06-04-2024, 02:39 PM
RE: Wolfram Alpha != HP Prime CAS result: who is wrong? - Albert Chan - 06-04-2024, 04:39 PM
|
User(s) browsing this thread: 1 Guest(s)