Guest User

Untitled

a guest
May 22nd, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. z1 = x + I y;
  2. z2 = z + I w;
  3. n = 2;
  4. eq = ComplexExpand[ReIm[z1^n + z2^n] - {1, 0}];
  5. wsol = Solve[eq[[2]] == 0, w, Reals];
  6. eq3D = Expand[z^2 eq[[1]] /. wsol[[1]]];
  7. R = 5;
  8. ContourPlot3D[eq3D == 0, {x, -R, R}, {y, -R, R}, {z, -R, R},
  9. RegionFunction -> Function[{x, y, z}, x^2 + y^2 + z^2 <= 25],
  10. PlotPoints -> 60,
  11. Mesh -> 25
  12. ]
Add Comment
Please, Sign In to add comment