![]() |
How to define piecewise functions - 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: How to define piecewise functions (/thread-273.html) |
How to define piecewise functions - jc_63 - 12-29-2013 06:16 PM 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 RE: How to define piecewise functions - Tim Wessman - 12-29-2013 06:40 PM 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. RE: How to define piecewise functions - Mark Hardman - 12-29-2013 06:41 PM (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 RE: How to define piecewise functions - jc_63 - 12-29-2013 06:53 PM Thank you for your replies, JC |