Question: HW 3 _ 5 Given h ( x ) = x 3 - 8 x + 1 0 and g ( x ) = 4
HW Given and
Plot these two functions in the same figure such that all intersection points are shown. Using builtin function brentq solve for the intersection points and plot them on the graph with red stars. Include a legend in your figure to specify the functions. Hints:
At an intersection point of two functions the values of the functions are equal. Hence the equation to be solved is
There are five intersection points. Use the range Python code only
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
