cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Translate the entire conversation x

Non- linear equations system solution Gradient descent

GrigoriyUkraine
3-Newcomer

Non- linear equations system solution Gradient descent

Hello everyone, maybe someone can help me solve or has a ready-made solution for solving a system of nonlinear equations by the gradient descent method. I use PTC Mathcad Express Prime 9.0.0.0

_12762755_0-1737536391415.png

 

ACCEPTED SOLUTION

Accepted Solutions

Incorrect, check the results. You have a square z in the first row, instead of just z.

LucMeekes_0-1737545566490.png

LucMeekes_1-1737545632140.png

There are two possible solutions, one is: 1, 1, 3/10 (exactly).

Proof:

LucMeekes_2-1737545712162.png

 

The other is approximately

LucMeekes_4-1737546049664.png

 

Success!
Luc

 

View solution in original post

10 REPLIES 10

This is one solution but is possibly not the only one.

Capture.JPG

Thanks can you send a file?

Incorrect, check the results. You have a square z in the first row, instead of just z.

LucMeekes_0-1737545566490.png

LucMeekes_1-1737545632140.png

There are two possible solutions, one is: 1, 1, 3/10 (exactly).

Proof:

LucMeekes_2-1737545712162.png

 

The other is approximately

LucMeekes_4-1737546049664.png

 

Success!
Luc

 

Cornel
19-Tanzanite
(To:LucMeekes)

I think there are in fact eight solutions (or at least eight)...:
Cornel_0-1737546038596.png

 

Thaks a lot 

 

 

LucMeekes
23-Emerald IV
(To:Cornel)

I guess you are right. The solution with x=-0.853 is one of a 7th order polynomial.

 

Luc

 

As Cornel noted, there are 8 solutions.  The attached shows how to find them in an Express version of Prime, where there are no solve blocks available.

Just set the value of "column" to any integer between 0 and 7 inclusive to find the various solutions.  (I used Prime 8 Express, so you should be able to load it directly into Prime 9 Express).

 

Alan

LucMeekes
23-Emerald IV
(To:AlanStevens)

Thanks Alan for this nice algorithm.

I've created a function Solve for it that (of course) works in Prime Express:

LucMeekes_0-1737582724304.png

Enjoy!
Luc

 

Very clever solve function definition Luc, well done!

 

Alan

Announcements

Top Tags