Generalized Ostrowski’s root-finding method