Nonlinear Equations Preview

f(x)=2·x+x·yy2+290
f(y)=x·log10(y2)+x·y105
Initial Guess Values
x(0)=2
y(0)=10

Program validated. Ready to Solve.
# Example 8 - NLE System
# Solve a system of 2 nonlinear equations:
# [1] 2*x + x*y - y^2 = -290
# [2] x*log(y/2) + x*y = 105
# Verified Solution: x=5, y=20

f(x) = 2*x + x*y - y^2 + 290
f(y) = x*log(y/2) + x*y - 105

x(0) = 2
y(0) = 10

Nonlinear Equations Solution

 Variable Value f(x) Initial Guess Initial f(x)
1x5 -2.8e-12 2 2.1e+2
2y20 1.3e-12 10 -8.4e+1

Settings and Hints

 Name/SourceValueType
1 Number of equations 2 Setting
2 Implicit equations 2 Setting
3 Explicit equations 0 Setting
4 Elapsed time 0.00 sec Setting
5 Solution method safenewt Setting
6 Max iterations 150 Setting
7 Tolerance F 1e-7 Setting
8 Tolerance X 1e-7 Setting
9 Tolerance min 1e-7 Setting
10 #@report_fix_digits = 8 Default (integer)
11 #@report_show_source = true Default (boolean)
12 #@report_show_header = false Default (boolean)
13 #@report_show_settings = true Default (boolean)

Messages

 SeverityDescription
1Info-Infor- Implicit variables (2) x, y
2Info-Infor- All variables (2) x, y

Source

# Example 8 - NLE System
# Solve a system of 2 nonlinear equations:
# [1] 2*x + x*y - y^2 = -290
# [2] x*log(y/2) + x*y = 105
# Verified Solution: x=5, y=20

f(x) = 2*x + x*y - y^2 + 290
f(y) = x*log(y/2) + x*y - 105

x(0) = 2
y(0) = 10