Open Educational Resources

Mathematica Lab Tutorials: Lab 4

Lab questions

Develop a procedure whose input is a function f, an initial guess x_0, the maximum number of iterations nmax, and the stopping criterina eps. The function should return the following table:
– Iteration, root estimate x_i, ε_r
Using two examples from your class notes (one that converges and another that does not), compare the output of your code with the mathematica built-in function:

Video Tutorials

Application of Derivative function, While loop, tables


Leave a Reply

Your email address will not be published.