Question: Problem 2: Convergence speed of fixed-point iterations Part a) Implementation Create a function with header: fixed.point (g, x0, TOL, Nmax) The function takes as
Problem 2: Convergence speed of fixed-point iterations Part a) Implementation Create a function with header: fixed.point (g, x0, TOL, Nmax) The function takes as inputs: a scalar function g an initial guess zo a tolerance parameter TOL (default value 10-) a maximum number of iterations Nmax (default value 100) The function should implement the fixed-point iteration In = g(n-1) and it should stop as soon as either 9(In) - In
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
