Fri Apr 9 16:13:42 2021 fsolve_test R version 3.4.4 (2018-03-15) fsolve() solves one or more nonlinear equations. In MATLAB, fsolve() is in the Optimization toolbox. In Octave, fsolve() is directly available. In Python, fsolve() is scipy.optimize. In R, fsolve() is available through the pracma library. fsolve_test02 Use fsolve() to solve 2 nonlinear equations. The initial vector x0: [1] 3 0 The function value f(x0): [1] -13 11 The final vector x: [1] 1 1 The function value f(x): [1] -9.619328e-11 -1.235385e-10 fsolve_test03 Use fsolve() to solve 4 nonlinear equations. The initial vector x0: [1] 0 0 0 0 The function value f(x0): [1] 1 4 9 16 The final vector x: [1] 0.9999784 1.9999569 2.9999353 3.9999137 The function value f(x): [1] 4.651181e-10 1.860473e-09 4.186063e-09 7.441890e-09 fsolve_test04 Use fsolve() to solve 8 nonlinear equations. The initial vector x0: [1] 0 0 0 0 0 0 0 0 The function value f(x0): [1] 1 1 1 1 1 1 1 1 The final vector x: [1] -0.5704698 -0.6811406 -0.7004285 -0.7006725 -0.6917363 -0.6657674 -0.5960292 [8] -0.4164110 The function value f(x): [1] -2.213960e-10 -1.255562e-10 1.477924e-09 -2.519739e-09 1.553274e-09 [6] -1.128981e-09 4.821343e-10 5.562949e-10 fsolve_test Normal end of execution. Fri Apr 9 16:13:42 2021