I am trying to solve some nonlinear systems by Newton's method and the solution accuracy is very important to my problem.
without using the symbolic computation softwares, how can I compute the Jacobian of a general nonlinear system of polynomials via C++ or other similar programming languages? The difficulties for me are mainly:
- as accurate as symbolic Jacobian
- an algorithm suitable for general nonlinear system cases
- only dependent on C++ or similar programming languages;
If I have to use finite difference method to obtain an approximate Jacobian, how the step size chosen would affect the final solution accuracy? how to determine the step size so that I can obtain best solution accuracy under the same computation precision level? How to determine (quantitatively) the effects of approximate Jacobian on the accuracy of the final solution?