Question: Given the function: f ( x ) = x 3 - 2 x - 5 ( a ) Using Python as your coding language, write
Given the function:
a Using Python as your coding language, write a program that uses the bisection
method to find the root of the function, for the interval Stop the iteration
when the error as estimated by is less than Plot the output to
show the results.
b Repeat a but use the NewtonRaphson method to find the root of the function,
taking and using the interval as given in part a Plot the output to show
the results.
marks
c Repeat a but use the secant method taking and using the interval
as given. Plot the output to show the results.
marks
d Discuss each of the methods used for root finding and evaluate your result using
all three methods of the given function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
