找回密码
 注册
Simdroid-非首页
查看: 184|回复: 7

[工程数学] 牛顿迭代发生震荡(见图),求解决方法!

[复制链接]
发表于 2011-7-20 17:49:41 | 显示全部楼层 |阅读模式 来自 云南昆明
本帖最后由 modeling2005 于 2011-7-20 17:54 编辑

牛顿迭代在求解二元非线性方程组时出现震荡,不知如何解决?!见下图

图中,第一行为两个函数值;第二行为两个未知数的值。
因未知数较小,所以选择(0,0)为初始值,总迭代次数为100次

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2011-7-21 06:19:40 | 显示全部楼层 来自 美国
Simdroid开发平台
1# modeling2005

It would be better if you can put your derivation here.

Given the fact that the value is two small, it might be a good idea to use quadruple precision.

评分

1

查看全部评分

回复 不支持

使用道具 举报

发表于 2011-7-21 14:00:27 | 显示全部楼层 来自 美国
One possible reason could be that you were using finite diference to approximate derivatives during iteration and the step is not small enough...
回复 不支持

使用道具 举报

 楼主| 发表于 2011-7-21 14:11:15 | 显示全部楼层 来自 云南昆明
本帖最后由 modeling2005 于 2011-7-21 14:24 编辑

3# iomega
谢谢两位斑竹的回复。
我使用的是经典的牛顿迭代,没有使用差商取代偏导数。
函数如下:
Fun1=A * x1 * (B - C * x2) + x2 * ( D * f1(x1,x2) + E * (F+H * x1)  * f2(x1,x2) )
Fun2= K * ( B - C * x2 )^2 - M* (F+ H * x1) * f3(x1,x2) - N * f3(x1,x2)
式中,f1(x1,x2),f2(x1,x2),f3(x1,x2)与(x1,x2)也是非线性关系;其他大写字母均为常数。
回复 不支持

使用道具 举报

发表于 2011-7-21 23:14:31 | 显示全部楼层 来自 美国
4# modeling2005

1. Solve a linear problem whose exact solution is known to see if the Newton method is working.
2. Try Muller's method since it is quadratic.
3. Show us what kind of equations you want to solve along with your derivations in a PDF file. If you can attach your source code, it is even better.

评分

1

查看全部评分

回复 不支持

使用道具 举报

 楼主| 发表于 2011-7-27 16:07:49 | 显示全部楼层 来自 云南昆明
本帖最后由 modeling2005 于 2011-7-27 16:12 编辑

在此,先附上正常收敛过程和震荡过程的补充说明图。
正常的收敛过程如下图:

震荡过程刚开始迭代时变化很大,但后面迅速进入震荡过程。如下图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

发表于 2011-7-27 19:10:53 | 显示全部楼层 来自 美国
6# modeling2005

我已经说过了。把你要解的方程和你牛顿迭代的推导过程贴出来,最好把源程序也传上来。这样大家才能有个具体了解。
回复 不支持

使用道具 举报

发表于 2011-7-28 04:07:28 | 显示全部楼层 来自 美国
牛顿迭代又不是万能的咯。
这么多参数,是否有解很铭感的。
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-6-6 10:22 , Processed in 0.040889 second(s), 19 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表