Verificar se é raiz da equação