I tried a very simple ifte of ifte(x<0,x^2,sqrt(x))
It stalled fora ew moments and gave me an out of memory error.
I have 187k free in iram and 113k free in eram. Is that truly not enough or is there a bug in the ifte?
I'm using 2.15 which was stock on the unit I purchased in January 2011.
try the following:
(using leftshift-2 (DEF), it will create a variable f that contains <<
-> X 'IFTE(X<0,X^2,SQRT(X))' >> )
create variable g as << 'f(X)' >>
In "Y=' , let Y(X)=g and then DRAW
Or use ROM 2.09, which works just fine.
With this solution can you use the commands of the "FCN" menu on the graph?
'IFTE(X<0,X^2,\v/X)' STEQ ERASE DRAX DRAW PICTURE
Results via Emu48:
HP48GX Rom R:
HP49/50 Rom 2.10 [unreleased but genuine]
On the other hand, after this (with the same HP49/50 ROM):
\<< 'X<0' 'X^2' '\v/X' IFTE \>> STEQ ERASE DRAX DRAW PICTURE
The result is this:
In fact, the following also works fine:
\<< 'IFTE(X<0,X^2,\v/X)' \>> STEQ ERASE DRAX DRAW PICTURE
Summary: The algebraic expression 'IFTE(X<0,X^2,\v/X)'
graphs fine on HP49/50 ROM 2.10 if simply enclosed within a program;
otherwise an error occurs.
So there's a simple work-around, without "downgrading" to ROM 2.09,
which, according to another post, eliminates this one error,
at expense of whatever else was corrected in 2.10-2.15
(and your StreamSmart capability, which I'm sure you can't live without :)