29 March 2024 10:34:38 AM zero_muller_test(): C++ version Test zero_muller(), which uses Muller's method, with complex arithmetic, to solve a nonlinear equation. test01(): Demonstrate zero_muller() on F(X) = X*X+9. zero_muller(): Muller's root-finding method (complex root version) Iteration x_real x_imag ||fx|| ||disc|| -2 0.5 0.5 9.01388 -1 0 1 8 0 1 0 10 1 0 -3 0 18 zero_muller(): Absolute convergence of |F(X)|. X = 0 -3 with function value F(X): FX = 0 -0 ||FX|| = 0 test02(): Demonstrate zero_muller() on F(X) = (X*X+4)*(X-10)*(X+20). zero_muller(): Muller's root-finding method (complex root version) Iteration x_real x_imag ||fx|| ||disc|| -2 0.5 0.5 9.01388 -1 0 1 8 0 1 0 10 1 0 -3 0 18 zero_muller(): Absolute convergence of |F(X)|. X = 0 -3 with function value F(X): FX = 0 -0 ||FX|| = 0 test03(): Demonstrate zero_muller() on Zhelyazkov''s function. zero_muller(): Muller's root-finding method (complex root version) Iteration x_real x_imag ||fx|| ||disc|| -2 0.5 0.5 9.01388 -1 0 1 8 0 1 0 10 1 0 -3 0 18 zero_muller(): Absolute convergence of |F(X)|. X = 0 -3 with function value F(X): FX = 0 -0 ||FX|| = 0 zero_muller(): Muller's root-finding method (complex root version) Iteration x_real x_imag ||fx|| ||disc|| -2 -1 2 7.2111 -1 1 2 7.2111 0 0 1 8 1 0 -3 0 576 zero_muller(): Absolute convergence of |F(X)|. X = 0 -3 with function value F(X): FX = 0 -0 ||FX|| = 0 zero_muller_test(): Normal end of execution. 29 March 2024 10:34:38 AM