用迭代的方法求根 为何求不出 求解释原因 好的给加分
我用的方法是原式acosx+bx+c=0化成gx=x(n+1)=(cosxn+c)/(-b)然后不断代入为最后何得到了一个奇怪的循环如下表xgx4-0.52117026-...
我用的方法是
原式acosx+bx+c=0
化成gx=x(n+1)=(cosxn+c)/(-b)
然后不断代入
为最后何得到了一个奇怪的循环
如下表
x gx
4 -0.52117026
-0.52117026 -0.754218042
-0.754218042 -0.503883762
-0.503883762 -0.784888984
-0.784888984 -0.500001037
-0.500001037 -0.791924696
-0.791924696 -0.500170373
-0.500170373 -0.791616791
-0.791616791 -0.500154677
-0.500154677 -0.791645326
-0.791645326 -0.5001561
-0.5001561 -0.79164274
-0.79164274 -0.500155971
-0.500155971 -0.791642975
-0.791642975 -0.500155983
-0.500155983 -0.791642953
-0.791642953 -0.500155981
-0.500155981 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955 展开
原式acosx+bx+c=0
化成gx=x(n+1)=(cosxn+c)/(-b)
然后不断代入
为最后何得到了一个奇怪的循环
如下表
x gx
4 -0.52117026
-0.52117026 -0.754218042
-0.754218042 -0.503883762
-0.503883762 -0.784888984
-0.784888984 -0.500001037
-0.500001037 -0.791924696
-0.791924696 -0.500170373
-0.500170373 -0.791616791
-0.791616791 -0.500154677
-0.500154677 -0.791645326
-0.791645326 -0.5001561
-0.5001561 -0.79164274
-0.79164274 -0.500155971
-0.500155971 -0.791642975
-0.791642975 -0.500155983
-0.500155983 -0.791642953
-0.791642953 -0.500155981
-0.500155981 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955
-0.791642955 -0.500155982
-0.500155982 -0.791642955 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询