I'm looking to create an interactive region plot in Mathematica, and it's quite a complicated region (seen below).
. The variable p is actually a function of y, and it's too hard to solve analytically. How do I assign p to the NSolve function? I tried the following code (below) but I don't get a number output. But when I evaluated NSolve alone without assigning it to p I got a number output. How do I do this?
Asked
Active
Viewed 54 times
0
Dmlawton
- 29
- 2

NSolveinstead ofNsolve. Then maybe update your question. FWIW, I wouldn't name both a function and a variable by the same symbolp. -- See also this: https://mathematica.stackexchange.com/a/18706/4999. Also relevant (3175), (6669). Perhaps this, too: (15934) – Michael E2 Feb 13 '21 at 19:48