An example of solving a system of nonlinear equations, when all (real) solutions are found for one initial approximation. To make it easier to understand the program text, a description of the solution method is provided separately in PDF format.

Draghilev’s_method_pdf.pdf

3_EQUATIONS.mw

Using the curve, the projection of which from the space R^4 to R^3 we see in the figure, we find good approximations to the solution. For each solution, the program prints out the norm of the discrepancy of the entire system of equations and shows a simple graph when the additional variable intersects R^3 . At this moment of intersection, the solution of our system is fixed.
System of equations and initial approximation.

 

f1 := x1^2+x2^2-x3^2; 
f2 := (x1-1)^4+x2^4+(x3-2)^4-81; 
f3 := x3-3*tan(.4*x2); 
x01, x02, x03 := 1, 1, 1




Old link to a similar example, where the dimension of the system of equations is 2, and we can see the auxiliary curve completely in R^3.


Please Wait...