Finding zeros and their characteristics