FunctionAdvisor/asymptotic_expansion - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : FunctionAdvisor : FunctionAdvisor/asymptotic_expansion

FunctionAdvisor/asymptotic_expansion

return the asymptotic expansion of a given mathematical function

 Calling Sequence FunctionAdvisor(asymptotic_expansion, math_function)

Parameters

 asymptotic_expansion - literal name; 'asymptotic_expansion' math_function - Maple name of mathematical function

Description

 • The FunctionAdvisor(asymptotic_expansion, math_function) command returns the asymptotic expansion of the function, if possible.

Examples

 > FunctionAdvisor( asymptotic_expansion, arcsin );
 ${\mathrm{asympt}}{}\left({\mathrm{arcsin}}{}\left({z}\right){,}{z}{,}{4}\right){=}{-}{I}{}\left({\mathrm{ln}}{}\left({2}\right){+}\frac{{I}{}{\mathrm{\pi }}}{{2}}{+}{\mathrm{ln}}{}\left({z}\right)\right){+}\frac{{I}}{{4}{}{{z}}^{{2}}}{+}{\mathrm{O}}{}\left(\frac{{1}}{{{z}}^{{4}}}\right)$ (1)
 > FunctionAdvisor( asymptotic_expansion, erf );
 ${\mathrm{asympt}}{}\left({\mathrm{erf}}{}\left({z}\right){,}{z}{,}{4}\right){=}{1}{+}\frac{{-}\frac{{1}}{\sqrt{{\mathrm{\pi }}}{}{z}}{+}\frac{{1}}{{2}{}\sqrt{{\mathrm{\pi }}}{}{{z}}^{{3}}}{+}{\mathrm{O}}{}\left(\frac{{1}}{{{z}}^{{5}}}\right)}{{{ⅇ}}^{{{z}}^{{2}}}}$ (2)

The variables used by the FunctionAdvisor command to create the calling sequence are local variables. To make the FunctionAdvisor command use global variables, pass the actual function call instead of the function name. Compare the following two input and output groups.

 > FunctionAdvisor( asymptotic_expansion, FresnelS );
 ${\mathrm{asympt}}{}\left({\mathrm{FresnelS}}{}\left({z}\right){,}{z}{,}{4}\right){=}\frac{{1}}{{2}}{-}\frac{{\mathrm{cos}}{}\left(\frac{{\mathrm{\pi }}{}{{z}}^{{2}}}{{2}}\right)}{{\mathrm{\pi }}{}{z}}{-}\frac{{\mathrm{sin}}{}\left(\frac{{\mathrm{\pi }}{}{{z}}^{{2}}}{{2}}\right)}{{{\mathrm{\pi }}}^{{2}}{}{{z}}^{{3}}}{+}{\mathrm{O}}{}\left(\frac{{1}}{{{z}}^{{5}}}\right)$ (3)
 > has((3), z);
 ${\mathrm{false}}$ (4)
 > FunctionAdvisor( asymptotic_expansion, FresnelS(z) );
 ${\mathrm{asympt}}{}\left({\mathrm{FresnelS}}{}\left({z}\right){,}{z}{,}{4}\right){=}\frac{{1}}{{2}}{-}\frac{{\mathrm{cos}}{}\left(\frac{{\mathrm{\pi }}{}{{z}}^{{2}}}{{2}}\right)}{{\mathrm{\pi }}{}{z}}{-}\frac{{\mathrm{sin}}{}\left(\frac{{\mathrm{\pi }}{}{{z}}^{{2}}}{{2}}\right)}{{{\mathrm{\pi }}}^{{2}}{}{{z}}^{{3}}}{+}{\mathrm{O}}{}\left(\frac{{1}}{{{z}}^{{5}}}\right)$ (5)
 > has((5),z);
 ${\mathrm{true}}$ (6)

 See Also