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

Double Slit Diffraction, Hi, I was wondering if you are able to provide me...

Hi, I was wondering if you are able to provide me with simulations showing the optical double slit diffraction dependant on some variables such as distance to screen, slit width,

Excel 1, working the tool bar in excel

working the tool bar in excel

Forloops, 1-1/3+1/5-1/7+1/9-...-1/1003

1-1/3+1/5-1/7+1/9-...-1/1003

Managerial decision support Linear programing, The advertising director for...

The advertising director for Diversity Paint and Supply, a chain of four retail stores on Chicago’s North Side, is considering two media possibilities. One plan is for a series of

Use matlab to find vrms of the pulse train, Q. A periodic sequence of expon...

Q. A periodic sequence of exponential wave forms forms a pulse train whose first cycle is represented by v(t) = [u(t) - u(t - T 0 )]vAe -t/TC Use MATLAB to find Vrms of the

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?

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

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