NEED A PERFECT PAPER? PLACE YOUR FIRST ORDER AND SAVE 15% USING COUPON:

compute the rates without using the decimal module.

compute the rates without using the decimal module..

1.A nonlinear algebraic equation f (x) = 0 may also be solved by Halley’s method,7 given as: xn+1 = xn − 2f (xn)f
(xn) 2f
(xn)2 − f (xn)f
(xn) , n = 0, 1,… , with some starting value x0.

a) Implement Halley’s method as a function Halley. Place the function in a module that has a test block, and test the function by solving x2−9 = 0, using x0 = 1000 as your initial guess. b) Compared to Newton’s method, more computations per iteration are needed with Halley’s method, but a convergence rate of 3 may be achieved close to the root. You are now supposed to extend your module with a function compute_rates_decimal, which computes the convergence rates achieved with your implementation of Halley (for the given problem). The implementation of compute_rates_decimal should involve the decimal module (you search for the right documentation!), to better handle very small errors that may enter the rate computations. For comparison, you should also compute the rates without using the decimal module. Test and compare with several parameter values.

find the cost of your paper

compute the rates without using the decimal module.

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.