✔ 最佳答案
One is simple, one is not so simple
圖片參考:
https://s.yimg.com/lo/api/res/1.2/sMN3r.vjdadjR5IK8SKheA--/YXBwaWQ9dHdhbnN3ZXJzO3E9ODU-/http://i187.photobucket.com/albums/x22/cshung/7015033100112-2_zpsoje9ba9x.png
2015-04-01 03:47:10 補充:
Thanks - yeah - same idea applies with this variation too, even simpler as follow:
12.5 = (y-1)/0.07y
0.875y = y - 1
0.125y = 1
y = 8
n = log 8 / log 1.07
2015-04-02 03:54:25 補充:
5次方polynomial係唔可能有辦法用root extraction operators搵x,這是Galois Theory,已經證明左係唔可能。
只能用numerical methods,而bisection method係我識既numerical method中最簡單的。
2015-04-02 04:35:44 補充:
Perhaps unrelated - reflecting on myself, I don't really know how to find complex root for the polynomial. Bisection obviously won't cut it, so I searched.
Here you go, Bairstow's method can find you a pair of root at the same time.