Exploring nonlinear wave dynamics and stability in the Jaulent–Miodek equation: an extended direct algebraic method with LM-ANN | Synapse