Simple example of the DifferentialEquations`LdeApprox` package Copyright © 2004-2008 DigiArea Group All rights reserved. Description:
This notebook illustrates DifferentialEquations`LdeApprox` package capability of doing polynomial approximation of solution of simple LDE. First of all we load LdeApprox package and define simple IVP. Then we use ApproxSol procedure to find 7-th degree polynomial approximation for the IVP solution on interval x = [-h, h]. After that we find exact solution by Mathematica function DSolve . Finally we compare exact and approximate results using Mathematica function Plot3D. This loads the package.
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_1.gif]](prod/LdeApproxMath/simple/images/index_gr_1.gif)
This is a simple IVP with parameter ξ.
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_2.gif]](prod/LdeApproxMath/simple/images/index_gr_2.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_3.gif]](prod/LdeApproxMath/simple/images/index_gr_3.gif)
Finding polynomial approximation of the IVP solution on interval [-h,h].
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_4.gif]](prod/LdeApproxMath/simple/images/index_gr_4.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_5.gif]](prod/LdeApproxMath/simple/images/index_gr_5.gif)
Finding exact solution of the IVP using Mathematica function DSolve.
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_6.gif]](prod/LdeApproxMath/simple/images/index_gr_6.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_7.gif]](prod/LdeApproxMath/simple/images/index_gr_7.gif)
Comparing exact and approximate results for and ![[Graphics:prod/LdeApproxMath/simple/images/index_gr_9.gif]](prod/LdeApproxMath/simple/images/index_gr_9.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_10.gif]](prod/LdeApproxMath/simple/images/index_gr_10.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_11.gif]](prod/LdeApproxMath/simple/images/index_gr_11.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_12.gif]](prod/LdeApproxMath/simple/images/index_gr_12.gif)
Comparing exact and approximate results for using Mathematica function Plot3D.
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_14.gif]](prod/LdeApproxMath/simple/images/index_gr_14.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_15.gif]](prod/LdeApproxMath/simple/images/index_gr_15.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_16.gif]](prod/LdeApproxMath/simple/images/index_gr_16.gif)
Comparing exact and approximate results in point using Mathematica function Plot3D.
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_18.gif]](prod/LdeApproxMath/simple/images/index_gr_18.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_19.gif]](prod/LdeApproxMath/simple/images/index_gr_19.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_20.gif]](prod/LdeApproxMath/simple/images/index_gr_20.gif)
Comparing exact and approximate results for using Mathematica function Plot3D.
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_22.gif]](prod/LdeApproxMath/simple/images/index_gr_22.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_23.gif]](prod/LdeApproxMath/simple/images/index_gr_23.gif)
![[Graphics:prod/LdeApproxMath/simple/images/index_gr_24.gif]](prod/LdeApproxMath/simple/images/index_gr_24.gif)
Note: This trivial example is just for Web. You can try more complex examples in your computer. |