Question

Write a matlab program to implement the secant root finding method in matlab. The function name...

Write a matlab program to implement the secant root finding method in matlab.

The function name should be Secant and it should take the equation as input whoes root has to be found and the two initial values of a and b and maximum tolerable error.

Consider the following example:

Your code should generate the following:

>> secantAssg5(@(x)(x^4+x^2+x+10),2,3,0.0001)

   Xn-1      f(Xn-1)      Xn      f(Xn)      Xn+1      f(Xn+1)

2.0000   32.0000    3.0000 103.0000    1.5493   19.7111

…..

…..

…..

Root is x = 0.13952

ans =

    0.1395

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Write a matlab program to implement the secant root finding method in matlab. The function name...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT