Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Root Finding using Secant method

5 vues (au cours des 30 derniers jours)
NikePro
NikePro le 27 Sep 2016
Commenté : John D'Errico le 27 Sep 2016
I am currently trying to write a matlab code that will use the secant method to find a root of a function f(x) while only using the initial guess Xr = 1.0 and Del = 10^-6. I have solved the problem analytically and got a final root after a few iterations but I do not know how to translate that into Matlab as this is an introductory class and we have a matlab session next week. I would appreciate any help that will guide me.
  1 commentaire
John D'Errico
John D'Errico le 27 Sep 2016
So if you have no idea how to use MATLAB, then you will gain nothing from code given to you, except an easy way to do your homework. Start by reading the getting started tutorials. Then make an effort to write some code. You won't learn unless you get your hands dirty here.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by