I face the challenge to solve systems of nonlinear equations including trigonometric functions like this one:
$$ y_1 = x_1 \\ y_2 = x_2 \\ \dot{y}_1 = u_1 \cos(x_3) \\ \dot{y}_2 = u_1 \sin(x_3) \\ \ddot{y}_1 = \dot{u_1} \cos(x_3) - u_1^2 \tan(u_2) \sin(x_3) \\ \ddot{y}_2 = \dot{u_1} \sin(x_3) + u_1^2 \tan(u_2) \cos(x_3) \\ $$
I need to solve this system to $x_{1,2,3},u_{1,2},\dot{u}_1$, so the derivative of $u_1$ is allowed to remain.
I know a solution is
$$ x_1 = y_1 \\ x_2 = y_2 \\ x_3 = \arctan(\dot{y}_2/\dot{y}_1) \\ u_1 = \frac{\dot{y}_1}{\cos(\arctan(\dot{y}_2/\dot{y}_1))} \\ u_2 = \Psi_1(y_1,y_2,\dot{y}_1,\dot{y}_2,\ddot{y}_1,\ddot{y}_2) \\ \dot{u}_1 = \Psi_2(y_1,y_2,\dot{y}_1,\dot{y}_2,\ddot{y}_1,\ddot{y}_2) $$
as shown in this paper. I'm particular interested in the $\Psi_{1,2}$ equations not shown.
How can one solve systems of equations like that using CAS tools like MuPad, Maple and others? I tried using the solve() function of MuPad but didn't get it. Although a by-hand solution might be possible as well, I got similar but larger equations which also have to be solved.
I should add that in my case a approximate numerical solution (if possible) would be also fine (no symbolic notation needed).
Thanks in advance, Clemens
In Maple the
solve
andeliminate
command can be useful.Below I'll
lprint
the solutions, for legibility here.We can resubstitute and check those answers.