Qurak

Highlight the intersection of two surfaces

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
h = x ^ 2 + y ^ 2 + z ^ 2 - 2;
g = x ^ 3 + y ^ 2 - z ^ 2;

Geen uitvoer - deze stap zet iets klaar voor de volgende.

Stap 2
ContourPlot3D[{h == 0, g == 0}, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, MeshFunctions -> {Function[{x, y, z, f}, h - g]}, MeshStyle -> {{Thick, Blue}}, Mesh -> {{0}}, ContourStyle -> Directive[Orange, Opacity[0.5], Specularity[White, 30]]]
Uitvoer
-Graphics3D-

Gebruikte functies

Gerelateerde recepten

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