Write a procedure which uses the Newton-Raphson method to evaluate a root of a given function, when given an initial…

Write a procedure which uses the Newton-Raphson method to evaluate a root of a given function, when given an initial estimate of this root and the required accuracy of the solution