create a matlab function called question3 which


Create a Matlab function called question3 which finds the root of an equation numerically by using the following recursive formula:

xn+1 = x n – f(x n)/g(x n) , for n =1,2,3,……

where g(x n) = (f(x n +f(x n ))-f(x n ))/f(x n ) . This iterative procedure must stop when the absolute difference between x n and xn+1 is less than a given tolerance epsilon. The function must accept as inputs , a scalar function ‘f’, an initial number ‘x’ and a positive number ‘epsilon’ to terminate the procedure. Hence use this numerical technique to find the root of the equation ex –x2 =0

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: create a matlab function called question3 which
Reference No:- TGS0275384

Expected delivery within 24 Hours