Symbolic examples of the AnalyticalApproximations`LdeApprox` package
Copyright © 2003-20011DigiArea, Inc.. All rights reserved.
This notebook illustrates AnalyticalApproximations`LdeApprox` package capability of doing symbolic polynomial approximation of an LDE solution.
This loads the package.
In[156]:=
![]()
Example 1
Simple boundary value problem.
In[157]:=
![]()
Out[157]=
![]()
Finding polynomial approximation for solution of the BVP.
In[158]:=
![]()
Out[158]=

Using Mathematica function DSolve to get exact solution of the BVP.
In[159]:=
![]()
Out[159]=
![]()
Comparing exact and approximate results using Mathematica function Plot3D.
In[160]:=
![]()
Out[160]=

Comparing exact and approximate results for ![]()
In[161]:=
![]()
Out[161]=

Example 2
Initial value problem.
In[162]:=
![]()
Out[162]=
![]()
Finding polynomial approximation for solution of the IVP.
In[163]:=
![]()
Out[163]=

Using Mathematica function DSolve to get exact solution of the IVP.
In[164]:=
![]()
Out[164]=
![]()
Comparing exact and approximate results using Mathematica function Plot3D.
In[165]:=
![]()
Out[165]=

Example 3
Boundary value problem.
In[166]:=
![]()
Out[166]=
![]()
Finding polynomial approximation for solution of the BVP.
In[167]:=
![]()
Out[167]=

Using Mathematica function DSolve to get exact solution of the BVP.
In[168]:=
![]()
Out[168]=
![]()
Comparing exact and approximate results for ![]()
In[169]:=
![]()
Out[169]=

Example 4
Boundary value problem.
In[170]:=
![]()
Out[170]=
![]()
Finding polynomial approximation for solution of the IVP.
In[171]:=
![]()
Out[171]=

Exact solution of the IVP.
In[172]:=
![]()
Out[172]=
![]()
Comparing exact and approximate results using Mathematica function Plot3D.
In[173]:=
![]()
Out[173]=

Comparing exact and approximate results for ![]()
In[174]:=
![]()
Out[174]=

Example 5
Boundary value problem.
In[175]:=
![]()
Out[175]=
![]()
Finding polynomial approximation for solution of the BVP.
In[176]:=
![]()
Out[176]=

Using Mathematica function DSolve to get exact solution of the BVP.
In[177]:=
![]()
Out[177]=

Comparing exact and approximate results using Mathematica function Plot3D.
In[178]:=
![]()
Out[178]=

Comparing exact and approximate results for ![]()
In[179]:=
![]()
Out[179]=

Example 6
Initial value problem.
In[180]:=
![]()
Out[180]=

Finding polynomial approximation for solution of the BVP.
In[181]:=
![]()
![]()
Out[181]=

Unfortunately DSolve can not find exact solution of the IVP.
In[182]:=
![]()
Nevertheless the exact solution is as follows.
In[183]:=
![]()
Out[183]=
![]()
Comparing exact and approximate results using Mathematica function Plot3D.
In[184]:=
![]()
Out[184]=

Example 7
Initial value problem.
In[185]:=
![]()
Out[185]=
![]()
Finding polynomial approximation for solution of the IVP.
In[186]:=
![]()
![]()
Out[186]=

Using Mathematica function DSolve to get exact solution of the IVP.
In[187]:=
![]()
Out[187]=
![]()
Comparing exact and approximate results for λ=1/2*(2*m+3) using Mathematica function Plot3D.
In[188]:=

Out[188]=

Comparing exact and approximate results using Mathematica function Plot3D.
In[189]:=
![]()
Out[189]=

In fact for λ= (2 m+3), λ= 2 (2 m+3), λ= 3 (2 m+3) the exact and approximate solutions are the same.
In[190]:=
![]()
Out[190]=
![]()
In[191]:=
![]()
Out[191]=
![]()
In[192]:=
![]()
Out[192]=
![]()
