Example of a precision error:
Solution:
Use of Continuation:
Attempt to solve the following problem.
An error arises indicating that the initial Newton iteration does not converge.
To solve this problem, choose a continuation that increases the coefficient of the second order derivative of the equation for lambda=0, and gives the solution for lambda=1.
The 1/10 is present to make the initial solution close to the desired solution. Now apply dsolve with continuation.
The desired solution is obtained.
Use plots[odeplot](ds) to view the solution. It shows a boundary layer at x=0.
For the following problem
you cannot obtain the solution directly:
There is an easy solution of if the right boundary condition was , so use this as the continuation, and obtain a solution:
and with the following plot, there is a boundary layer in the second derivative of the solution at t=0