public class ZeroSystemEx2 extends Object
ZeroSystem Example 2: Solves a system of nonlinear equations with logging enabled.
The following system is solved with a higher relative error tolerance and logging enabled. $$ \begin{align} y_0 &= 0.5 * x_0 + x_1 + 0.5 * x_2 - x_5 / x_6 \\ y_1 &= x_2 + x_3 + 2 * x_4 - 2.0 / x_6 \\ y_2 &= x_0 + x_1 + x_4 - 1 / x_6 \\ y_3 &= -28837 * x_0 - 139009 * x_1 - 78213 * x_2 + 18927 x_3 + 8427 * x_4 + 13492 / x_6 - 10690 * x_5 / x_6 \\ y_4 &= x_0 + x_1 + x_2 + x_3 + x_4 - 1 \\ y_5 &= 400 * x_0 * x_3 * x_3 * x_3 - 178370.0 * x_2 * x_4 \\ y_6 &= x_0 * x_2 - 2.6058 * x_1 * x_3 \end{align} $$Constructor and Description |
---|
ZeroSystemEx2() |
public static void main(String[] args) throws IMSLException
IMSLException
Copyright © 2020 Rogue Wave Software. All rights reserved.