DO NOT write out solutions on paper and solve by hand or your response will be thumbed down. Paste Matlab code to execut

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

DO NOT write out solutions on paper and solve by hand or your response will be thumbed down. Paste Matlab code to execut

Post by answerhappygod »

DO NOT write out solutions on paper and solve by hand or your
response will be thumbed down.
Paste Matlab code to execute instructions.
Do Not Write Out Solutions On Paper And Solve By Hand Or Your Response Will Be Thumbed Down Paste Matlab Code To Execut 1
Do Not Write Out Solutions On Paper And Solve By Hand Or Your Response Will Be Thumbed Down Paste Matlab Code To Execut 1 (79.11 KiB) Viewed 43 times
2.) Root finding using both Bi-Section and False Position (estimated time 22min, 22 points) The polynomial f(x) = x3 - 8x2 + 4x + 48 has three roots, which can be found using the following four datapoints f(-11.983) = -2869.255, f(1.178) = 43.249, f(4.666) = -5.922, and f(8.745) = 139.990. (a) Write a Matlab function entitled "the_function_of_problem2.m" that takes x as an input and returns y at the output, where y = x3 – 8x2 + 4x + 48. (b) Write a Matlab function entitled "Combined_BiSection_False Position_method.m” that carries out first a total of M Bi-Section iterations that are followed by N False Position iterations in order to find the root of f(x). This Matlab function should have four inputs (M, N, as well as the upper and lower limit of the root). This Matlab function should return two outputs the upper and lower limit of the root. This function should not display anything in the command line. (c) Write a Matlab script entitled "main_problem2.m" that computes all three roots of f(x) using the function developed in (b) with M = 3, N = 5, and appropriate upper and lower boundaries of the root estimate. Store the three different roots under the Matlab variables xr1, xr2, and xr3.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply