= (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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

= (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

Post 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 23 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply