How to fidn vertex of absolute value function?