Question: Hi I need in matlab code the answer please Insert Design Layout References Mailings Review Vie a) Determine the roots of s(x)--12-21x+18r-2.75x graphically, using MATLAB
Hi I need in matlab code the answer please

Insert Design Layout References Mailings Review Vie a) Determine the roots of s(x)--12-21x+18r-2.75x graphically, using MATLAB b) Determine the first root of the function using the bisection technique. To do this, create a function to implement the bisection technique, and use it to solve the problem. Your function should accept the following inputs: f, a function handle to an anonymous function the lower bound xy, the upper bound the convergence criteria nauit, the maximum number of iterations Use your function with st-1.xu-oand es-1 and maxit-20 c) Create a function to implement the false position technique, and use it to solve this problem. It should have the same inputs as specified in part b. You can check your results by comparing your output to the following Results using Bisection iteration 2 -0.250000 -100.0000 3 0375000 3 4 -0.437500 14.2857 5 0.406250 7.6923 6 -0.421875 3.7037 3.3333 -0.414063 -1.8868 8 -0417969 0.9346 Results using False Position Iteration 1 -0.287425 2 0.379449 24.252 3 -0.4052326.3626 4 -0.4121731.6840 5 0.414022 0.4464
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
