07-Jan-2022 23:16:37 newton_rc_test MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 newton_rc() seeks a solution x of one or more nonlinear equations f(x)=0 using Newton's method with reverse communication. newton_rc_test01 Use newton_rc() to solve 1 nonlinear equation. Initial X and F(X) 1: 0 -5 newton_rc - Warning Previous ||FX|| = 0.000862095 Latest ||FX|| = 0.000862095 Convergence has slowed down. Convergence failure: Final X and F(X) 1: 4.27459 -0.000862095 newton_rc_test02 Use newton_rc() to solve 2 nonlinear equation. Initial X and F(X) 1: 3 -13 2: 0 11 newton_rc - Warning Previous ||FX|| = 0.00201303 Latest ||FX|| = 0.00201303 Convergence has slowed down. Convergence failure: Final X and F(X) 1: 1 -0.000488162 2: 0.999756 0.00195295 newton_rc_test03 Use newton_rc() to solve 4 nonlinear equations. Initial X and F(X) 1: 0 1 2: 0 4 3: 0 9 4: 0 16 newton_rc - Warning Previous ||FX|| = 5.18364e-07 Latest ||FX|| = 4.97684e-07 Convergence has slowed down. Convergence failure: Final X and F(X) 1: 1.00003 1.01797e-09 2: 2.00004 1.63225e-09 3: 3.00003 6.48992e-10 4: 3.99929 4.9768e-07 newton_rc_test04 Use newton_rc() to solve 8 nonlinear equations. Initial X and F(X) 1: 0 1 2: 0 1 3: 0 1 4: 0 1 5: 0 1 6: 0 1 7: 0 1 8: 0 1 newton_rc - Warning Previous ||FX|| = 0.000877853 Latest ||FX|| = 0.000877853 Convergence has slowed down. Convergence failure: Final X and F(X) 1: -0.57047 2.22045e-16 2: -0.681141 -2.22045e-16 3: -0.700428 0 4: -0.700672 0 5: -0.691736 0 6: -0.665767 0 7: -0.596029 0.000345846 8: -0.416584 -0.000806856 newton_rc_test Normal end of execution. 07-Jan-2022 23:16:37