> 英语 >
matlab中用牛顿法求方程的根
用matlab求解以下问题:
用牛顿法求解方程x=e^-x在x0=0.5附近的根(ε=10^-5)
人气:493 ℃ 时间:2020-04-08 21:14:52
解答
代码如下:function rtn=newton1(fx,dfx,x0,tol,N)% Newton Method% The first parameter fx is a external function with respect to viable x.% The second parameter dfx is the first order diffential function ...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版