Qurak

Find a point in the intersection of two regions

Voorbeeld 2 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
{x, y} /. FindInstance[x ^ 2 - y ^ 3 ≤ 2 && x ^ 2 + (y + 2) ^ 2 ≤ 1, {x, y}]
Uitvoer
{{0, -1}}
Stap 2
RegionPlot[{x ^ 2 - y ^ 3 ≤ 2, x ^ 2 + (y + 2) ^ 2 ≤ 1}, {x, -3, 3}, {y, -3, 3}, PlotStyle -> Table[Directive[Opacity[.5], Hue[t]], {t, {.3, .7}}], Epilog -> {Red, PointSize[Large], Point[{0, -5 / 4}]}]
Uitvoer
-Graphics-

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client