Page 1 of 1

= (25 points) Consider the function f(x) = (x – 3)2 – In(x) – 4 for x € (0, 2) (a) Write a Matlab script to determine th

Posted: Thu May 12, 2022 9:22 am
by answerhappygod
25 Points Consider The Function F X X 3 2 In X 4 For X 0 2 A Write A Matlab Script To Determine Th 1
25 Points Consider The Function F X X 3 2 In X 4 For X 0 2 A Write A Matlab Script To Determine Th 1 (121.29 KiB) Viewed 22 times
= (25 points) Consider the function f(x) = (x – 3)2 – In(x) – 4 for x € (0, 2) (a) Write a Matlab script to determine the root of this function via Newton's method and Secant method. Choose po 0.01 for Newton's method and po 0.01, p1 3 for the Secant method. You script must print out a table(ignore the numbers) similar to the one below in one shot. Include your script here = = n Newton f (Newton) Secant f(Secant) 1 2 3 4 5 10.250000 8.158885 7.224758 7.011047 7.000029 447.890625 107.827402 17.052695 0.797464 0.002067 6.105263 6.654598 7.093400 6.992032 6.999827 –51.527920 – 22.882004 6.873917 -0.572591 -0.012461