Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Root Finding using Secant method

5 Ansichten (letzte 30 Tage)
NikePro
NikePro am 27 Sep. 2016
Kommentiert: John D'Errico am 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 Kommentar
John D'Errico
John D'Errico am 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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by