Question: answer 4 please 3. (40 pts) Adapt the bisection method notebook provided in lab session: - use bisection method to solve the equation f(x)=x668.06(1e0.1468x)40 with
3. (40 pts) Adapt the bisection method notebook provided in lab session: - use bisection method to solve the equation f(x)=x668.06(1e0.1468x)40 with an initial bracket of [xl,x11]=[12,16]. Use a stopping criterion n=0.1%. - record and plot the residual at each iteration as in Figure 5.13 in book. Comment on what you observe. To record the residual, you can define an empty list and then append the residuals, e.g., residual-list = II 7 while N
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
