how to find all possible stationary points of a system of nonlinear equations
12 views (last 30 days)
Show older comments
I stumbled across this seemingly simple problem:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1194343/image.png)
I tried using fsolve, but I can only pass in a single initial guess. Is there a smart way to do this?
0 Comments
Answers (1)
Torsten
on 15 Nov 2022
Edited: Torsten
on 16 Nov 2022
Your equation could become stationary if
2*x + y = pi/2 or pi + pi/2 or 2*pi+pi/2 or ... or 6*pi+pi/2
3*x + 2*y = pi/3 or pi+pi/3 or 2*pi+pi/3 or ... or 10*pi+pi/3
So solve the 7*11 possible linear systems and select those solutions for x and y for which 0<=x<=2*pi, 0<=y<=2*pi.
I get 4 solutions.
0 Comments
See Also
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!