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

  Problem regarding the levels of goal achievement

Determine the solution that will best achieve the company's goals in component production, including the quantity of each component produced, the annual profit contribution attained, and the levels of goal achievement.

  How much money will you and your parents have to deposit

It is likely that your college tuition will increase an average of 8% per year for the next 4 years.

  How will a gilt and a corporate bond prices compare

A gilt and a corporate bond have the same principal and the same coupons and coupon dates. How will their prices compare?

  Participant-variable design and demonstrated

Study 1 utilized a participant-variable design and demonstrated that women perform more poorly, on average, than men perform on the mathematics section of the Scholastic Aptitude Test (SAT).

  Find the maximum profit

The profit on a wren house is $9.30 and the profit on a martin house is $5.50. Find the maximum profit.

  What issues did you account for in making each assessment

Many people deal with uncertainty by assessing odds. For example, in horse racing different horses' odds of winning are assessed.

  What difference does make on a loan

What difference does 0.5% make on a loan? To answer this question, find (to the nearest dollar) the monthly payment and total interest paid over the life.

  Determine the highest class interval

You may have heard or read that the normal body temperature (oral) is 98.6°F. The numbers that follow are temperature readings from healthy adults, aged 18-40.

  What is the cumulative real inflation tax paid

Maria Moneybags keeps $1,000 in her sock drawer for a year. Over the year, the inflation rate is 10%. What is the real inflation tax paid by Maria.

  Explain how you will formulate a model explaining the given

Explain how you will formulate a model explaining the following. In each case the sample consists of some observations for which the dependent variable is zero.

  What is the minimum cost at volume

The cost per unit produced at a certain facility is represented by the function UC = 2x^2 - 10x + 50, where x is in thousands of units produced. For what value of x would unit cost be minimized (other than zero)? What is the minimum cost at this v..

  Determine the standard deviation and the rms value

Determine the standard deviation and the rms value if the me an value is 1.732 in. Plot this result.

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