[Example] Cubic equations and Newton's iteration method
Posted: Wed Sep 17, 2025 7:20 pm
@MrProgrammer:
I didn't thoroughly study your example. Sorry!
But I felt tempted to try a different approach (and wasted a lot of time doing so. Too old brain.)
My approach tries to find a first solution by Newton-iteration which converges rapidly if applcable, and to apply then a division of the x^3-polynom by the linear factor of the first solution leading to a quadratic equation which gives the other real solutions if they exist.
(Cells O5:Q5 of my Sheet3.)
You may be interested, and you can surely tell me how I get remedy if the iteration fails.
My example was made with LibO V 25.8.1.1. It also worked under AOO V 4.1.7.
I didn't thoroughly study your example. Sorry!
But I felt tempted to try a different approach (and wasted a lot of time doing so. Too old brain.)
My approach tries to find a first solution by Newton-iteration which converges rapidly if applcable, and to apply then a division of the x^3-polynom by the linear factor of the first solution leading to a quadratic equation which gives the other real solutions if they exist.
(Cells O5:Q5 of my Sheet3.)
You may be interested, and you can surely tell me how I get remedy if the iteration fails.
My example was made with LibO V 25.8.1.1. It also worked under AOO V 4.1.7.