>
|
|
The result was only the operator M. For an example where both M and r are obtained, consider:
>
|
|
| (3) |
>
|
|
| (4) |
Regarding the meaning of the second element in the output of integrate_sols, consider the following second order ODE and its solution.
>
|
|
| (5) |
>
|
|
| (6) |
The ODE satisfied by the integral of sol is given by the first element of the output of integrate_sols while the formula for computing its solution (as a function of sol) is given by the second element.
>
|
|
| (7) |
| (8) |
So the solution to ode2 is obtained by substituting sol into integral_of_sol.
>
|
|
| (9) |
>
|
|
That sol2 is the integral of sol can also be verified as follows: Differentiate sol2 and verify that it is equal to sol.
>
|
|