HP Forums
Define custom function in CAS - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Define custom function in CAS (/thread-9546.html)



Define custom function in CAS - melkhouly - 11-21-2017 04:00 PM

Hi all,
I have treid to define custom function in CAS but it gave an error
this is the function I am trying to use

DEFINE(‘g(X) = IFTE((X>1) AND (X<3),1,0)’)

Note: It works in the normal home,

Best Regards


RE: Define custom function in CAS - parisse - 11-21-2017 07:16 PM

g(x):=IFTE((x>1) AND (x<3),1,0)


RE: Define custom function in CAS - melkhouly - 11-22-2017 04:03 PM

Thanks