Question: MATlab help please~! 1. Implement fixed-point iteration. Your signature should be function p fp(g, po, maxits) where g is a function handle and po, maxits,

MATlab help please~!

MATlab help please~! 1. Implement fixed-point iteration. Your signature should be function

p fp(g, po, maxits) where g is a function handle and po,

1. Implement fixed-point iteration. Your signature should be function p fp(g, po, maxits) where g is a function handle and po, maxits, and p are numbers. The return value p is the result of maxits applications of g, i.e., P 8(gg(po))) Test your code on the following four functions. (b) g:z cos( i. Plot y- g(z) and y- r to visually confirm that g has a unique fixed point ii. Plot the error as a function of iteration number, using the converged value as the exact solution iii. Challenge; ungraded) Estimate the rate at which the error (as a function of iteration number n) converges (to zero) when po-1. Do this by fitting a curve of the form nH Cq" to the error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!