Show that the function f(x) = (x − 1)(x − 2)2 has a unique root
of multiplicity 2 in the interval [1, 3]. Approximate this root by
using a modified Newton-Raphson method with p0 = 2.2