# Print solutions for a function with 3 variables

**URL:** <https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714>\
**Category:** Questions\
**Tags:** computer-science, data-science, engineering, graphics-and-visualization\
**Created:** [April 10, 2020, 10:18am UTC](https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714 "2020-04-10T10:18:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matildaq](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@matildaq](https://community.wolfram.com/u/matildaq)\
**Post date:** [April 10, 2020, 10:18am UTC](https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714/1 "2020-04-10T10:18:03Z")

</div>

Hello!  
I need some help with printing a function consisting of 3 variables. I want to plot it in the range R3 and my function is z\>= Sqrt(x^2+y^2). I have tried to use ContourPlot but it just keeps failing. I do not have any limits for the variables but since ContourPlot uses it I have made up some limits but it still doesn’t work. Please help!  
// Matilda

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [April 10, 2020, 2:14pm UTC](https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714/2 "2020-04-10T14:14:22Z")

</div>

Hi Matilda,

Is this what you are looking for?

```
z[x_, y_] := Sqrt[x^2 + y^2];
ContourPlot[z[x, y], {x, -5, 5}, {y, -5, 5}]

```

 ![2535plot.png](https://global.discourse-cdn.com/wolfram/original/2X/b/b2ea9909a4820fc13cf6dcd9c576c1b04c147de1.png)

---

<div class="post-metadata">

**Author:** ![matildaq](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@matildaq](https://community.wolfram.com/u/matildaq)\
**Post date:** [April 10, 2020, 4:05pm UTC](https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714/3 "2020-04-10T16:05:26Z")

</div>

Wow thank you so much!!!

Do you think I should use ContourPlot3D instead since it’s in range R3? Also, how would I make it “\>=” instead of “=”? It doesn’t seem to work when I replace it just like that.

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [April 10, 2020, 9:02pm UTC](https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714/4 "2020-04-10T21:02:41Z")

</div>

I am not sure exactly what you are trying to visualize. Maybe this?

```
RegionPlot3D[z >= Sqrt[x^2 + y^2],
 {x, -5, 5}, {y, -5, 5}, {z, 0, 5},
 PlotPoints -> 50,
 ColorFunction -> Hue]

```

 ![3708plot.png](https://global.discourse-cdn.com/wolfram/original/3X/8/5/8566afa825d49af131c470e6f73c55c985d4abbc.png)

---

<div class="post-metadata">

**Author:** ![matildaq](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@matildaq](https://community.wolfram.com/u/matildaq)\
**Post date:** [April 10, 2020, 9:21pm UTC](https://community.wolfram.com/t/print-solutions-for-a-function-with-3-variables/15714/5 "2020-04-10T21:21:10Z")

</div>

Thank you so so so so much! I think that’s it! I am very new to Mathematica and all your help was truly gold! Thank you!!
