# How can I plot the following function in wolfram alpha? [closed]

z=x/100 if{(x<100) and y<10000}

= 1 otherwise...

I dont know how to plot a conditional function

## closed as off-topic by José Carlos Santos, Jam, Stefan4024, Namaste, Key FlexAug 7 '18 at 11:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Stefan4024, Namaste, Key Flex
If this question can be reworded to fit the rules in the help center, please edit the question.

• Why would you put a constraint on $y$ if it doesn't even appear in the equation? – Jam Aug 7 '18 at 9:53
• I understand it doesnt make sense, but let me assure you, the problem I am dealing with has that flavour. What I am trying to do is define z=1 whenever y>10000 irrespective of the value of x. – Vk1 Aug 7 '18 at 10:00
• Right. Why would you want to plot this in WA? – Jam Aug 7 '18 at 10:06
• I think it's pretty easy to imagine what $f(x,y)=\begin{cases}\frac{x}{100}&x<100,y<10^4\\1&\text{else}\end{cases}$ looks like. Just try it in a $3$d grapher like Geogebra. geogebra.org/3d?lang=en-GB – Jam Aug 7 '18 at 10:08
• You should get a figure a bit like this. imgur.com/dlnYAOX – Jam Aug 7 '18 at 10:22

 ContourPlot3D[ z == If[x < 100 && y < 10000, x/100, 1], {x, -1000, 1000}, {y, 0, 10500}, {z, -10, 10}]