Here is an asurd example of a piecewise function Y1=11 for X less than 10 Y1=3 for X in the range [10, 20[ Y1=X+5 for X in the range [20, 30[ Y1=10 for X larger than 30
Here is the screen capture of the Y= editor window. You have
the definition of the function within a domain, enclosed in () followed by the domain enclosed in ()
a + to introduce the second piece (definition) (domain)
+ a third piece (definition ) (domain)
and so on.
Use the [2nd][TEST] key sequence to access the relational operators, less than, greater than, etc.
Here are two screen captures for the Y= editor and the resulting graph. Yoy have to play with the window dimension to display a clear graph. Note : 3 pluses in equation, 4 pieces in graph.
Answers & Comments
Here is an asurd example of a piecewise function
- the definition of the function within a domain, enclosed in () followed by the domain enclosed in ()
- a + to introduce the second piece (definition) (domain)
- + a third piece (definition ) (domain)
- and so on.
- Use the [2nd][TEST] key sequence to access the relational operators, less than, greater than, etc.
Here are two screen captures for the Y= editor and the resulting graph. Yoy have to play with the window dimension to display a clear graph. Note : 3 pluses in equation, 4 pieces in graph.
Y1=11 for X less than 10
Y1=3 for X in the range [10, 20[
Y1=X+5 for X in the range [20, 30[
Y1=10 for X larger than 30
Here is the screen capture of the Y= editor window.
You have
Sorry, the + in the definition of the function, (X+5) in the third interval does not count towards the number of pieces.
You can use the logical AND operator in the definition of the limits of a domain. See screen capture below.