Posts: 260
Threads: 40
Joined: Jan 1970
The following is true:
COMB(n, 2) + n = Sum of all integers from 1 to n
i.e. if n = 5
COMB(5, 2) + 5 = 5! รท (3!*2!) + 5 = 10 + 5 = 15
and
1 + 2 + 3 + 4 + 5 = 15
However, when I input
'COMB(5,2) + 5' on one level,
and '[Capital Sigma symbol](X=1,5,X)' on the other,
and I execute the == command on the Program-Test Menu, I get a 0 as a result (incorrect result)
Both objects inputed are same type (9 - algebriac expressions?).
A bug in the 49g+ CAS perhaps.
Posts: 362
Threads: 30
Joined: Jul 2005
Strange:
In the stack I can't recreate your bug: I do:
Experssion 1 [ENTER]
Expression 2 [ENTER]
== [EVAL] I get 1.
If I put the same in a program, I get 0.
Arnaud
Posts: 1,841
Threads: 54
Joined: Jul 2005
Hi,
the 0 doesn't mean 'incorrect result'.
The result is correct, the expressions are simply not the same,
as you can easily see on the stack.
Maybe it also depends on the status of the evaluation flags,
this may be a case for RTFM;-)
Raymond
Posts: 785
Threads: 13
Joined: Jan 2005
Seems to be one of the "features of the calc
Using Approx ~ mode or reals (5.) will give the correct answer.
[VPN]
Posts: 260
Threads: 40
Joined: Jan 1970
Posts: 1,841
Threads: 54
Joined: Jul 2005
RTFM ~ Read The 'Fascinating' Manual...;-)
As VPN pointed out, the result seems to depend on either the mode,
and/or the type of arguments.
Raymond
Posts: 2,448
Threads: 90
Joined: Jul 2005
Which is actually taken as a friendly reminder or suggesttion among friends. It only shows irritation when you get to, "RTFM-41" which means, "read the "funny" manual for once!"
Another version is RTFD41 for which "D" stands for "drawing" as in mechanical drawing.
regards,
Bill