In this exercise, we will use fixed-point iterations to find the real root of f(x) =...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In this exercise, we will use fixed-point iterations to find the real root of f(x) = 2x³ - x² + 2x − 1 = 0. To apply the fixed-point algorithm, we first need to rewrite Eq. (1) as x = representation is not unique. For example, we can write X = -2x³ + x² +1 2 := 9₁(x), or X = 3 x² - 2x + 1 2 := 9₂ (x). (1) g(x), but this In fact, the algorithm's convergence will depend on whether we choose 9₁ or 92 as our g(x). We will experiment with both versions, and you can use the Jupyter notebook 05-Nonlinear- eqs.ipynb for help. a) Find the expressions for g(x) and g₂ (x) and, based on that, answer: would you rather select 9₁ or 92 as your g(x)? Why? b) (J) Set x(0) = 0.9 and g(x) = 9₁(x), and iterate until |x(+1) — x(k)| < 10-6. What is the solution obtained, and how many iterations are needed to reach that? c) (J) Now, do the same for g(x) = 92(x). How many iterations are now needed? In this exercise, we will use fixed-point iterations to find the real root of f(x) = 2x³ - x² + 2x − 1 = 0. To apply the fixed-point algorithm, we first need to rewrite Eq. (1) as x = representation is not unique. For example, we can write X = -2x³ + x² +1 2 := 9₁(x), or X = 3 x² - 2x + 1 2 := 9₂ (x). (1) g(x), but this In fact, the algorithm's convergence will depend on whether we choose 9₁ or 92 as our g(x). We will experiment with both versions, and you can use the Jupyter notebook 05-Nonlinear- eqs.ipynb for help. a) Find the expressions for g(x) and g₂ (x) and, based on that, answer: would you rather select 9₁ or 92 as your g(x)? Why? b) (J) Set x(0) = 0.9 and g(x) = 9₁(x), and iterate until |x(+1) — x(k)| < 10-6. What is the solution obtained, and how many iterations are needed to reach that? c) (J) Now, do the same for g(x) = 92(x). How many iterations are now needed?
Expert Answer:
Related Book For
Social Statistics For A Diverse Society
ISBN: 9781483333540
7th Edition
Authors: Chava Frankfort Nachmias, Anna Leon Guerrero
Posted Date:
Students also viewed these accounting questions
-
In this exercise we will prove Theorem 3.4.2. (a) Start from the equality differentiate both sides, and then rearrange terms to establish (3.4.4). (The fact that d/dx log g(z) = g'(x)/g(x) will be...
-
Use Excel to find the real root of the equation x 3 + 5.000x 42.00 = 0.
-
In this exercise we will use the expressions given in section 9.6.3 on page 271 and in section 9.8.5 on page 296 to calculate the relaxation rate constants which arise from the dipolar relaxation of...
-
What is the effect of a viscosity (competence) difference between strain markers and the matrix?
-
Solve Problem 3-10 in Chapter 3 to construct a p-chart to monitor order problems at BooksCDs.com
-
Develop a plan for implementing employee layoffs over the next year that will generate $3 million in savings. Give specific details concerning candidates for layoffs, the amount of notice the...
-
In an earlier SIOP salary survey (Katkowski \& Medsker, 2001), 73 of the respondents ( 33 males, 40 females) received their master's degrees in the 10 -year period from 1991 to 2000. Listed below are...
-
Information concerning Montana Company is provided in BE19-16. What are the total product costs for the company under absorption costing?
-
7. It is often suggested that K, should be changed so that (Ks) = (Ks). For example, if cos 2 Ks = cos (0-2) cos (0 + 2T) sin 0 sin (0-2) sin (0+2) 3 T then (K) = (K)-1. Show that this is true. Also,...
-
The American black bear (Ursus americanus) is one of eight bear species in the world. It is the smallest North American bear and the most common bear species on the planet. In 1969, Dr. Michael R....
-
Let {a} be a sequence such that lim a, = LE R and define b 71-00 Show that lim br 71-00 = L. = n TL k=1 ak for each n N.
-
Youre considering an investment in Croatia that you expect will produce a 9 percent return next year, and you expect that your real rate of return on this investment will be 7 percent. What do you...
-
Suppose that 100 senators must vote on an appropriation: a new bridge in Alabama (A), a new freeway interchange in California (C), or a grain subsidy for Iowa (I). The Senate Whip estimates that the...
-
In 2019, Italia Mining Corporation had sales of \($69\) million, total assets of \($45\) million, and total liabilities of \($23\) million. The interest rate on the debt is 6.5 percent, and its tax...
-
Imagine that you got a job offer and accepted it. You were happy about your decision until you got another offerthis time from your ideal company and in your ideal location. Write responses to each...
-
Which of the following are examples of a firm experiencing positive technological change? a. A fall in the wages JetBlue pays its mechanics leads it to lower its ticket prices. b. A training program...
-
At Mr. Empanada, Jack paid $19.14 for 6 empanadas and Mrs. Kubiak bought four empanadas for $12.76. How many empanadas can Sally buy if she has $25?
-
Problem 2. (0.6 points, 0.2 points for each question) (a) A company turns its inventory 2 times a month. Its months-of-supply = Its days-of-supply = Please show your analysis below: _months. days. (1...
-
A sample of the 2011 MTF survey suggests that adolescents are divided in terms of their attitudes toward others trying marijuana at least once. In fact, 49.3% of the 1,202 respondents who answered...
-
How many hours per week do you spend on e-mail? In 2010, the GSS included a question on number of hours spent on e-mail. Data are presented here for a sample of 99 men and women. E-mail hours per...
-
Using the data from Exercise 2, construct bar graphs showing percentage distributions for sex and class. Remember to include appropriate titles, percentages, and labels. 2242442 1 2 473445 LwMMMUL-M...
-
Consider the data file \(m r o z\) on working wives. Use the 428 observations on married women who participate in the labor force. In this exercise, we examine the effectiveness of a parent's college...
-
Consider the data file \(m r o z\) on working wives. Use the 428 observations on married women who participate in the labor force. In this exercise, we examine the effectiveness of a parent's college...
-
The CAPM says that the risk premium on security \(j\) is related to the risk premium on the market portfolio. That is where \(r_{j}\) and \(r_{f}\) are the returns to security \(j\) and the risk-free...
Study smarter with the SolutionInn App