Question
Write Matlab code to iteratively find roots for the following equations given the initial guess/domain and method identified. NOTE: you must specify the error/tolerance you
Write Matlab code to iteratively find roots for the following equations given the initial guess/domain and method identified. NOTE: you must specify the error/tolerance you have used in each case to determine convergence or nonconvergence. (a) Use the Bisection Rule to find roots in domain x = 2 to x= 5 for f(x) = x3 - x2 - 10x 8. State what error/tolerance you are using. (b) Use the Regula-Falsi method to find roots in domain x = 2 to x= 5 for f(x) = x3 - x2 - 10x 8. State what error/tolerance you are using. (c) Use the Secant Rule starting with x = 6 and x = 7 to find a root of f(x) = x + 5 sin(x). State what error/tolerance you are using. (d) Use the Secant Rule starting with x = 8 and x = 9 to find a root of f(x) = x + 5 sin(x). State what error/tolerance you are using. (e) Use the Newtons methods starting with a guess of x = 6 to find a root of f(x) = x + 5 sin(x). State what error/tolerance you are using. (f) Comparing your results and the rate of convergence (or non-convergence) for parts (a), (b), (c) , (d) and (e), what can you conclude and why have you concluded it about the stability and efficacy of the four different methods?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started