Given that I have the following code:
points = N@Solve[{x^2 + 3 x - 1 + y - 1 == 0, 3 x - y^2 + 1 - 1 == 0}, Reals];
{x, y} /. points
Which gives me the output:
{{0.93389, -1.67382}, {0.311843, 0.967227}}
In this case, how can I remove the first curly brackets in order to obtain:
{0.93389, -1.67382}, {0.311843, 0.967227}
I tried with
Row[{x, y} /. points]
but I am missing the commas. I need this because I am trying to make a grid, that is why I need the comma.
I do not know if it is allowed to ask two questions on the same post, but, is it possible in the above case to switch automatically between NSolve and Solve?
Sequence @@ ({x, y} /. points)
? At first, it might not look as if it was what you are looking for, but it becomes clearer when you evaluatebla[Sequence @@ ({x, y} /. points)]
... You may look upApply
in order to learn why it works. $\endgroup$ – Henrik Schumacher Jan 29 '18 at 23:53NSolve
and whenSolve
? $\endgroup$ – Henrik Schumacher Jan 29 '18 at 23:56Row[{x, y} /. points, ","]
? $\endgroup$ – user1066 Jan 30 '18 at 0:44