newton small improvment and using ln as case study between newton and cubic