write a python program For each of the following polynomials, apply either the Muller's method or...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
write a python program For each of the following polynomials, apply either the Muller's method or the Bairstow's method to find all real or complex roots. Analyze and contrast performance between the two methods. Plot the functions to choose root guesses appropriately. You can apply any simplifications you deem appropriate prior to applying the numerical methods. 1. f(x) = x3 - x2 + 2x - 2 2. f(x) = 2x4 + 6x2 + 8 3. f(x) = -2 +6.2x - 4x2 +0.7x3 write a python program For each of the following polynomials, apply either the Muller's method or the Bairstow's method to find all real or complex roots. Analyze and contrast performance between the two methods. Plot the functions to choose root guesses appropriately. You can apply any simplifications you deem appropriate prior to applying the numerical methods. 1. f(x) = x3 - x2 + 2x - 2 2. f(x) = 2x4 + 6x2 + 8 3. f(x) = -2 +6.2x - 4x2 +0.7x3
Expert Answer:
Answer rating: 100% (QA)
Bairstows Method where r Initial guess s Initial guess Roots Empty Array of roots vector a Co... View the full answer
Related Book For
Cost Management Accounting and Control
ISBN: 978-0324559675
6th Edition
Authors: Don R. Hansen, Maryanne M. Mowen, Liming Guan
Posted Date:
Students also viewed these accounting questions
-
Write a structural formula for each of the following compounds: (a) 6-Isopropyl-2, 3-dimethylnonane (e) Cyclobutylcyclopentane (b) 4-tert-Butyl-3-methylheptane (f) (2, 2-Dimethylpropyl) cyclohexane...
-
Write a structural formula for each of the following compounds: (a) 2-Phenylbutanoyl bromide (e) 2-Phenylbutanamide (b) 2-Phenylbutanoic anhydride (f) N-Ethyl-2-phenylbutanamide (c) Butyl...
-
Write a balanced equation for each of the following reactions: (a) Sulfur dioxide reacts with water. (b) Solid zinc sulfide reacts with hydrochloric acid. (c) Elemental sulfur reacts with sulfite ion...
-
What type of motor would you specify for a meat grinder if the motor is to be exposed?
-
What costs does the value of a unit of product include under absorption costing?
-
Reconsider Prob. 15-42. Using EES (or other) software, study the effect of temperature on the enthalpy of combustion. Plot the enthalpy of combustion as a function of temperature over the range 25 to...
-
Describe under what circumstances a hypothesis test for the difference between two proportions would be performed. Provide an example.
-
On January 1, 2013, HGC Camera Store adopted the dollar-value LIFO retail inventory method. Inventory transactions at both cost and retail, and cost indexes for 2013 and 2014 are as follows:...
-
Sidney, an investment advisor, meets the CEO of a publicly-traded bitcoin exchange at an investment conference. Sidney personally holds the shares and has recommended them to his higher-risk tolerant...
-
On June 1, Cindy Godfrey started Divine Designs Co., a company that provides craft opportunities, by investing $12,000 cash in the business. Following are the assets and liabilities of the company at...
-
In order to investigate the effect of capital investment (x1) and advertising expenditures (x2) on the profit (y) of the medium-sized firms, the data is collected from 50 firms and a multiple linear...
-
Because of a new product line, your company's sales over the last few months have increased significantly. As a result, the amount of cash held by the company has increased to levels never...
-
How do adjustable-rate mortgages (ARMs) differ from fixed-rate mortgages in terms of interest rate dynamics, and what are the underlying risks and benefits associated with each type of mortgage...
-
Exercise #2 A ship of length between perpendiculars L 165.00 m arrives without list in a port in sea water of density d1.025. Its aft and bow drafts are respectively TAR-8.35 m; TAY 5.70 m. The...
-
Why are edged weapons attacks increasing? What are characteristics of edged weapons attacks? List commonly used edged weapons, besides knives. What specific part of the body should be watched most...
-
A Tesla Model 3 EV has a battery pack consisting of 2 9 7 6 lithium - ion battery cells each with a rated voltage of 3 . 7 V . This pack is a series - parallel arrangement of 9 6 cells in series and...
-
How might you use this theory to effect organizational change? See if you can provide an example of how this might occur.
-
Diamond Walker sells homemade knit scarves for $25 each at local craft shows. Her contribution margin ratio is 60%. Currently, the craft show entrance fees cost Diamond $1,500 per year. The craft...
-
Suppose that the controller of your companys largest factory is a particularly optimistic individual. If you were in charge of developing the master budget, how, if at all, would you be influenced by...
-
What does traceability mean?
-
PriceCut, a discount store, has gathered data on its overhead activities and associated costs for the past 10 months. Adrienne Sanjay, a member of the controllers department, believes that overhead...
-
Explain the difference between the Expenses tab and the Items tab in the Write Checks window.
-
How should you account for advanced deposits received on customer orders?
-
Are time sheets required for QuickBooks Accountant to process payroll?
Study smarter with the SolutionInn App