HP Forums

Full Version: How to define piecewise functions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, i try to define a piecewise function in SYMB view like this :
[attachment=77]
In Plot view, i see F1(X) and F2(X) undefined :
[attachment=78]
How can i resolve this ? Thanks.
JC
Use the piecewise function. | is used for variable substitution, not domain restriction. Use a [,] key press while in the last box to add more lines.

[attachment=79]

You could also use the old standby of (2*X)/(X<5) which works on any calculator if it has a piecewise operator or not.
(12-29-2013 06:16 PM)jc_63 Wrote: [ -> ]Hello, i try to define a piecewise function in SYMB view

Try entering the PIECEWISE expression in algebraic mode:

[attachment=80]

This will get the results you are looking for:

[attachment=81]

Mark Hardman
Thank you for your replies, JC
Reference URL's