Info

此问题已关闭。 请重新打开它进行编辑或回答。

Root Finding using Secant method

5 次查看(过去 30 天)
NikePro
NikePro 2016-9-27
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 个评论
John D'Errico
John D'Errico 2016-9-27
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by