1
$\begingroup$

I have two variables $x$ and $y$ satisfying, say, $y^2 + x < 1$, such that $0 \le x < 1$ and $0\le y<1$. I want to plot all the points satisfying the inequality $y^2 + x < 1$ and also show the parabolic curve $y^2 + x = 1$ in the same plot. As a try, I started with table

tb = Table[x^2 + y < 1, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}],

but it did not lead to anything. Could someone kindly help?

$\endgroup$

closed as off-topic by MarcoB, JungHwan Min, m_goldberg, corey979, Coolwater Feb 2 at 17:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – MarcoB, JungHwan Min, m_goldberg, corey979, Coolwater
If this question can be reworded to fit the rules in the help center, please edit the question.

4
$\begingroup$
RegionPlot[y^2 + x <= 1, {x, 0, 1}, {y, 0, 1}]

enter image description here

You may use ContourPlot to draw just the curve:

ContourPlot[y^2 + x == 1, {x, 0, 1}, {y, 0, 1}]
$\endgroup$

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