how to find all possible stationary points of a system of nonlinear equations

2 views (last 30 days)
I stumbled across this seemingly simple problem:
I tried using fsolve, but I can only pass in a single initial guess. Is there a smart way to do this?

Answers (1)

Torsten
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!