please solve all parts in this question a , b and c all of them thanks Show tran
ID: 3110940 • Letter: P
Question
please solve all parts in this question a , b and c all of them thanks
Show transcribed image textDetermine the positive real root of x^4 + 6.04x^3 - 11.52x^2 - 90.01x = 122.52 Using hand calculation and three iterations of the bisection method. Check your solution using MATLAB utilizing the built-in fzero function. Using hand calculation and three iterations of the modified secant method with delta = 0.05. Check your solution using MATLAB utilizing the built-in fzero function. Using the built-in MATLAB function roots.
Determine the positive real root of xt + 6.04x3-1 1.52x2-90.01x-122.52 04x3-1522-90.01x (a) Using hand calculation and three iterations of the bisection method. Check your solution using MATLAB utilizing the built-in fzero function. (b) Using hand calculation and three iterations of the modified secant method with 80.05. Check your solution using MATLAB utilizing the built-in fzero function. (c) Using the built-in MATLAB function roots.Explanation / Answer
SOLUTION:-
Matlab code to check the solution:
create a file f.m and paste following code:
function y = f(x)
y = x.^4 + 6.04*x.^3 - 11.52*x.^2-90.01*x-122.52;
-----------------------
run the following scripts to find the value:
fun = @f;
x0 = 2;
z = fzero(fun,x0)
------------------------------------------------------------
using buildin roots to find the value:
p=[1 6.04 -11.52 -90.01 -122.52];
roots(p);
Ans:-
-6.0349 + 0.0000i
4.0650 + 0.0000i
-2.0351 + 0.9235i
-2.0351 - 0.9235i
-------------------------------------------------------------------------
Bisection method:
Because the function is continuous, there must be a root within the interval [-6, 4].
1) a=-6, b=4
2) c=a+b/2;
3) find f(a), f(b), f(c)
4) update a=c and new b=b-a
repeat the above steps until you get the interval [a,b] width less than 0.01.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.