HP Forums

Full Version: Hardware vs. Emulator - CAS program
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
(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.
Reference URL's