# NLE System: Solve 2 nonlinear equations:
# 2*x + x*y - y^2 = -290
# 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 Preview

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

Program validated. Ready to Solve.

Nonlinear Equations Solution

 VariableValuef(x)Initial GuessInitial f(x)
1x5-2.8e-1222.1e+2
2y201.3e-1210-8.4e+1

Iteration Progress

Chart

log10(maxᵢ|fᵢ(x)|) measures the largest absolute equation residual per iteration.
Lower values indicate a better solution.
For example, -7 means every equation residual is at most approximately 10⁻⁷.
The red line shows the configured function-residual tolerance.

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)
14 #@report_show_charts = true Default (boolean)
15 #@chart_size = 428,300 Default (array)

Messages

 SeverityDescription
1ℹ️ InfoImplicit variables (2) x, y
2ℹ️ InfoAll variables (2) x, y
3ℹ️ InfoSolved using the primary nonlinear equations solver Method 1 (Safe-Newton); 5 iterations in this attempt.

Source

# NLE System: Solve 2 nonlinear equations:
# 2*x + x*y - y^2 = -290
# 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