Post Reply 
Hardware vs. Emulator - CAS program
10-02-2022, 12:25 AM
Post: #1
Hardware vs. Emulator - CAS program
It is me, or has the #cas/#endcas(?) disappeared in programs?

The code calculates the curvature of f(x).


Code:
EXPORT fcurve(y,x)
BEGIN
// curvature
// function
// radius = 1/curvature
LOCAL a,b;
a:=diff(y,x,2);
b:=diff(y,x,1);
RETURN ABS(a)/(1+b^2)^(3/2);
END;


Hardware: 2.1.14603 (12/2/2021)
CAS works as expected
Home works as expected as long as variables and the function are quoted

Emulator: 2.1.14596 (10/1/2021 - I didn't see an update since)
Despite purging all the variables, 0 is returned
Home works as expected as long as variables and the function are quoted


Attached File(s) Thumbnail(s)
   
Visit this user's website Find all posts by this user
Quote this message in a reply
10-02-2022, 05:29 AM (This post was last modified: 10-02-2022 05:29 AM by toml_12953.)
Post: #2
RE: Hardware vs. Emulator - CAS program
Checking the CAS: box when creating a new program no longer automatically creates a CAS template. You can put in the #cas and #endcas lines yourself and they continue to work properly.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
10-03-2022, 06:43 PM
Post: #3
RE: Hardware vs. Emulator - CAS program
(10-02-2022 05:29 AM)toml_12953 Wrote:  Checking the CAS: box when creating a new program no longer automatically creates a CAS template. You can put in the #cas and #endcas lines yourself and they continue to work properly.

It would be nice if the CAS checkbox were put back. It would also be nice to have a checkbox for a Python program where it would set up a template for the necessary wrapper function.
Find all posts by this user
Quote this message in a reply
Post Reply 




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