50g piecewise functions  Printable Version + HP Forums (https://archived.hpcalc.org/museumforum) + Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum1.html) + Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum2.html) + Thread: 50g piecewise functions (/thread250277.html) 
50g piecewise functions  Kurt Fankhauser  09152013 Is it possible to plot a piecewise function. I imagine that you would enter a separate Y= function for each segment, but how do you limit the domain of each function?
Also, how do you clear previous defined Y= functions? Every time I add a new one it increments the counter on it (so the latest one is displayed as Y11(x)=...). All previous functions are displayed in the CHOOS box. I want to clear them all. The CLEAR soft key only clears the functions listed in the PLOTFUNCTION window, but not the CHOOS box.
Re: 50g piecewise functions  Pier Aiello  09152013 For piecewise functions use IFTE (check best of on wiki4hp )
Reset function number from the graph menu  Pier Aiello  09152013 For the functions in the graph menu, i just found (during my mining task on discussion boards) a really similar question. I'll add it on the page previously linked :)
http://h30499.www3.hp.com/t5/Calculators/impossibletoresetfunctionsingraphmenus/tdp/5892643 Edited: 15 Sept 2013, 9:13 a.m.
Re: 50g piecewise functions  Kurt Fankhauser  09152013 Thanks Pier. I could not get the IFTE to work correctly with the Y= definition and plotting. The 50g thought for a while then gave an outofmemory error. I read of others having similar issues. Instead I found this post which suggested to multiply each segment by a logical domain relational expression: https://groups.google.com/forum/#!topic/comp.sys.hp48/ZIv5UDxWcHA/discussion
For example,
That worked for me on my 50g with version 50c revision 2.15 ROM.
Re: Reset function number from the graph menu  Kurt Fankhauser  09152013 Thanks Pier. Boy, could they have made this any more difficult?
Re: 50g piecewise functions  Pier Aiello  09162013 Good :)
Re: 50g piecewise functions  Simone Cerica  09162013 IFTE BUG is present in ROM 2.15: https://groups.google.com/forum/#!topic/comp.sys.hp48/R3Pp62J_9SM
SC
