I have to define a point in three different regions like if point 1 is < L/4 then out put is 0 then if point lies between L/4 and 3L/4 output is 2 and if point is >3 L/4 output is 6.
I am using if else if and else command but not able to generate proper result.
if pt(1)=L/4 & node