0
$\begingroup$

How can one visualize the regions of intersection of the following

f[x_,z_]=(-2 + 2 z + x)/(-2 + 2 x); and 
0 <= y <= 1 && 0 < x < 1 && 2 z > x && 2 z + x < 2
$\endgroup$
1
  • $\begingroup$ f[x_,z_]=(-2 + 2 z + x)/(-2 + 2 x); is just a function,we should use it to defined a region. What is the definition of such region? $\endgroup$
    – cvgmt
    Sep 11, 2021 at 2:02

1 Answer 1

1
$\begingroup$
Plot3D[f[x, z],
 {x, 0, 1}, {z, 0, 1},
 RegionFunction -> 
  Function[{x, z}, 
   0 <= z <= 1 && 0 < x < 1 && 2 z > x && 2 z + x < 2]]

enter image description here

(You have a typo using $y$ instead of $z$.). And your function $f(x,z)$ is a function, not a region, so I think your question is ambiguous.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.