Page 1 of 1

Part a is completed, struggling with b,c,d

Posted: Tue Sep 07, 2021 7:34 am
by answerhappygod
Part a is completed, struggling with b,c,d
Part A Is Completed Struggling With B C D 1
Part A Is Completed Struggling With B C D 1 (197.97 KiB) Viewed 56 times
Given f(x) = x3 – 522 +62, solve the following problems. (a) Verify that f(x) = x3 – 5x2 + 6x has a root in (1.4, 2.5]. (b) Use the bisection method to find p3 for f(x) = 2,3 – 5.x2 +6x on (1.4, 2.5] by hand calculation (i.e., do not use code and do not check stopping criteria). Do your work with at least 6 decimal digits if a number has more than 6 digits. (e) Apply the bisection method to find approximate root of f(x) = x3 – 5x2 +62 with e = 10-7 in (1.4, 2.5) by using the code “alg021Bisection.m”. Turn in a copy of the "command window“ including all input and output. (d) Find a bound for the number of iterations needed to achieve an approximation with accuracy e = 10-7 to the root of f(x) = 23 – 5x2 + 6x in (1.4, 2.5]. (Use the result obtained in Theorem 2.1.3 on p. 29 in lecture notes or Theorem 1 on p. 18 in slides of Ch. 2.) Is such bound consistent with the number of iterations needed when executing the code done in part (c)?