Find an approximate root of p

Assignment Help Engineering Mathematics
Reference no: EM131793769

A root of a polynomial P(x) is a number c for which P(c) = O.

The bisection method is one scheme that can be used to find an approximate root of P(x) in some given interval [a, b], where pea) and P(b) have opposite signs (thus guaranteeing that P(x) has a root in [a, bbl.

In this method, we begin by bisecting the interval [a, b] and determining in which half P(x) changes sign, because P must have a root in that half of the interval. Now bisect this subinterval and determine in which half of this subinterval P(x) changes sign.

Repeating this process gives a sequence of smaller and smaller subintervals, each of which contains a root of P(x), as pictured in the following diagram.

The process can be terminated when a small subinterval-say, of length less than O.OOO1-is obtained or when P(x) has the value 0 at one of the endpoints:

1161_polynomial.png

Add and test a member function root 0 to the Polynomial class template so that, for a Polynomial object p, p. root (a,b) returns an approximate root of the polynomial in the interval [a, b] (if there is one), using the bisection method.

Reference no: EM131793769

Questions Cloud

How would your team argue during the appeal : You are working at Johnson and Cohen law firm and have recently been assigned to lead the appeal of a man convicted of first degree murder and sentenced
Should the company accept this special order why : The company has just received a special one-time order for 600 medals at $102 each. Required: Should the company accept this special order? Why
What is the net cash flow of project for given years : Down Under Boomerang, Inc., is considering a new three-year expansion project that requires an initial fixed asset investment of $2.52 million.
Discuss what auditing procedures should smithers apply : What auditing procedures should Smithers apply to satisfy herself regarding the above confirmation replies
Find an approximate root of p : find an approximate root of P(x) in some given interval [a, b], where pea) and P(b) have opposite signs (thus guaranteeing that P(x) has a root in [a, bbl.
Prepare a detailed overhead variance report : During May, the company operated at 90% of capactiy and produced 9,000 units. Prepare a detailed overhead variance report that shows the variances
Peirce library or other external resources : Using the internet, Peirce library or other external resources find an article on CEO pay. You may highlight a specific CEO or executive pay overall.
Computing the market rate of interest on the loan : A builder is offering $100,000 loans for his properties at 9 percent for 25 years. Monthly payments are based on current market rates of 9.5 percent.
What is societal marketing and exploitive marketing : What is societal marketing? What is exploitive marketing? Give an example. What is covert marketing?

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd