The built-in example
Du skriver inn
- Linjer
- (1, 3]; [-2, 0); [5/2, 5/2]
Du får
- Rader
- hollow at 1, filled at 3; hul sirkel ved −2, fylt sirkel ved 4; ett utfylt punkt ved 2,5
- Skala
- omtrent −6,08 til 5,08
The fraction 5/2 is placed at 2.5. An interval whose two ends are the same and both closed is shown as a single point.
Kjørt med verktøyets egen kode.
Rays that go on forever
Du skriver inn
- Linjer
- (-∞, 3]; [0, ∞)
Du får
- Rader
- arrow to the left, filled circle at 3; filled circle at 0, arrow to the right
An infinite end is drawn as an arrow at the edge of the picture. The infinity side must use a round bracket, so [0, ∞] is rejected.
Kjørt med verktøyets egen kode.
Entries that are refused
Du skriver inn
- Linjer
- (3, 1); (2, 2); x > 3
Du får
- Resultat
- each one, typed on its own, gives the message: Check the interval format and endpoints.
(3, 1) is reversed and (2, 2) is empty, so they cannot be drawn. The text x > 3 is an inequality, which this tool does not read. [2, 2] on its own is allowed and gives a point.
Kjørt med verktøyets egen kode.
Two intervals, two separate rows
Du skriver inn
- Linjer
- [-5, -1); (−2, 4]
Du får
- Rader
- filled at -5, hollow at -1; hollow at -2, filled at 4
- Skala
- about -6.08 to 5.08
The same scale is used for both rows, so you can compare them by eye. They are not merged: the tool does not show where they overlap as one new interval.
Kjørt med verktøyets egen kode.