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

Desktop setup and introduction to matlab, We learned how to set up our Desk...

We learned how to set up our Desktop on the CAD Lab computer. We created a Matlab shortcut on the Desktop and a CE199 folder for our work. We also learned to type some basic Matlab

Matlab assignment, Create a Matlab function called question3 which finds th...

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,……

.mathematical modelling of coupled tank, deriving the mathematical modelli...

deriving the mathematical modelling of coupled tank using simulink and finally get the reaction curve of coupled tank system

Find functions fiatan and atan, The phase, θ, of a complex number z, is of...

The phase, θ, of a complex number z, is of course determined as follows knowing its real and imaginary parts: θ = tan -1 imag(z)/real(z) (1) Your first task is to create a f

Generating steady state, I would like to get a matlab code that shifts a gi...

I would like to get a matlab code that shifts a given signal by 12.5 ms (to get 80 Hz response) and take the last segment (12.5 ms) and put it in the gap that is made by the shift.

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

Excel 1, working the tool bar in excel

working the tool bar in excel

Uniform quantization of image, i want a matlab code for uniform quantizatio...

i want a matlab code for uniform quantization of a jpeg image

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