Post Reply 
program gives different answer in Home and CAS
12-05-2021, 02:02 AM
Post: #2
RE: program gives different answer in Home and CAS
(12-04-2021 06:19 PM)roadrunner Wrote:  With the Function App active, this program:

PHP Code:
EXPORT TANGENT()
BEGIN
 LOCAL f
sf;
 
"X^2-2*X+3"▶F1;
 
EXPR("F"+1)▶f;
 
diff(f,'X',1)▶sf;
 RETURN 
sf;
END

when run from Home returns the correct answer, 2*X-2. The same program when run from CAS returns 0. This is on the emulator running version 2.1.14592

Oddly enough on the handheld running version 2.1.14588 it works correctly in Home and CAS.

Can anyone tell me what is wrong?

-road

Expecting consistency from the Prime was the major error here...

Noted with sadness...

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: program gives different answer in Home and CAS - rprosperi - 12-05-2021 02:02 AM



User(s) browsing this thread: 3 Guest(s)