Digi Area Group - Math Tools for Professionals
   Maple and Mathematica packages - math tools for professionals

LdeApprox™  - analytical approximation methods for Mathematica™

> Features List & Examples
> License & Pricing
> Buy Online

 
 
 
 
Google

Description  |  Features List & Examples  |  Numeric Approx.  |  Symbolic Approx.  |  Function Approx.  |  References

  • Homogeneous BVP example of the DifferentialEquations`LdeApprox` package

    Copyright © 2004-2008 DigiArea Group All rights reserved.

    Description:
     
    This notebook illustrates DifferentialEquations`LdeApprox` package capability of working with BVPs. First of all we load LdeApprox package and define a BVP. Then we use ApproxSol procedure to find symbolic 3-rd degree polynomial approximation and numeric 5-rd degree polynomial approximation for the BVP solution on interval x = [0, Pi]. After that we find exact solution by Mathematica™ function DSolve. Finally we compare exact and approximate results using Mathematica™ functions Plot and Plot3D.
     

  • This loads the package.

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_1.gif]
  • This is simple homogenious BVP:

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_2.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_3.gif]
  • Using ApproxSol function to find 3-rd degree symbolic polynomial approximation of solutions of the BVP (Exact option is True by default).

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_4.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_5.gif]
  • Using ApproxSol function to find 5-th degree numeric polynomial approximation of solutions of the BVP (Exact -> False). As corresponding eigenvalue variable is not specified then it is determined automatically. Only 6 values of eigenvalue variable are available for 5-degree approximation.

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_6.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_7.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_8.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_9.gif]
  • One has to normalize the result to compare it with the exact solution.

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_10.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_11.gif]
  • The exact solution is as follows.

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_12.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_13.gif]
  • This is the normalized form of the exact solution.

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_14.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_15.gif]
  • Now one can compare the results.

  • For λ = 1

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_16.gif]

    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_17.gif]

    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_18.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_19.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_20.gif]
  • For λ = 4

  • [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_21.gif]

    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_22.gif]

    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_23.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_24.gif]
    [Graphics:prod/LdeApproxMath/hombvp/images/index_gr_25.gif]

    Note:

    The method applied in the package is numerically - analytical one. It means that you can use symbolic expressions as boundary conditions, interval of approximation etc. However these kind of examples leads to huge output so its not for Web. This reason force us to introduce simple example with one parameter only. You can try more complex examples in your computer.