Question: can somebody please answer this question for me? (includes using matlab) 1. Write a Matlab function that implements Newton's method. It should take the following
can somebody please answer this question for me? (includes using matlab)

1. Write a Matlab function that implements Newton's method. It should take the following parameters: - F : A function whose roots you want to find, - Fprime: The derivative of F, - w0: An initial point at which F is differentiable, - k : A positive integer giving the number of iterations to execute. Your function should execute k iterations of Newton's method using the parameter functions F and Fprime and output the resulting number, wk. 2. Suppose that you want to find the points at which the graphs of two functions f(x) and g(x) intersect. Write down a function H(x) such that f(x) and g(x) intersect at a point z if and only if H(z)=0. 3. Find the point of intersection of f(x)=x and g(x)=xlogx : - Write down a function H(x) as above, such that the roots of H(x) are exactly the points of intersection of x and xlogx. Homework 02: ICSI 401 - Numerical Methods 23 - Write down the Newton iteration equation (i.e., wk+1 in terms of wk,H(x), and H(x) ) that you would use to find roots of H(x). - Use your Matlab implementation of Newton's method with k=50 and some appropriate starting point w0 to find an approximation wk to the root x of H(x). In order to choose w0, you can plot H(x) and identify a point visually close to x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
