You can use the entry line or the Calculator application to specify a function with domain restrictions. For multiple domain restrictions on a function, use the piecewise() function.
In the following example, a function with a domain that is less than 2 and greater than ‑2 is specified on the entry line:
1. | From the Graph Entry/Edit menu, select Function. |
2. | Type the following on the entry line, using spaces to separate the "and" operator: |
piecewise(3,x>-2 and x<2)
3. | Tap Enter to graph the function. |