# inequalities using math node

Using math nodes I generated that pyramid like shape, but I want to impose inequalities. The equation for the following pic is 9-8|x|-y=0 but I want to impose inequalities to the equation where 0.75<|x|<1. How do I integrate the equation with the given inequality?

this is the current output

and this is the current node setup.

The final output has to look something like this

• what is the final equation like?
– susu
Jun 10 '20 at 2:29
• 9-8|X|-y =0 where 0.75<|x|<1 Jun 10 '20 at 3:33

Val1 = abs(y-(9-8*abs(x))) < Threshold, Val2 = and(abs(x)>0.75, abs(x)<1), Combined =Val1 * Val2