Answer

问题及解答

[Bug]printRecursiveSeries()的迭代计算问题

Posted by haifeng on 2024-12-01 15:42:57 last update 2024-12-05 15:18:49 | Edit | Answers (0)

>> printRecursiveSeries((4*x_n+(6*x_n^3+6*x_n^2+4*x_n+10)/(5*x_n^4-9*x_n^2-4*x_n-1))/5,x_n,(0.618),3,\n,\linenumber)
0.618
-0.02921664
-:.:99:9978/5-0.02337331
 
 
------------------------
 
>> printRecursiveSeries((4*(x_n)+(6*(x_n)^3+6*(x_n)^2+4*(x_n)+10)/(5*(x_n)^4-9*(x_n)^2-4*(x_n)-1))/5,x_n,0.618,3,\n,\linenumber)
0.618
-0.02921664
-:.:99:9978/5-0.02337331
 
 
------------------------
 

 

>> printRecursiveSeries(a_n,a_n,1,5,\t)
1       1       1       1       1
 
------------------------
 
>> printRecursiveSeries(a_n,a_n+1,1,5,\t)
1       a_n     a_n     a_n     a_n
 
------------------------