In Solve output for such as:
Solve[r^2 - 6 r - 3 s^2 + 8 s Sqrt[r] == 0 && 0 < s < 1, r, Reals]
Where in the documentation do I learn how to read the output?
In Solve output for such as:
Solve[r^2 - 6 r - 3 s^2 + 8 s Sqrt[r] == 0 && 0 < s < 1, r, Reals]
Where in the documentation do I learn how to read the output?
without testing the code generally Solve gives you an answer in the form of list with i entries like {r-> x1, r-> x2} depending in your case how many i Real answers there are...based on your condition...If you write ?Solve you’ll get a snippet of the documentation for that command...and the >>will take you directly to the documentation itself.
Region[ImplicitRegion[
r^2 - 6 r - 3 s^2 + 8 s Sqrt[r] == 0 && 0 < s < 1, {r, s}],
FrameLabel -> {"r", "s"}, Frame -> True, AspectRatio -> 1]
Note I am using <=
RegionPlot[
r^2 - 6 r - 3 s^2 + 8 s Sqrt[r] <= 0 && 0 < s < 1, {s, 0.001,
0.999}, {r, 0, 7}, FrameLabel -> Automatic]
val=Table[Join @@ {{s},
Flatten@Values@
NSolve[r^2 - 6 r - 3 s^2 + 8 s Sqrt[r] == 0 && 0 < s < 1, r,
Reals]}, {s, 1/100, 1, 1/100}] // Most
To get an insight of the solution variety you can use
ContourPlot[r^2 - 6 r - 3 s^2 + 8 s Sqrt[r] == 0, {s, 0, 1}, {r, -1, 6},
MaxRecursion -> 4, FrameLabel -> {s, r}]
The plot includes the solution s=r=0