matlab assignment, Simulation in MATLAB

Assignment Help:
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

Related Discussions:- matlab assignment

#title., how can I use MatLab to simulate circuits and also to plot graphs ...

how can I use MatLab to simulate circuits and also to plot graphs especially Bode diagrams?

Program for game of life, THE GAME OF LIFE The "Game of Life" is an ex...

THE GAME OF LIFE The "Game of Life" is an example of a cellular automaton (CA) and was devised by John Conway in 1970. The "Game of Life" is played on a regular grid, with eac

Image Aquisition, I want to use a camera to detect objects by interfacing i...

I want to use a camera to detect objects by interfacing it with matlab ,i need any sourses to help me

Design of a smart grid system, Hello I''d like a design of a SMART micro g...

Hello I''d like a design of a SMART micro grid system for ( Solar, Wind, and hydro technology) to be simulated and an analysis of the result should constitute a professional repo

Matlab codes, what are the Z-window in dsp matlab codes

what are the Z-window in dsp matlab codes

Spring-mass system, Using MATLAB, plot the response of a spring-mass system...

Using MATLAB, plot the response of a spring-mass system under a harmonic force for the following data. m=10 lb k = 2500 lb/ft F(t) = 80 cos 30 t lb x0 = 6 in ?0 = 0.15 ft/s

ANFIS , I have dataset that is divided to 70 as training and 30 percent as ...

I have dataset that is divided to 70 as training and 30 percent as testing and I need to implement ANFIS using matlab what I need : 1- ANFIS - Zero order or constant output - back

Image forgery, Did you mean: ?? ????? ?????? ?????? ????? ?????? ???? ?? ??...

Did you mean: ?? ????? ?????? ?????? ????? ?????? ???? ?? ???? A project about how to distinguish fake image in MATLAB

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd