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

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

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

Neural networks, Good day! I am new to neural networks and also in Matlab n...

Good day! I am new to neural networks and also in Matlab nnet toolbox. Basically, I want to implement a backpropagation feedforward supervised neural network for prdacting Quality

#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?

Convertions, If I wanted to convert .04 acers per second into 48 hours how ...

If I wanted to convert .04 acers per second into 48 hours how would I approach this

I would like to generate/simulate data from a multivariate r, Ask question ...

Ask question I would like to generate/simulate data from a multivariate regression equation#Minimum 100 words accepted#

Excel 1, working the tool bar in excel

working the tool bar in excel

Pulse generator, hw to provide pulses to the pulse generator by seeing the ...

hw to provide pulses to the pulse generator by seeing the gating wave forms ?

How to draw a equipotential surface about 3D, We have a set of 3D-points wh...

We have a set of 3D-points who have their value, how to draw a equipotential surface by the value?

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