Function: residue( expr, z, z_0 )

    • The residue is the coefficient of ( z - z_0 )^(-1) in the Laurent series for expr.

    Example:
        (%i ) residue(s/(s^2-A^2),s,A);
        (%o) 1/2

        (%i ) residue( s/( s^2 + A^2 ), s, A*%i );
        (%o ) 1/2

        (%i ) residue( sin(A*x)/x**4,x,0 );
        (%o ) -A^3/6

    See Also:
    • OCTAVE :: RESIDUE ... The Partial Fraction Expansion of Rational Function

    EXAMPLE: