matlab中用牛顿法求方程的根
matlab中用牛顿法求方程的根
用matlab求解以下问题:
用牛顿法求解方程x=e^-x在x0=0.5附近的根(ε=10^-5)
用matlab求解以下问题:
用牛顿法求解方程x=e^-x在x0=0.5附近的根(ε=10^-5)
英语人气:662 ℃时间: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 ...
我来回答
类似推荐
猜你喜欢
- 1用650粒玉米种子做发芽试验,有15粒没有发芽.求发芽率.
- 2x^2+8x+13/x^2+8x+15-x^2+5x+4/x^2+5x+6
- 3如图,在△ABC中,∠BAC=90°,∠ABC=∠ACB,∠ABC的平分线BD交AC于点D,过点C向BD的延长线做垂线CE,垂足为E,求证:BD=2CE
- 4少先队员种一批树苗,第一天种15棵,第二天种余下的1/5,
- 5用什么词形容有学问的人
- 6分苹果、梨、橘子三种水果.每个小朋友任意那两个不同种类的水果,那么至少几个小朋友拿的水果相同?
- 7当x+y=5xy时,(3x+xy+3y)/x-2xy+y=?
- 8The girl in red my neighbor.帮忙翻译哈,
- 9阅读文言文 多多益善
- 10[W11] The rise and fall of the tide is ______ by the movements of the moon.