ratpolytocoeff - Maple Help

# Online Help

###### All Products    Maple    MapleSim

gfun

 ratpolytocoeff
 compute the nth coefficient of a rational function

 Calling Sequence ratpolytocoeff(f, x, n)

Parameters

 f - rational function in x x - name; indeterminate in f n - name; index of the Taylor coefficients

Description

 • The ratpolytocoeff(f, x, n) command computes the expression for the nth coefficient of the Taylor expansion about the origin of f as a function of x.

Examples

 > $\mathrm{with}\left(\mathrm{gfun}\right):$
 > $\mathrm{ratpolytocoeff}\left(\frac{1}{1-x-{x}^{2}},x,n\right)$
 ${\sum }_{{\mathrm{_α}}{=}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{+}{\mathrm{_Z}}{-}{1}\right)}{}\left({-}\frac{\left({-}\frac{{2}{}{\mathrm{_α}}}{{5}}{-}\frac{{1}}{{5}}\right){}{{\mathrm{_α}}}^{{-}{n}}}{{\mathrm{_α}}}\right)$ (1)

 See Also