The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
program gives different answer in Home and CAS
12-04-2021, 06:19 PM
Post: #1
program gives different answer in Home and CAS
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
program gives different answer in Home and CAS - roadrunner - 12-04-2021 06:19 PM



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