0
$\begingroup$

How to plot this system of equations?

enter image description here

This do not work:

enter image description here

$\endgroup$
1

1 Answer 1

2
$\begingroup$
f[x_] = Piecewise[{{-1, x <= -1}, {x, -1 < x < 0}, {x^2, x >= 0}}]

Plot[f[x], {x, -1, 10}]
$\endgroup$
2
  • $\begingroup$ Can you help me also knowing how to make the input using the { as it is shown in the top of the question? I mean, how can I input the "kind of" matrix" By default in the "special character section" appears an option 2x2 (Typographic composition section) there are shortcuts for expanding the rows and columns but they do not work correctly. And I am working on Mac so shortcuts do not work either. $\endgroup$ Commented May 19, 2019 at 16:47
  • $\begingroup$ @HaizumSkallah Ask this as a new question. $\endgroup$
    – zhk
    Commented May 19, 2019 at 16:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.