- 5 1 Modify Mybisect To Solve Until The Absolute Error Is Bounded By A Given Tolerance Use A While Loop To Do This Run 1 (48.48 KiB) Viewed 85 times
5.1 Modify mybisect to solve until the absolute error is bounded by a given tolerance. Use a while loop to do this. Run
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am
5.1 Modify mybisect to solve until the absolute error is bounded by a given tolerance. Use a while loop to do this. Run
5.1 Modify mybisect to solve until the absolute error is bounded by a given tolerance. Use a while loop to do this. Run your program on the function f(t) = 2x3 + 3x – 1 with starting interval [0, 1] and a tolerance of 10-8. How many steps does the program use to achieve this tolerance? (You can count the steps by adding 1 to a counting variable i in the loop of the program.) How big is the final residual f(x)? Turn in your program and a brief summary of the results. 5.2 Perform 3 iterations of the bisection method on the function f(x) = 23 – 4, with starting interval (1,3). By hand, but use a calculator.) Calculate the errors and percentage errors of 10, 11, 12, and 13. Compare the errors with those in exercise 3.2.