determining if it is convergent or divergent + taylor series