|
Summary
|
|
|
The differential equation (DE) theme for Maple 11 is the exploration of the geometrical structure underlying a DE. Thus for 2nd order nonlinear Ordinary Differential Equations (ODEs), new algorithms were developed to solve entire classes in terms of elliptic functions.
|
|
For 1st order ODEs, the nonlinear Abel AIR class, as well as those admitting conformal symmetries, are now all entirely solvable in terms of hypergeometric and elliptic functions.
|
|
For Partial Differential Equations (PDEs) the geometrical structure is also reflected in their symmetries, which is the subject of this release, together with the related group invariant solutions, representing the most important advancement of the last 5 years in the Maple libraries for the exact solution of PDEs.
|
|
|
Exact Solutions
|
|
|
Ordinary Differential Equations (ODEs)
|
|
|
New solutions in terms of elliptic functions for 2nd order nonlinear equations
|
|
|
New solving algorithms for various classes of nonlinear 2nd order ODEs admitting solutions expressible in terms of the WeierstrassP or any of the 12 JacobiPQ elliptic functions. These classes of equations admit only one point symmetry and the related reduction of order leads to 1st order nonlinear Abel ODEs, a problem for which Maple 11 also presents new algorithms.
|
>
|
PDEtools:-declare(y(x), prime=x);
|
| |
| (1) |
>
|
diff(y(x), x, x) = 4/x*diff(y(x), x) + 6/x^2*y(x)^2 - 6/x^2*y(x) - 1/2*x^2*a;
|
| (2) |
| (3) |
>
|
diff(y(x), x, x) = 2/x*a/(x+a)*diff(y(x), x) + 2*k^2/x^2/(x+a)^4*y(x)^3 + (-2*x^3*a+(-k^2-1-6*a^2)*x^2 - 6*a^3*x - 2*a^4)/x^2/(x+a)^4*y(x);
|
|
The algorithm underlying the output above can compute solutions free of integrals whenever they are linear in WeierstrassP or any of the 12 JacobiPQ functions.
|
|
|
New option singsol = <none, essential, all> and new elliptic function solutions for high degree 1st order nonlinear ODE
|
|
|
High-degree equations are nonlinear in the highest derivative. In addition to their general solution, these equations admit singular solutions automatically computed by dsolve.
|
|
The novelty in Maple 11 is twofold. You can now specify whether to compute all, none, or only the essential singular solutions by passing an extra argument . Also, instead of the standard general solution composing fractional powers with RootOf of elliptic functions or uncomputed integrals, dsolve now computes these general solutions with no RootOfs and no uncomputed integrals but directly as explicit solutions linear in JacobiPQ, WeierstrassP, and WeierstrassPPrime elliptic functions when that is possible.
|
|
Two examples quadratic in y'. To see the general solution, pass only (it also saves the time dsolve would spend splitting the problem into cases and computing the singular solutions).
|
>
|
(-2/x^3*y(x)+1/x^2*diff(y(x),x))^2-1-b^2/x^8*y(x)^4-(-b^2-1)/x^4*y(x)^2 = 0;
|
| (6) |
>
|
dsolve((6), singsol = none);
|
| (7) |
|
The singular solutions for these high-degree ODEs are frequently the roots of some related high-degree polynomial. To see this polynomial representing an implicit singular solution instead of their roots, use the optional argument implicit.
|
>
|
(-2/x^3*y(x)+1/x^2*diff(y(x),x))^2+1/x^2*y(x)*a-4/x^6*y(x)^3+b = 0;
|
| (8) |
>
|
dsolve((8), implicit); # implicit avoids computing the roots of the cube
|
| (9) |
>
|
-(x+a)^6*(y(x) + x*diff(y(x),x))^3 + 1/2*a^3/b^3 - 27/2*x^4*y(x)^4 - 27*b/c*x^2*y(x)^2 - 27/2*b^2/c^2 - 3/2*a/b*(x+a)^4*(y(x)+x*diff(y(x),x))^2 = 0;
|
| (10) |
>
|
[dsolve((10), implicit)];
|
| (11) |
>
|
map(odetest, (11), (10)); # verify these results for correctness
|
|
|
New solutions in terms of hypergeometric functions for 1st order Abel equations of the AIR class
|
|
|
The new solving algorithms for first order Abel ODEs of the 3-parameter AIR class can solve the entire class of equations having rational coefficients by resolving an equivalence to the seed representative (see references) under changes of variables of the form x -> F(x), y(x) -> (P(x) y(x) + Q(x))/(R(x) y(x) + S(x)), for rational mappings F, P, Q, R, S. In addition, for restricted subclasses, the algorithms implemented can compute the solution also when these mappings, and the coefficients in the corresponding ODE, are non-rational. The Abel AIR class is presented as entirely solvable for the first time in the literature now with Maple 11.
|
|
Two examples involving non-rational coefficients
|
>
|
diff(y(x),x) = y(x)/x/(ln(x)*y(x)+(-ln(x)+b)*(-ln(x)+c));
|
| (13) |
| (14) |
|
An example whose implicit solution can be obtained in terms of HeunC
|
>
|
diff(y(x),x) = y(x)*(y(x)-1)*exp(x)/(y(x)*a+exp(2*x)-exp(x)*c);
|
| (15) |
| (16) |
>
|
diff(y(x),x) = ((3+3*x^4+3*x^2-6*x^3+6*x)*y(x)^2 + (3*x^5+30*x^4-26*x^6-3*x^3-15*x^7+2*x^8)*y(x) - x^7*(29*x^3-31-27*x+x^5+21*x^2+5*x^4))/((x^4+x^2+1)*y(x) + x^3*(x^3+x-3*x^2+x^5-1-x^4))/x;
|
| (17) |
|
|
New solutions for 1st order equations admitting conformal symmetries
|
|
|
In his original symmetry work, Sophus Lie was the first to observe that nonlinear first ODEs with conformal symmetries can have their solutions computed by quadratures. The infinitesimal generators [xi(x, y), eta(x, y)] of a conformal symmetry satisfy the conditions xi[x] = eta[y] and xi[y] = -eta[x], where [x] means differentiation with respect to x. In the framework of the Maple libraries, the key observation is that ODEs possessing this type of symmetry can systematically be transformed into equations admitting infinitesimals separable by product - a problem for which Maple implemented solving algorithms in Maple 6 (see references).
|
>
|
diff(y(x),x) = tan(x*y(x));
|
>
|
dsolve((19), implicit);
|
| (20) |
|
|
Enhanced computation of solutions in terms of hypergeometric functions for 3rd and higher order linear equations
|
|
|
There are improvements in the solving algorithms for third and higher order linear ODEs to compute solutions expressible in terms of hypergeometric functions.
|
>
|
diff(y(x),x,x,x,x) = -15/2*x/(x^4+3)*diff(y(x),x)-45/2*x^2/(x^4+3)*diff(y(x),x,x)-10*x^3/(x^4+3)*diff(y(x),x,x,x)+15/16*y(x)/(x^4+3);
|
| (22) |
|
|
|
Partial Differential Equations (PDEs): separability, symmetry analysis and group invariant solutions
|
|
|
Nineteen new commands were added to PDEtools to perform the steps of the traditional symmetry analysis of PDE systems, as well as to automatically compute infinitesimal symmetry generators and related exact group invariant solutions departing directly from the given PDE system. The new set of commands includes one for reducing one PDE system taking into account another one. Among the old PDEtools commands, separability has been extended to determining the separability by sum or by product of PDE systems. Formerly it could determine the separability only of a single PDE.
|
|
Separability of PDE systems
|
|
|
Given a nonlinear PDE system with two unknowns, u, and v, of three independent variables x, y, and z, invoke the declare facility to avoid redundancy in the display of the output. Derivatives are displayed as indexed objects.
|
| (23) |
| |
| (24) |
>
|
sys := [diff(u(x,y,z),x,y,z)*v(x,y,z) + diff(u(x,y,z),x,y)*diff(v(x,y,z),z) + diff(u(x,y,z),x,z)*diff(v(x,y,z),y) + diff(u(x,y,z),x)*diff(v(x,y,z),y,z) + diff(u(x,y,z),y,z)*diff(v(x,y,z),x) + diff(u(x,y,z),y)*diff(v(x,y,z),x,z) + diff(u(x,y,z),z)*diff(v(x,y,z),x,y) + u(x,y,z)*diff(v(x,y,z),x,y,z) = 0, diff(u(x,y,z),x,y,z) + diff(v(x,y,z),x,y,z) = 0];
|
| (25) |
|
As in the case of a single PDE, for PDE systems, unless indicated otherwise, the test is regarding separability by sum.
|
|
Note that these separability test results are obtained only considering related integrability conditions, not actually separating the variables. Regarding separation by product,
|
>
|
remain := [separability(sys, `*`)];
|
| (27) |
|
This result means no separable solution exists unless the three equations above are zero, that is, there is no solution really involving the product of three functions respectively depending on x, y, z. That does not mean no separable solution exists where one or both of the unknowns {u(x, y, z), v(x, y, z)} depend on less variables (that is, is a constant with respect to one or more of x, y, z). For example, consider the following restriction:
|
>
|
restriction := [u(x,y,z) = u(x,z), v(x,y,z) = v(y,z)];
|
| (28) |
|
Evaluate remain at this restriction
|
>
|
eval(remain, restriction);
|
|
So with this restriction the separability conditions are satisfied. In any case, the solutions separable by `+` and by `*` can be computed with pdsolve using the HINT option. For this particular system, only the solutions separable by `+` have u and v depending on the three variables.
|
>
|
pdsolve(sys, HINT = `+`);
|
| (30) |
>
|
pdetest((30), sys); # verify results - see ?pdetest
|
>
|
pdsolve(sys, HINT = `*`);
|
| (32) |
|
|
Symmetry analysis and group invariant solutions for PDE systems
|
|
|
Using the new symmetry commands of PDEtools, the entire symmetry "analysis & solutions" cycle can be performed, automatically or step by step. Consider for instance
|
| (34) |
>
|
PDE := diff(u(x,t),x,x) - diff(u(x,t), t) = 0;
|
>
|
DetSys := DeterminingPDE(PDE);
|
| (36) |
| (37) |
|
Alternatively, you can call the new Infinitesimals command with PDE as the argument.
|
>
|
G := Infinitesimals(PDE);
|
| (38) |
>
|
SymmetryTransformation(G[1], u(x,t), v(r,s));
|
| (39) |
|
Solve this transformation for {x, t, u}
|
>
|
TR := solve((39), {x,t, u(x,t)});
|
| (40) |
|
Applying now this transformation to PDE (see dchange) you obtain again PDE, that is, the meaning of "transformation leaving invariant the PDE."
|
>
|
dchange(TR, (41), [r,s, v(r,s)]);
|
>
|
SimilarityTransformation(G[1], u(x,t), v(r,s), jetnotation = false);
|
| (43) |
|
In the above, the new variables are v(s). Change variables now in PDE to obtain a reduction in the number of independent variables
|
|
Alternatively, the group invariant transformations (and their inverses) reducing the number of independent variables can be obtained for all the symmetries G computed above by calling the InvariantTransformation command with all the symmetries at once.
|
>
|
[InvariantTransformation([G], u(x,t), v(r,s))];
|
| (45) |
|
Change variables for instance using the transformation in the second list above. The transformation, new variables, and resulting reduced PDE are as follows:
|
>
|
(45)[2][2], map(rhs, [op((45)[2][2])]);
|
| (46) |
>
|
dchange((46)[1], PDE, (46)[2]);
|
|
Solving this transformed PDE (now it is an easier ODE problem) and changing variables back, you obtain the solution to the original PDE. Alternatively, you can perform this entire symmetry cycle automatically, in one step, by directly computing the group invariant solutions of PDE via
|
>
|
[InvariantSolutions(PDE)];
|
| (48) |
|
This new Maple InvariantSolutions command is unique among the symbolic computation implementations available. The command automatically reduces, in one step, up to all but one of the independent variables of a PDE system transforming it into an ODE problem. The command accomplishes this by making simultaneous use of the whole symmetry group, not just one symmetry at a time. It is also possible to provide InvariantSolutions with the dependency expected in the solutions, as well as various other indicators that could make the solution more suitable to your application.
|
|
|
|
|
Numeric Solutions and related Plotting
|
|
•
|
An important number of efficiency improvements have been made for computing numerical solutions of initial value problems for ODEs and differential-algebraic equations (DAEs). These are primarily focused on difficult or large problems.
|
•
|
The DEplot command has been enhanced and given a graphical interface.
|
|
Large DAE problems
|
|
|
The following example is a rather large and complex system of DAEs for the Stewart platform. This is a platform that is connected to the ground by 6 arms, all of which can expand and contract, and the connections (joints) provide several degrees of freedom.
|
>
|
stEQs := {z_P(t)-1.*cos(beta_2(t))*s_2(t)-.9659258263*cos(xi_P(t))*sin(eta_P(t
))*cos(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(zeta_P(t))+.2588190451*sin(xi_P
(t))*sin(eta_P(t))*cos(zeta_P(t))+.2588190451*cos(xi_P(t))*sin(zeta_P(t))-.8288000000*cos(beta_2(t)), x_P(t)-1.*sin(beta_2(t))*cos(alpha_2(t))*s_2(t)-1.931851653+.9659258263*cos(xi_P(t))*cos(eta_P(t))-.2588190451*sin(xi_P(t))*cos(
eta_P(t))-.8288000000*sin(beta_2(t))*cos(alpha_2(t)), -.3200000000e-6*(-1.+cos
(beta_1(t))^2)*(2135569.+3125000.*s_1(t)^2+2590000.*s_1(t))*diff(diff(alpha_1(
t),t),t)+(sin(beta_1(t))*sin(alpha_1(t))*s_1(t)+.8288000000*sin(beta_1(t))*sin
(alpha_1(t)))*lambda1(t)+(-1.*sin(beta_1(t))*cos(alpha_1(t))*s_1(t)-.8288000000*sin(beta_1(t))*cos(alpha_1(t)))*lambda2(t)+.6400000000e-6*sin(beta_1(t))*(
1295000.*sin(beta_1(t))*diff(s_1(t),t)+3125000.*s_1(t)^2*cos(beta_1(t))*diff(
beta_1(t),t)+3125000.*sin(beta_1(t))*s_1(t)*diff(s_1(t),t)+2590000.*s_1(t)*cos
(beta_1(t))*diff(beta_1(t),t)+2135569.*cos(beta_1(t))*diff(beta_1(t),t))*diff(
alpha_1(t),t), -.3200000000e-6*(-1.+cos(beta_5(t))^2)*(2590000.*s_5(t)+2135569.+3125000.*s_5(t)^2)*diff(diff(alpha_5(t),t),t)+(sin(beta_5(t))*sin(alpha_5(t)
)*s_5(t)+.8288000000*sin(beta_5(t))*sin(alpha_5(t)))*lambda13(t)+(-1.*sin(
beta_5(t))*cos(alpha_5(t))*s_5(t)-.8288000000*sin(beta_5(t))*cos(alpha_5(t)))*
lambda14(t)+.6400000000e-6*sin(beta_5(t))*(2135569.*cos(beta_5(t))*diff(beta_5
(t),t)+3125000.*s_5(t)^2*cos(beta_5(t))*diff(beta_5(t),t)+3125000.*sin(beta_5(
t))*s_5(t)*diff(s_5(t),t)+2590000.*s_5(t)*cos(beta_5(t))*diff(beta_5(t),t)+
1295000.*sin(beta_5(t))*diff(s_5(t),t))*diff(alpha_5(t),t), -.3200000000e-6*(-1.+cos(beta_4(t))^2)*(2135569.+2590000.*s_4(t)+3125000.*s_4(t)^2)*diff(diff(
alpha_4(t),t),t)+(sin(beta_4(t))*sin(alpha_4(t))*s_4(t)+.8288000000*sin(beta_4
(t))*sin(alpha_4(t)))*lambda10(t)+(-1.*sin(beta_4(t))*cos(alpha_4(t))*s_4(t)-.8288000000*sin(beta_4(t))*cos(alpha_4(t)))*lambda11(t)+.6400000000e-6*sin(
beta_4(t))*(1295000.*sin(beta_4(t))*diff(s_4(t),t)+3125000.*s_4(t)^2*cos(
beta_4(t))*diff(beta_4(t),t)+3125000.*sin(beta_4(t))*s_4(t)*diff(s_4(t),t)+
2590000.*s_4(t)*cos(beta_4(t))*diff(beta_4(t),t)+2135569.*cos(beta_4(t))*diff(
beta_4(t),t))*diff(alpha_4(t),t), -.3200000000e-6*(-1.+cos(beta_3(t))^2)*(
2135569.+2590000.*s_3(t)+3125000.*s_3(t)^2)*diff(diff(alpha_3(t),t),t)+(sin(
beta_3(t))*sin(alpha_3(t))*s_3(t)+.8288000000*sin(beta_3(t))*sin(alpha_3(t)))*
lambda7(t)+(-1.*sin(beta_3(t))*cos(alpha_3(t))*s_3(t)-.8288000000*sin(beta_3(t
))*cos(alpha_3(t)))*lambda8(t)+.6400000000e-6*sin(beta_3(t))*(1295000.*sin(
beta_3(t))*diff(s_3(t),t)+2135569.*cos(beta_3(t))*diff(beta_3(t),t)+3125000.*
s_3(t)^2*cos(beta_3(t))*diff(beta_3(t),t)+2590000.*s_3(t)*cos(beta_3(t))*diff(
beta_3(t),t)+3125000.*sin(beta_3(t))*s_3(t)*diff(s_3(t),t))*diff(alpha_3(t),t)
, -.3200000000e-6*(-1.+cos(beta_2(t))^2)*(2590000.*s_2(t)+2135569.+3125000.*
s_2(t)^2)*diff(diff(alpha_2(t),t),t)+(sin(beta_2(t))*sin(alpha_2(t))*s_2(t)+.8288000000*sin(beta_2(t))*sin(alpha_2(t)))*lambda4(t)+(-1.*sin(beta_2(t))*cos(
alpha_2(t))*s_2(t)-.8288000000*sin(beta_2(t))*cos(alpha_2(t)))*lambda5(t)+.6400000000e-6*sin(beta_2(t))*(2135569.*cos(beta_2(t))*diff(beta_2(t),t)+
3125000.*sin(beta_2(t))*s_2(t)*diff(s_2(t),t)+3125000.*s_2(t)^2*cos(beta_2(t))
*diff(beta_2(t),t)+2590000.*s_2(t)*cos(beta_2(t))*diff(beta_2(t),t)+1295000.*
sin(beta_2(t))*diff(s_2(t),t))*diff(alpha_2(t),t), -.3200000000e-6*(-1.+cos(
beta_6(t))^2)*(2590000.*s_6(t)+2135569.+3125000.*s_6(t)^2)*diff(diff(alpha_6(t
),t),t)+(sin(beta_6(t))*sin(alpha_6(t))*s_6(t)+.8288000000*sin(beta_6(t))*sin(
alpha_6(t)))*lambda16(t)+(-1.*sin(beta_6(t))*cos(alpha_6(t))*s_6(t)-.8288000000*sin(beta_6(t))*cos(alpha_6(t)))*lambda17(t)+.6400000000e-6*sin(beta_6(t))*(
1295000.*sin(beta_6(t))*diff(s_6(t),t)+3125000.*s_6(t)^2*cos(beta_6(t))*diff(
beta_6(t),t)+3125000.*sin(beta_6(t))*s_6(t)*diff(s_6(t),t)+2590000.*s_6(t)*cos
(beta_6(t))*diff(beta_6(t),t)+2135569.*cos(beta_6(t))*diff(beta_6(t),t))*diff(
alpha_6(t),t), x_P(t)-1.*sin(beta_5(t))*cos(alpha_5(t))*s_5(t)+1.931851653-.8288000000*sin(beta_5(t))*cos(alpha_5(t))-.9659258263*cos(xi_P(t))*cos(eta_P(t))
-.2588190451*sin(xi_P(t))*cos(eta_P(t)), (-5*cos(eta_P(t))^2+10)*diff(diff(
zeta_P(t),t),t)+10*diff(diff(xi_P(t),t),t)*sin(eta_P(t))+(.7071067812*cos(xi_P
(t))*sin(eta_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.7071067812*cos(xi_P(t))*sin
(zeta_P(t)))*lambda2(t)+(.7071067812*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))
+.7071067812*sin(xi_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(eta_P(t)
)*sin(zeta_P(t))+.7071067812*cos(xi_P(t))*cos(zeta_P(t)))*lambda3(t)+(.9659258263*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.9659258263*sin(xi_P(t))*sin(
zeta_P(t))-.2588190451*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.2588190451*
cos(xi_P(t))*sin(zeta_P(t)))*lambda5(t)+(.9659258263*cos(xi_P(t))*sin(eta_P(t)
)*sin(zeta_P(t))+.9659258263*sin(xi_P(t))*cos(zeta_P(t))-.2588190451*sin(xi_P(
t))*sin(eta_P(t))*sin(zeta_P(t))+.2588190451*cos(xi_P(t))*cos(zeta_P(t)))*
lambda6(t)+(.2588190451*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.2588190451*
sin(xi_P(t))*sin(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(
t))+.9659258263*cos(xi_P(t))*sin(zeta_P(t)))*lambda8(t)+(.2588190451*cos(xi_P(
t))*sin(eta_P(t))*sin(zeta_P(t))+.2588190451*sin(xi_P(t))*cos(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.9659258263*cos(xi_P(t))*cos(
zeta_P(t)))*lambda9(t)+(-.2588190451*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))
+.2588190451*sin(xi_P(t))*sin(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(eta_P(t)
)*cos(zeta_P(t))+.9659258263*cos(xi_P(t))*sin(zeta_P(t)))*lambda11(t)+(-.2588190451*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.2588190451*sin(xi_P(t))*cos(
zeta_P(t))+.9659258263*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.9659258263*
cos(xi_P(t))*cos(zeta_P(t)))*lambda12(t)+(-.9659258263*cos(xi_P(t))*sin(eta_P(
t))*cos(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(zeta_P(t))-.2588190451*sin(
xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.2588190451*cos(xi_P(t))*sin(zeta_P(t)))
*lambda14(t)+(-.9659258263*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.9659258263*sin(xi_P(t))*cos(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(eta_P(t))*sin(
zeta_P(t))+.2588190451*cos(xi_P(t))*cos(zeta_P(t)))*lambda15(t)+(-.7071067812*
cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))+.7071067812*sin(xi_P(t))*sin(zeta_P(
t))-.7071067812*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.7071067812*cos(xi_P
(t))*sin(zeta_P(t)))*lambda17(t)+(-.7071067812*cos(xi_P(t))*sin(eta_P(t))*sin(
zeta_P(t))-.7071067812*sin(xi_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*
sin(eta_P(t))*sin(zeta_P(t))+.7071067812*cos(xi_P(t))*cos(zeta_P(t)))*lambda18
(t)+10*cos(eta_P(t))*(sin(eta_P(t))*diff(zeta_P(t),t)+diff(xi_P(t),t))*diff(
eta_P(t),t), z_P(t)-1.*cos(beta_5(t))*s_5(t)-.8288000000*cos(beta_5(t))+.9659258263*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.9659258263*sin(xi_P(t))*sin(
zeta_P(t))+.2588190451*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))+.2588190451*
cos(xi_P(t))*sin(zeta_P(t)), 5*diff(diff(eta_P(t),t),t)+(-.7071067812*cos(xi_P
(t))*sin(eta_P(t))+.7071067812*sin(xi_P(t))*sin(eta_P(t)))*lambda1(t)+(.7071067812*sin(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))-.7071067812*sin(zeta_P(t))*sin(
xi_P(t))*cos(eta_P(t)))*lambda2(t)+(-.7071067812*cos(zeta_P(t))*cos(xi_P(t))*
cos(eta_P(t))+.7071067812*cos(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*lambda3(t
)+(-.9659258263*cos(xi_P(t))*sin(eta_P(t))+.2588190451*sin(xi_P(t))*sin(eta_P(
t)))*lambda4(t)+(.9659258263*sin(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))-.2588190451*sin(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*lambda5(t)+(-.9659258263*cos(
zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))+.2588190451*cos(zeta_P(t))*sin(xi_P(t))*
cos(eta_P(t)))*lambda6(t)+(-.2588190451*cos(xi_P(t))*sin(eta_P(t))-.9659258263
*sin(xi_P(t))*sin(eta_P(t)))*lambda7(t)+(.2588190451*sin(zeta_P(t))*cos(xi_P(t
))*cos(eta_P(t))+.9659258263*sin(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*
lambda8(t)+(-.2588190451*cos(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))-.9659258263
*cos(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*lambda9(t)+(.2588190451*cos(xi_P(t
))*sin(eta_P(t))-.9659258263*sin(xi_P(t))*sin(eta_P(t)))*lambda10(t)+(-.2588190451*sin(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))+.9659258263*sin(zeta_P(t))*sin(
xi_P(t))*cos(eta_P(t)))*lambda11(t)+(.2588190451*cos(zeta_P(t))*cos(xi_P(t))*
cos(eta_P(t))-.9659258263*cos(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*lambda12(
t)+(.9659258263*cos(xi_P(t))*sin(eta_P(t))+.2588190451*sin(xi_P(t))*sin(eta_P(
t)))*lambda13(t)+(-.9659258263*sin(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))-.2588190451*sin(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*lambda14(t)+(.9659258263*cos
(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))+.2588190451*cos(zeta_P(t))*sin(xi_P(t))
*cos(eta_P(t)))*lambda15(t)+(.7071067812*cos(xi_P(t))*sin(eta_P(t))+.7071067812*sin(xi_P(t))*sin(eta_P(t)))*lambda16(t)+(-.7071067812*sin(zeta_P(t))*cos(
xi_P(t))*cos(eta_P(t))-.7071067812*sin(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*
lambda17(t)+(.7071067812*cos(zeta_P(t))*cos(xi_P(t))*cos(eta_P(t))+.7071067812
*cos(zeta_P(t))*sin(xi_P(t))*cos(eta_P(t)))*lambda18(t)-5*cos(eta_P(t))*diff(
zeta_P(t),t)*(2*diff(xi_P(t),t)+sin(eta_P(t))*diff(zeta_P(t),t)), x_P(t)-1.*
sin(beta_6(t))*cos(alpha_6(t))*s_6(t)-.8288000000*sin(beta_6(t))*cos(alpha_6(t
))+.5176380902-.7071067812*cos(xi_P(t))*cos(eta_P(t))-.7071067812*sin(xi_P(t))
*cos(eta_P(t)), y_P(t)-1.*sin(beta_3(t))*sin(alpha_3(t))*s_3(t)+1.414213562+.2588190451*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))+.2588190451*sin(xi_P(t))*
cos(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.9659258263*cos(xi_P(t))*cos(zeta_P(t))-.8288000000*sin(beta_3(t))*sin(alpha_3(t)), y_P
(t)-1.*sin(beta_6(t))*sin(alpha_6(t))*s_6(t)-.8288000000*sin(beta_6(t))*sin(
alpha_6(t))-1.931851653-.7071067812*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.7071067812*sin(xi_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(eta_P(t))
*sin(zeta_P(t))+.7071067812*cos(xi_P(t))*cos(zeta_P(t)), (.6833820800+s_1(t)^2
+.8288000000*s_1(t))*diff(diff(beta_1(t),t),t)+(-1.*cos(alpha_1(t))*cos(beta_1
(t))*s_1(t)-.8288000000*cos(beta_1(t))*cos(alpha_1(t)))*lambda1(t)+(-1.*sin(
alpha_1(t))*cos(beta_1(t))*s_1(t)-.8288000000*cos(beta_1(t))*sin(alpha_1(t)))*
lambda2(t)+(sin(beta_1(t))*s_1(t)+.8288000000*sin(beta_1(t)))*lambda3(t)+2.*
s_1(t)*diff(beta_1(t),t)*diff(s_1(t),t)-12.19579200*sin(beta_1(t))-.6833820800
*cos(beta_1(t))*sin(beta_1(t))*diff(alpha_1(t),t)^2-9.810000000*sin(beta_1(t))
*s_1(t)+.8288000000*diff(beta_1(t),t)*diff(s_1(t),t)-.8288000000*cos(beta_1(t)
)*s_1(t)*diff(alpha_1(t),t)^2*sin(beta_1(t))-cos(beta_1(t))*s_1(t)^2*diff(
alpha_1(t),t)^2*sin(beta_1(t)), 10*sin(eta_P(t))*diff(diff(zeta_P(t),t),t)+10*
diff(diff(xi_P(t),t),t)+(-.7071067812*sin(xi_P(t))*cos(eta_P(t))-.7071067812*
cos(xi_P(t))*cos(eta_P(t)))*lambda1(t)+(-.7071067812*cos(xi_P(t))*sin(eta_P(t)
)*sin(zeta_P(t))-.7071067812*sin(xi_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(
t))*sin(eta_P(t))*sin(zeta_P(t))+.7071067812*cos(xi_P(t))*cos(zeta_P(t)))*
lambda2(t)+(.7071067812*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))+.7071067812*
cos(xi_P(t))*sin(zeta_P(t))+.7071067812*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(
t))-.7071067812*sin(xi_P(t))*sin(zeta_P(t)))*lambda3(t)+(-.9659258263*sin(xi_P
(t))*cos(eta_P(t))-.2588190451*cos(xi_P(t))*cos(eta_P(t)))*lambda4(t)+(.9659258263*cos(xi_P(t))*cos(zeta_P(t))-.9659258263*sin(xi_P(t))*sin(eta_P(t))*sin(
zeta_P(t))-.2588190451*sin(xi_P(t))*cos(zeta_P(t))-.2588190451*cos(xi_P(t))*
sin(eta_P(t))*sin(zeta_P(t)))*lambda5(t)+(.2588190451*cos(xi_P(t))*sin(eta_P(t
))*cos(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(zeta_P(t))+.9659258263*sin(xi_P
(t))*sin(eta_P(t))*cos(zeta_P(t))+.9659258263*cos(xi_P(t))*sin(zeta_P(t)))*
lambda6(t)+(-.2588190451*sin(xi_P(t))*cos(eta_P(t))+.9659258263*cos(xi_P(t))*
cos(eta_P(t)))*lambda7(t)+(.9659258263*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t
))+.9659258263*sin(xi_P(t))*cos(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(eta_P(
t))*sin(zeta_P(t))+.2588190451*cos(xi_P(t))*cos(zeta_P(t)))*lambda8(t)+(.2588190451*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))+.2588190451*cos(xi_P(t))*sin(
zeta_P(t))-.9659258263*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))+.9659258263*
sin(xi_P(t))*sin(zeta_P(t)))*lambda9(t)+(.2588190451*sin(xi_P(t))*cos(eta_P(t)
)+.9659258263*cos(xi_P(t))*cos(eta_P(t)))*lambda10(t)+(-.2588190451*cos(xi_P(t
))*cos(zeta_P(t))+.2588190451*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))+.9659258263*sin(xi_P(t))*cos(zeta_P(t))+.9659258263*cos(xi_P(t))*sin(eta_P(t))*sin(
zeta_P(t)))*lambda11(t)+(-.9659258263*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t)
)+.9659258263*sin(xi_P(t))*sin(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(eta_P(t
))*cos(zeta_P(t))-.2588190451*cos(xi_P(t))*sin(zeta_P(t)))*lambda12(t)+(.9659258263*sin(xi_P(t))*cos(eta_P(t))-.2588190451*cos(xi_P(t))*cos(eta_P(t)))*
lambda13(t)+(-.2588190451*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.2588190451*sin(xi_P(t))*cos(zeta_P(t))+.9659258263*sin(xi_P(t))*sin(eta_P(t))*sin(
zeta_P(t))-.9659258263*cos(xi_P(t))*cos(zeta_P(t)))*lambda14(t)+(-.9659258263*
sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.9659258263*cos(xi_P(t))*sin(zeta_P(
t))+.2588190451*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.2588190451*sin(xi_P
(t))*sin(zeta_P(t)))*lambda15(t)+(.7071067812*sin(xi_P(t))*cos(eta_P(t))-.7071067812*cos(xi_P(t))*cos(eta_P(t)))*lambda16(t)+(-.7071067812*cos(xi_P(t))*cos(
zeta_P(t))+.7071067812*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))-.7071067812*
sin(xi_P(t))*cos(zeta_P(t))-.7071067812*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(
t)))*lambda17(t)+(.7071067812*cos(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(eta_P(t))*cos(
zeta_P(t))-.7071067812*cos(xi_P(t))*sin(zeta_P(t)))*lambda18(t)+10*cos(eta_P(t
))*diff(zeta_P(t),t)*diff(eta_P(t),t), 10*diff(diff(x_P(t),t),t)+lambda1(t)+
lambda4(t)+lambda7(t)+lambda10(t)+lambda13(t)+lambda16(t), 10*diff(diff(y_P(t)
,t),t)+lambda2(t)+lambda5(t)+lambda8(t)+lambda11(t)+lambda14(t)+lambda17(t),
x_P(t)-1.*sin(beta_1(t))*cos(alpha_1(t))*s_1(t)-.5176380902+.7071067812*cos(
xi_P(t))*cos(eta_P(t))-.7071067812*sin(xi_P(t))*cos(eta_P(t))-.8288000000*sin(
beta_1(t))*cos(alpha_1(t)), (.8288000000*s_2(t)+.6833820800+s_2(t)^2)*diff(
diff(beta_2(t),t),t)+(-1.*cos(alpha_2(t))*cos(beta_2(t))*s_2(t)-.8288000000*
cos(beta_2(t))*cos(alpha_2(t)))*lambda4(t)+(-1.*sin(alpha_2(t))*cos(beta_2(t))
*s_2(t)-.8288000000*cos(beta_2(t))*sin(alpha_2(t)))*lambda5(t)+(sin(beta_2(t))
*s_2(t)+.8288000000*sin(beta_2(t)))*lambda6(t)-.6833820800*cos(beta_2(t))*sin(
beta_2(t))*diff(alpha_2(t),t)^2-9.810000000*sin(beta_2(t))*s_2(t)-cos(beta_2(t
))*s_2(t)^2*diff(alpha_2(t),t)^2*sin(beta_2(t))-.8288000000*cos(beta_2(t))*s_2
(t)*diff(alpha_2(t),t)^2*sin(beta_2(t))+2.*s_2(t)*diff(beta_2(t),t)*diff(s_2(t
),t)+.8288000000*diff(beta_2(t),t)*diff(s_2(t),t)-12.19579200*sin(beta_2(t)),
z_P(t)-1.*cos(beta_1(t))*s_1(t)-.7071067812*cos(xi_P(t))*sin(eta_P(t))*cos(
zeta_P(t))+.7071067812*sin(xi_P(t))*sin(zeta_P(t))+.7071067812*sin(xi_P(t))*
sin(eta_P(t))*cos(zeta_P(t))+.7071067812*cos(xi_P(t))*sin(zeta_P(t))-.8288000000*cos(beta_1(t)), y_P(t)-1.*sin(beta_1(t))*sin(alpha_1(t))*s_1(t)-1.931851653
+.7071067812*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))+.7071067812*sin(xi_P(t)
)*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))+.7071067812*cos(xi_P(t))*cos(zeta_P(t))-.8288000000*sin(beta_1(t))*sin(alpha_1(t)), (
.6833820800+.8288000000*s_3(t)+s_3(t)^2)*diff(diff(beta_3(t),t),t)+(-1.*cos(
alpha_3(t))*cos(beta_3(t))*s_3(t)-.8288000000*cos(beta_3(t))*cos(alpha_3(t)))*
lambda7(t)+(-1.*sin(alpha_3(t))*cos(beta_3(t))*s_3(t)-.8288000000*cos(beta_3(t
))*sin(alpha_3(t)))*lambda8(t)+(sin(beta_3(t))*s_3(t)+.8288000000*sin(beta_3(t
)))*lambda9(t)+.8288000000*diff(beta_3(t),t)*diff(s_3(t),t)+2.*s_3(t)*diff(
beta_3(t),t)*diff(s_3(t),t)-9.810000000*sin(beta_3(t))*s_3(t)-.8288000000*cos(
beta_3(t))*s_3(t)*diff(alpha_3(t),t)^2*sin(beta_3(t))-cos(beta_3(t))*s_3(t)^2*
diff(alpha_3(t),t)^2*sin(beta_3(t))-.6833820800*cos(beta_3(t))*sin(beta_3(t))*
diff(alpha_3(t),t)^2-12.19579200*sin(beta_3(t)), (.6833820800+.8288000000*s_4(
t)+s_4(t)^2)*diff(diff(beta_4(t),t),t)+(-1.*cos(alpha_4(t))*cos(beta_4(t))*s_4
(t)-.8288000000*cos(beta_4(t))*cos(alpha_4(t)))*lambda10(t)+(-1.*sin(alpha_4(t
))*cos(beta_4(t))*s_4(t)-.8288000000*cos(beta_4(t))*sin(alpha_4(t)))*lambda11(
t)+(sin(beta_4(t))*s_4(t)+.8288000000*sin(beta_4(t)))*lambda12(t)+.8288000000*
diff(beta_4(t),t)*diff(s_4(t),t)-9.810000000*sin(beta_4(t))*s_4(t)-12.19579200
*sin(beta_4(t))+2.*s_4(t)*diff(beta_4(t),t)*diff(s_4(t),t)-cos(beta_4(t))*s_4(
t)^2*diff(alpha_4(t),t)^2*sin(beta_4(t))-.8288000000*cos(beta_4(t))*s_4(t)*
diff(alpha_4(t),t)^2*sin(beta_4(t))-.6833820800*cos(beta_4(t))*sin(beta_4(t))*
diff(alpha_4(t),t)^2, (.8288000000*s_5(t)+.6833820800+s_5(t)^2)*diff(diff(
beta_5(t),t),t)+(-1.*cos(alpha_5(t))*cos(beta_5(t))*s_5(t)-.8288000000*cos(
beta_5(t))*cos(alpha_5(t)))*lambda13(t)+(-1.*sin(alpha_5(t))*cos(beta_5(t))*
s_5(t)-.8288000000*cos(beta_5(t))*sin(alpha_5(t)))*lambda14(t)+(sin(beta_5(t))
*s_5(t)+.8288000000*sin(beta_5(t)))*lambda15(t)-9.810000000*sin(beta_5(t))*s_5
(t)-12.19579200*sin(beta_5(t))+.8288000000*diff(beta_5(t),t)*diff(s_5(t),t)-.6833820800*cos(beta_5(t))*sin(beta_5(t))*diff(alpha_5(t),t)^2-cos(beta_5(t))*
s_5(t)^2*diff(alpha_5(t),t)^2*sin(beta_5(t))-.8288000000*cos(beta_5(t))*s_5(t)
*diff(alpha_5(t),t)^2*sin(beta_5(t))+2.*s_5(t)*diff(beta_5(t),t)*diff(s_5(t),t
), z_P(t)-1.*cos(beta_6(t))*s_6(t)-.8288000000*cos(beta_6(t))+.7071067812*cos(
xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.7071067812*sin(xi_P(t))*sin(zeta_P(t))+
.7071067812*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))+.7071067812*cos(xi_P(t))
*sin(zeta_P(t)), y_P(t)-1.*sin(beta_2(t))*sin(alpha_2(t))*s_2(t)+.5176380902+.9659258263*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))+.9659258263*sin(xi_P(t))*
cos(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t))+.2588190451*cos(xi_P(t))*cos(zeta_P(t))-.8288000000*sin(beta_2(t))*sin(alpha_2(t)), y_P
(t)-1.*sin(beta_5(t))*sin(alpha_5(t))*s_5(t)+.5176380902-.8288000000*sin(
beta_5(t))*sin(alpha_5(t))-.9659258263*cos(xi_P(t))*sin(eta_P(t))*sin(zeta_P(t
))-.9659258263*sin(xi_P(t))*cos(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(eta_P(
t))*sin(zeta_P(t))+.2588190451*cos(xi_P(t))*cos(zeta_P(t)), (.8288000000*s_6(t
)+.6833820800+s_6(t)^2)*diff(diff(beta_6(t),t),t)+(-1.*cos(alpha_6(t))*cos(
beta_6(t))*s_6(t)-.8288000000*cos(beta_6(t))*cos(alpha_6(t)))*lambda16(t)+(-1.
*sin(alpha_6(t))*cos(beta_6(t))*s_6(t)-.8288000000*cos(beta_6(t))*sin(alpha_6(
t)))*lambda17(t)+(sin(beta_6(t))*s_6(t)+.8288000000*sin(beta_6(t)))*lambda18(t
)-12.19579200*sin(beta_6(t))+.8288000000*diff(beta_6(t),t)*diff(s_6(t),t)-9.810000000*sin(beta_6(t))*s_6(t)-.6833820800*cos(beta_6(t))*sin(beta_6(t))*diff(
alpha_6(t),t)^2-.8288000000*cos(beta_6(t))*s_6(t)*diff(alpha_6(t),t)^2*sin(
beta_6(t))-cos(beta_6(t))*s_6(t)^2*diff(alpha_6(t),t)^2*sin(beta_6(t))+2.*s_6(
t)*diff(beta_6(t),t)*diff(s_6(t),t), x_P(t)-1.*sin(beta_3(t))*cos(alpha_3(t))*
s_3(t)-1.414213562+.2588190451*cos(xi_P(t))*cos(eta_P(t))+.9659258263*sin(xi_P
(t))*cos(eta_P(t))-.8288000000*sin(beta_3(t))*cos(alpha_3(t)), x_P(t)-1.*sin(
beta_4(t))*cos(alpha_4(t))*s_4(t)-.8288000000*sin(beta_4(t))*cos(alpha_4(t))+1.414213562-.2588190451*cos(xi_P(t))*cos(eta_P(t))+.9659258263*sin(xi_P(t))*cos
(eta_P(t)), y_P(t)-1.*sin(beta_4(t))*sin(alpha_4(t))*s_4(t)-.8288000000*sin(
beta_4(t))*sin(alpha_4(t))+1.414213562-.2588190451*cos(xi_P(t))*sin(eta_P(t))*
sin(zeta_P(t))-.2588190451*sin(xi_P(t))*cos(zeta_P(t))+.9659258263*sin(xi_P(t)
)*sin(eta_P(t))*sin(zeta_P(t))-.9659258263*cos(xi_P(t))*cos(zeta_P(t)), z_P(t)
-1.*cos(beta_4(t))*s_4(t)-.8288000000*cos(beta_4(t))+.2588190451*cos(xi_P(t))*
sin(eta_P(t))*cos(zeta_P(t))-.2588190451*sin(xi_P(t))*sin(zeta_P(t))-.9659258263*sin(xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.9659258263*cos(xi_P(t))*sin(
zeta_P(t)), z_P(t)-1.*cos(beta_3(t))*s_3(t)-.2588190451*cos(xi_P(t))*sin(eta_P
(t))*cos(zeta_P(t))+.2588190451*sin(xi_P(t))*sin(zeta_P(t))-.9659258263*sin(
xi_P(t))*sin(eta_P(t))*cos(zeta_P(t))-.9659258263*cos(xi_P(t))*sin(zeta_P(t))-.8288000000*cos(beta_3(t)), diff(diff(s_6(t),t),t)-1.*sin(beta_6(t))*cos(
alpha_6(t))*lambda16(t)-1.*sin(beta_6(t))*sin(alpha_6(t))*lambda17(t)-1.*cos(
beta_6(t))*lambda18(t)-28-diff(beta_6(t),t)^2*s_6(t)+1.*diff(alpha_6(t),t)^2*
s_6(t)*cos(beta_6(t))^2+.4144000000*diff(alpha_6(t),t)^2*cos(beta_6(t))^2-diff
(alpha_6(t),t)^2*s_6(t)-.4144000000*diff(beta_6(t),t)^2-.4144000000*diff(
alpha_6(t),t)^2+9.810000000*cos(beta_6(t)), diff(diff(s_5(t),t),t)-1.*sin(
beta_5(t))*cos(alpha_5(t))*lambda13(t)-1.*sin(beta_5(t))*sin(alpha_5(t))*
lambda14(t)-1.*cos(beta_5(t))*lambda15(t)+1.*diff(alpha_5(t),t)^2*s_5(t)*cos(
beta_5(t))^2+9.810000000*cos(beta_5(t))-28-.4144000000*diff(beta_5(t),t)^2-
diff(beta_5(t),t)^2*s_5(t)-diff(alpha_5(t),t)^2*s_5(t)+.4144000000*diff(
alpha_5(t),t)^2*cos(beta_5(t))^2-.4144000000*diff(alpha_5(t),t)^2, diff(diff(
s_4(t),t),t)-1.*sin(beta_4(t))*cos(alpha_4(t))*lambda10(t)-1.*sin(beta_4(t))*
sin(alpha_4(t))*lambda11(t)-1.*cos(beta_4(t))*lambda12(t)+.4144000000*diff(
alpha_4(t),t)^2*cos(beta_4(t))^2-.4144000000*diff(alpha_4(t),t)^2+9.810000000*
cos(beta_4(t))-28-3.0*sin(4*Pi*t)-diff(alpha_4(t),t)^2*s_4(t)+1.*diff(alpha_4(
t),t)^2*s_4(t)*cos(beta_4(t))^2-diff(beta_4(t),t)^2*s_4(t)-.4144000000*diff(
beta_4(t),t)^2, diff(diff(s_3(t),t),t)-1.*sin(beta_3(t))*cos(alpha_3(t))*
lambda7(t)-1.*sin(beta_3(t))*sin(alpha_3(t))*lambda8(t)-1.*cos(beta_3(t))*
lambda9(t)+9.810000000*cos(beta_3(t))-.4144000000*diff(alpha_3(t),t)^2-28-3.0*
sin(4*Pi*t)-.4144000000*diff(beta_3(t),t)^2-diff(beta_3(t),t)^2*s_3(t)-diff(
alpha_3(t),t)^2*s_3(t)+1.*diff(alpha_3(t),t)^2*s_3(t)*cos(beta_3(t))^2+.4144000000*diff(alpha_3(t),t)^2*cos(beta_3(t))^2, diff(diff(s_2(t),t),t)-1.*sin(
beta_2(t))*cos(alpha_2(t))*lambda4(t)-1.*sin(beta_2(t))*sin(alpha_2(t))*
lambda5(t)-1.*cos(beta_2(t))*lambda6(t)-28-5.0*cos(2*Pi*t)+1.*diff(alpha_2(t),
t)^2*s_2(t)*cos(beta_2(t))^2-diff(beta_2(t),t)^2*s_2(t)-diff(alpha_2(t),t)^2*
s_2(t)+9.810000000*cos(beta_2(t))-.4144000000*diff(alpha_2(t),t)^2-.4144000000
*diff(beta_2(t),t)^2+.4144000000*diff(alpha_2(t),t)^2*cos(beta_2(t))^2, diff(
diff(s_1(t),t),t)-1.*sin(beta_1(t))*cos(alpha_1(t))*lambda1(t)-1.*sin(beta_1(t
))*sin(alpha_1(t))*lambda2(t)-1.*cos(beta_1(t))*lambda3(t)+1.*diff(alpha_1(t),
t)^2*s_1(t)*cos(beta_1(t))^2+.4144000000*diff(alpha_1(t),t)^2*cos(beta_1(t))^2
-diff(alpha_1(t),t)^2*s_1(t)-.4144000000*diff(alpha_1(t),t)^2-diff(beta_1(t),t
)^2*s_1(t)-.4144000000*diff(beta_1(t),t)^2+9.810000000*cos(beta_1(t))-28-5.0*
cos(2*Pi*t), 10*diff(diff(z_P(t),t),t)+lambda3(t)+lambda6(t)+lambda9(t)+
lambda12(t)+lambda15(t)+lambda18(t)+98.10000000}:
|
>
|
stICs := {D(alpha_5)(0) = 0, D(beta_5)(0) = 0, D(alpha_6)(0) = 0, D(beta_2)(0)
= 0, D(s_5)(0) = 0, D(beta_6)(0) = 0, D(s_6)(0) = 0, D(beta_3)(0) = 0, D(
zeta_P)(0) = 0, D(alpha_2)(0) = 0, D(eta_P)(0) = 0, D(x_P)(0) = 0, D(y_P)(0) =
0, D(alpha_3)(0) = 0, D(xi_P)(0) = 0, D(z_P)(0) = 0, x_P(0) = 0, y_P(0) = 0,
z_P(0) = 3, s_1(0) = 2.417104864, s_2(0) = 2.417104864, s_3(0) = 2.417104864,
s_4(0) = 2.417104864, s_5(0) = 2.417104864, s_6(0) = 2.417104864, D(alpha_4)(0
) = 0, D(s_1)(0) = 0, D(alpha_1)(0) = 0, D(s_2)(0) = 0, zeta_P(0) = 0, eta_P(0
) = 0, xi_P(0) = 0, alpha_1(0) = -1.417312476, beta_1(0) = .3917521166,
alpha_2(0) = 2.464510027, beta_2(0) = .3917521166, alpha_3(0) = 2.771477729,
beta_3(0) = .3917521166, alpha_4(0) = .3701149244, beta_4(0) = .3917521166,
alpha_5(0) = .6770826264, beta_5(0) = .3917521166, alpha_6(0) = -1.724280178,
beta_6(0) = .3917521166, D(s_3)(0) = 0, D(beta_4)(0) = 0, D(beta_1)(0) = 0, D(
s_4)(0) = 0}:
|
|
In Maple 10, this system could not be brought into the required DAE form and numerically solved in anything under an hour. Now however:
|
>
|
dsn := dsolve(stEQs union stICs, numeric, implicit=true):
|
| (49) |
|
|
DAE Efficiency
|
|
|
This example demonstrates that the DAE engine has also been made more efficient. This stiff DAE system is for a 10 weight multiple pendulum problem, where represent the position of the th weight as a function of time.
|
>
|
dsys := {diff(diff(x[1](t),t),t)+2*lambda[1](t)*x[1](t)+2*lambda[2](t)*(-x[2](t)+x[1](
t)), diff(diff(y[1](t),t),t)+49/5+2*lambda[1](t)*y[1](t)+2*lambda[2](t)*(-y[2]
(t)+y[1](t)), diff(diff(x[2](t),t),t)-2*lambda[2](t)*(-x[2](t)+x[1](t))+2*
lambda[3](t)*(-x[3](t)+x[2](t)), diff(diff(y[2](t),t),t)+49/5-2*lambda[2](t)*(
-y[2](t)+y[1](t))+2*lambda[3](t)*(-y[3](t)+y[2](t)), diff(diff(x[3](t),t),t)-2
*lambda[3](t)*(-x[3](t)+x[2](t))+2*lambda[4](t)*(-x[4](t)+x[3](t)), diff(diff(
y[3](t),t),t)+49/5-2*lambda[3](t)*(-y[3](t)+y[2](t))+2*lambda[4](t)*(-y[4](t)+
y[3](t)), diff(diff(x[4](t),t),t)-2*lambda[4](t)*(-x[4](t)+x[3](t))+2*lambda[5
](t)*(-x[5](t)+x[4](t)), diff(diff(y[4](t),t),t)+49/5-2*lambda[4](t)*(-y[4](t)
+y[3](t))+2*lambda[5](t)*(-y[5](t)+y[4](t)), diff(diff(x[5](t),t),t)-2*lambda[
5](t)*(-x[5](t)+x[4](t))+2*lambda[6](t)*(-x[6](t)+x[5](t)), diff(diff(y[5](t),
t),t)+49/5-2*lambda[5](t)*(-y[5](t)+y[4](t))+2*lambda[6](t)*(-y[6](t)+y[5](t))
, diff(diff(x[6](t),t),t)-2*lambda[6](t)*(-x[6](t)+x[5](t))+2*lambda[7](t)*(-x
[7](t)+x[6](t)), diff(diff(y[6](t),t),t)+49/5-2*lambda[6](t)*(-y[6](t)+y[5](t)
)+2*lambda[7](t)*(-y[7](t)+y[6](t)), diff(diff(x[7](t),t),t)+2*lambda[7](t)*(x
[7](t)-x[6](t))+2*lambda[8](t)*(-x[8](t)+x[7](t)), diff(diff(y[7](t),t),t)+49/
5+2*lambda[7](t)*(y[7](t)-y[6](t))+2*lambda[8](t)*(-y[8](t)+y[7](t)), diff(
diff(x[8](t),t),t)-2*lambda[8](t)*(-x[8](t)+x[7](t))+2*lambda[9](t)*(-x[9](t)+
x[8](t)), diff(diff(y[8](t),t),t)+49/5-2*lambda[8](t)*(-y[8](t)+y[7](t))+2*
lambda[9](t)*(-y[9](t)+y[8](t)), diff(diff(x[9](t),t),t)-2*lambda[9](t)*(-x[9]
(t)+x[8](t))+2*lambda[10](t)*(-x[10](t)+x[9](t)), diff(diff(y[9](t),t),t)+49/5
-2*lambda[9](t)*(-y[9](t)+y[8](t))+2*lambda[10](t)*(-y[10](t)+y[9](t)), diff(
diff(x[10](t),t),t)-2*lambda[10](t)*(-x[10](t)+x[9](t)), diff(diff(y[10](t),t)
,t)+49/5-2*lambda[10](t)*(-y[10](t)+y[9](t)), x[1](t)^2+y[1](t)^2-1, (x[2](t)-
x[1](t))^2+(y[2](t)-y[1](t))^2-1, (x[3](t)-x[2](t))^2+(y[3](t)-y[2](t))^2-1, (
x[4](t)-x[3](t))^2+(y[4](t)-y[3](t))^2-1, (x[5](t)-x[4](t))^2+(y[5](t)-y[4](t)
)^2-1, (x[6](t)-x[5](t))^2+(y[6](t)-y[5](t))^2-1, (x[7](t)-x[6](t))^2+(y[7](t)
-y[6](t))^2-1, (x[8](t)-x[7](t))^2+(y[8](t)-y[7](t))^2-1, (x[9](t)-x[8](t))^2+
(y[9](t)-y[8](t))^2-1, (x[10](t)-x[9](t))^2+(y[10](t)-y[9](t))^2-1,
x[1](0) = 1, x[2](0) = 2, x[3](0) = 3, x[4](0) = 4, x[5](0) = 5, x[6](0) = 6,
x[7](0) = 7, x[8](0) = 8, x[9](0) = 9, x[10](0) = 10, y[1](0) = 0, y[2](0) = 0
, y[3](0) = 0, y[4](0) = 0, y[5](0) = 0, y[6](0) = 0, y[7](0) = 0, y[8](0) = 0
, y[9](0) = 0, y[10](0) = 0, D(x[1])(0) = 0, D(x[2])(0) = 0, D(x[3])(0) = 0, D
(x[4])(0) = 0, D(x[5])(0) = 0, D(x[6])(0) = 0, D(x[7])(0) = 0, D(x[8])(0) = 0,
D(x[9])(0) = 0, D(x[10])(0) = 0, D(y[1])(0) = 0, D(y[2])(0) = 0, D(y[3])(0) =
0, D(y[4])(0) = 0, D(y[5])(0) = 0, D(y[6])(0) = 0, D(y[7])(0) = 0, D(y[8])(0)
= 0, D(y[9])(0) = 0, D(y[10])(0) = 0}:
|
>
|
dsn := dsolve(dsys,numeric,stiff=true,implicit=true);
|
| (51) |
|
which is less than half the time required in Maple 10.
|
|
|
|
|