Consider the following function: f(x)=-12-21x+18x² - 2.75x3 Determine a root of the given function using the bisection method. Use initial guesses of x = -1 and x₁ = 0 and a stopping criterion of 10%. (Round the final answer to four decimal places. Include a minus sign if necessary.) Upload your iteration Table for which the first two iterations are provided. Explanation: Using bisection, the first iteration is = 140 =-0.5 f(-1)f(-0.5) 29. 75 (3.34375) = 99.47656 = Therefore, the root is in the second interval and the lower guess is redefined as xy=-0.5. The second iteration is Eg= -0.5+0 - -0.25 2 0.25 (0.5) 100% = 100% -0.25 f(-0.5)f(-0.25) = 3.34375 (-5.5820313) = -18.66492 Therefore, the root is in the first interval and the upper guess is redefined as x₁ = -0.25. The remainder of the iterations are displayed in the following table: x₁ f(x₁) Xu F(x) 1 -1 29.75 0 -12 2 -0.5 3.34375 0 -12 X, -0.5 -0.25 F(X) 3.34375 -5.5820313 100.00%

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question

Please help, this for Matlab the image is the first question with following 2 and 3 they go together.

2. Solving the question by using  bisection.m with the stopping criterion at 1%. Report the root and # of iterations.

3. by using  newton-Raphson matlab script with the stopping criterion at 0.1%. Report the root and # of iterations.

Consider the following function:
f(x)=-12-21x+18x² - 2.75x3
Determine a root of the given function using the bisection method. Use initial
guesses of x = -1 and x₁ = 0 and a stopping criterion of 10%. (Round the final
answer to four decimal places. Include a minus sign if necessary.)
Upload your iteration Table for which the first two iterations are provided.
Explanation:
Using bisection, the first iteration is
=
140
=-0.5
f(-1)f(-0.5) 29. 75 (3.34375) = 99.47656
=
Therefore, the root is in the second interval and the lower guess is redefined as xy=-0.5. The second iteration is
Eg=
-0.5+0 - -0.25
2
0.25 (0.5)
100% = 100%
-0.25
f(-0.5)f(-0.25) = 3.34375 (-5.5820313) = -18.66492
Therefore, the root is in the first interval and the upper guess is redefined as x₁ = -0.25. The remainder of the iterations are displayed in the
following table:
x₁
f(x₁)
Xu
F(x)
1
-1
29.75
0
-12
2
-0.5
3.34375
0
-12
X,
-0.5
-0.25
F(X)
3.34375
-5.5820313
100.00%
Transcribed Image Text:Consider the following function: f(x)=-12-21x+18x² - 2.75x3 Determine a root of the given function using the bisection method. Use initial guesses of x = -1 and x₁ = 0 and a stopping criterion of 10%. (Round the final answer to four decimal places. Include a minus sign if necessary.) Upload your iteration Table for which the first two iterations are provided. Explanation: Using bisection, the first iteration is = 140 =-0.5 f(-1)f(-0.5) 29. 75 (3.34375) = 99.47656 = Therefore, the root is in the second interval and the lower guess is redefined as xy=-0.5. The second iteration is Eg= -0.5+0 - -0.25 2 0.25 (0.5) 100% = 100% -0.25 f(-0.5)f(-0.25) = 3.34375 (-5.5820313) = -18.66492 Therefore, the root is in the first interval and the upper guess is redefined as x₁ = -0.25. The remainder of the iterations are displayed in the following table: x₁ f(x₁) Xu F(x) 1 -1 29.75 0 -12 2 -0.5 3.34375 0 -12 X, -0.5 -0.25 F(X) 3.34375 -5.5820313 100.00%
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY